Maikel de Vries
6e55dce1e5
Added Invincible and NonFlammable effects for NPCs, etc.
...
Also applied that to Crash.ocs NPCs
2012-03-18 13:16:25 +01:00
Bernhard Bonigl
80070b1b46
Merged default into Controls
2012-03-10 19:14:29 +01:00
Bernhard Bonigl
4c6b374dd7
Removed Interact = GrabNext. Use Actionbar-Hotkeys/Mouse for that.
...
If something is grabbed, it'll always be ungrabbed by pressing Space now.
2012-03-09 23:10:18 +01:00
Bernhard Bonigl
44ceefae9a
Down+Space now Ungrabs if something is grabbed
2012-02-28 20:44:10 +01:00
Julius Michaelis
cb6eb060cc
Add a dialogue for windows which can be displayed when the graphics engine initialisation failed
...
The dialogue has fields for resolution and a checkbox for fullscreen mode
2012-02-28 18:28:16 +01:00
Bernhard Bonigl
6dddb26b8e
Fixed InteractionHotkey not beeing prioritized
2012-02-28 14:30:32 +01:00
Bernhard Bonigl
b8b4ee03f8
Changed Shift+Hotkey to Space+Hotkey for Interaction
...
Space now interacts on release instead of press
Shift now works as a drop/throw modifier
Shift+Hotkey now drops that inventory slot
Non-Forced Throws/Drops (without Shift) now automatically select the next non-selected non-free Slot
2012-02-27 16:24:34 +01:00
Bernhard Bonigl
db53603396
Hotkeys select the item at release now
...
Holding hotkey + left/right mouse button selects it into the corresponding hand
2012-02-26 16:19:52 +01:00
Bernhard Bonigl
a0e9ef1406
Fixed Actionbar-Hotkeys not working (Shift+(1-0))
2012-02-26 14:26:23 +01:00
Bernhard Bonigl
5587ed0618
Backback and Hands share one Inventory now
...
New Inventory Display at the left side
Inventory fades out if not locked
Inventory fades in if something changes, or mouse hovers there
Left/Right Mouse Click on an Inventory-Slot selects it for the corresponding hand
Icons to show which Slot is selected by left/right hand
Inventory can be reordered via Drag&Drop
Dragging an Item from a Slot onto the Landscape drops it
Changed Shift+Number to Ctrl+Number for selecting crew
Changed Number to Shift+Number for using Action-Bar
Changed Number to select inventory-slots now
2012-02-26 01:48:58 +01:00
Bernhard Bonigl
2a5c129c93
Implemented MouseHover-Callback.
...
Calls OnMouseOver(player, draggedObject) in Objects beeing hovered over.
Calls OnMouseOut(player, draggedObject) in Objects that stop beeing hovered over.
2012-02-26 01:36:38 +01:00
Bernhard Bonigl
3c785cbee3
Added MovePosition(x,y,precision), which moves an object by x/y.
2012-02-26 01:34:56 +01:00
David Dormagen
e0fa05418c
added more array helper functions
2012-02-25 21:58:05 +01:00
Felix Wagner
eb6b7be7ee
Fixed various unused vars
2012-02-20 11:58:58 +00:00
Maikel de Vries
c68b5b2920
Menus: implemented closing when clicked in the landscape
2012-02-01 22:29:49 +01:00
Felix Wagner
d468862159
Player options dialogue, let the player choose a clonk skin
2012-01-29 02:16:22 +00:00
Günther Brammer
a667e0beb6
Remove duplicated functions from GetXVal.c
2012-01-25 00:36:52 +01:00
Felix Wagner
1cc5f78171
No more messages from burning objects
2012-01-11 02:03:09 +00:00
Maikel de Vries
b2f723c4e1
Removed obsolete ShowNeededMaterial
...
We want to get rid off the old menus(including MessageWindow), also fixed a stupid ctrl+v mistake
2012-01-02 13:48:51 +01:00
David Dormagen
2c2cc44b15
GoldSeller library added (used by flag to autosell gold/valuables)
...
Cash sound added
2011-12-29 16:06:12 +01:00
David Dormagen
980f953da4
helper function IsAllied (counterpart to IsHostile, with NO_OWNER check)
2011-12-28 18:56:32 +01:00
Maikel de Vries
85cbefe808
Content menu can now handle the clonk's backpack
...
Also did some cleanup
2011-12-28 11:49:38 +01:00
Tobias Zwick
1f00badc57
fixed runtime errors in contents menu controller
2011-12-11 19:58:40 +01:00
Maikel de Vries
f47749c771
Content menu: fixed d&d, added background image
2011-12-11 15:50:51 +01:00
Tobias Zwick
4645592fb6
implement d&d in contentsmenu
2011-12-08 23:04:36 +01:00
Tobias Zwick
34e9c3bc8b
fixed more errors, put the array helper functions into the system.ocg
2011-12-08 20:50:00 +01:00
Tobias Zwick
682e59ac2d
preliminary commit of content menus
2011-12-08 19:57:14 +01:00
Tobias Zwick
e2d1eb2d9f
new control: E for show/hide contents menus
2011-11-20 23:09:47 +01:00
Tobias Zwick
e7ff632fd6
added method that returns stacked contents of an object
2011-11-20 20:26:14 +01:00
Sven Eberhardt
c287c093cc
PlayerControl: Mouse coordinate space (viewport vs landscape) is now a control property; not an assignment property.
...
This is in preparation for proper custom control assignments
2011-11-20 21:49:38 +01:00
Günther Brammer
3c41310fa3
Remove C4ConfigShareware to reduce OpenSSL dependency
2011-11-02 00:07:29 +01:00
Nicolas Hake
7c34fa9121
Replace RGB player color selection with an HSV chooser ( #679 )
2011-10-30 20:43:45 +01:00
Maikel de Vries
4f6ee17884
Objects: Weapons are armory products
...
Also boolean functions should return booleans
2011-10-14 00:03:55 +02:00
Felix Wagner
610940ceb8
Version corrected
2011-10-13 00:43:16 +01:00
Julius Michaelis
0f12b3485e
Find sounds with all extensions instead of only wav, so Sound() does no longer require .ogg extensions
...
Do not replace * with ? in sound name wildcards anymore, adjust scripts
2011-10-12 23:09:22 +02:00
Felix Wagner
5258b47ce6
+StonyObjectHit, different sounds for soft/hard hit or just sliding
2011-10-08 17:12:19 +01:00
Charles Spurrill
238cb6a0c2
Added Iron Bomb (grenade). Modified Explode.c to allow custom exlosion sounds
2011-10-06 06:02:36 -07:00
Felix Wagner
67a9708720
+ HasCNAT() in Commits.c, prevent endless loop in plant
2011-10-05 04:47:07 +01:00
Charles Spurrill
9f27a89912
SetVelocity can now set speed and/or angle of velocity vector
2011-09-30 22:28:01 -07:00
Günther Brammer
4bf663c792
Remove unused Landscape.NoSky from the Scenario.txt
2011-09-24 18:17:48 +02:00
Charles Spurrill
69369aa59e
Blast sounds different under water (or any liquid)
2011-10-01 09:23:44 -07:00
Tobias Zwick
9d67bf366e
docs: documented FatalError
2011-09-18 18:16:49 +02:00
David Dormagen
a5e24c3b2f
fix to GetTurnDirection()
2011-09-18 10:57:02 +02:00
Tobias Zwick
638bf42cb7
object-context security check for Explode(int level)
2011-09-12 22:30:34 +02:00
Tobias Zwick
da10451031
chat: removed notice from RWD, /help is now correctly displayed in the chat
...
+ sideeffect: if someone uses "|" in the chat, it will be interpreted as a newline by the irc chat client
2011-09-10 21:05:21 +02:00
Julius Michaelis
f389ee0781
Removed CheckVisibility from Commits.c and made the engine function C4Object::IsVisible available instead.
2011-09-05 13:51:34 +00:00
Tobias Zwick
c2cefe2e4f
new control: collect (into backpack)
2011-08-11 16:37:46 +02:00
Tobias Zwick
ecd6de1d65
refactor: schedulecalls without object can now be made from object context
...
(parameter obj is not automatically filled with this if nil)
2011-07-31 19:27:26 +02:00
Tobias Zwick
480ff384f8
refactored most effects to use meaningful names for their variables
2011-07-31 17:59:51 +02:00
Tobias Zwick
92069bb2f8
removed undocumented ~GetCustomComponents callback and the involved hackery
2011-07-31 02:22:29 +02:00
Tobias Zwick
d43ace0110
fix function HSLa(h,s,l,a)
2011-07-31 02:00:12 +02:00
Maikel de Vries
d550f7c7da
Differentiate between COMD_None and COMD_Stop
...
Was necessary after 267ebb600481 and current abuse of FLOAT procedure. None keeps the current motion, Stop halts the current motion of a procedure.
2011-07-06 18:13:39 +02:00
Maikel de Vries
eb530c6017
Removed Defcore:Prey and OCF_Prey
...
Had no use in the engine, should therefore be defined in C4Script if deemed necessary.
2011-07-05 13:40:40 +02:00
Maikel de Vries
248f85c2eb
Removed Defcore:Edible and OCF_Edible
...
Had no use in the engine, should therefore be defined in C4Script if deemed necessary.
2011-07-05 13:10:56 +02:00
Tobias Zwick
6278b91c83
BlastObjects - if cause_plr not specified, try calling object
2011-07-03 03:59:48 +02:00
David Dormagen
53e743b4d0
first version of flagpole and flag-libraries added
2011-06-18 15:22:34 +02:00
Charles Spurrill
806ea2cf4f
Fixed water jump
2011-06-04 14:07:02 -07:00
Charles Spurrill
b7bc9bc755
Clonk can jump off walls (with new animation).
2011-06-03 12:11:23 -07:00
Günther Brammer
3c943479ab
editor: File/Save creates a savegame when the original scenario was one
2011-05-15 19:38:47 +02:00
Maikel de Vries
971b330288
Objects: Removed superfluous parameters in function calls
...
Caused a few warnings recently.
2011-05-12 17:01:54 +02:00
Günther Brammer
bbaf1c2c06
Empty Scenario.txt produce a more helpful error message
2011-05-03 00:57:35 +02:00
David Dormagen
a9b5fc9c95
fix
2011-04-14 18:23:09 +02:00
Günther Brammer
9b3afcef04
Remove IDS_LANG_CHARSET and supporting code, everything is in UTF-8 now
2011-04-09 02:51:57 +02:00
Sven Eberhardt
b01cddc560
control config dialog improvements
2011-03-31 16:26:59 +02:00
David Dormagen
a38de1ecd0
Extinguish() fix
2011-03-16 10:12:09 +01:00
Armin Burgmeier
41a1b5867d
Change .c4g extension to .ocg
2011-03-13 16:16:45 +01:00