Nicolas Hake
faf0006a6f
Win32: Improve error reporting when changing resolution
2012-08-28 00:00:29 +02:00
Charles Spurrill
e019cd5655
Added missing 'MoveTowards' function in Math.c and upgraded LaunchProjectile func
2012-08-09 17:37:53 -07:00
Günther Brammer
35a0d7b6cd
Script: Get/SetGravity use 1/100 px/tick^2 instead of 1/500
...
The old factor was chosen because the default gravity * 500 was exactly
100. But a lot of other engine interfaces use 1/100 px/tick or px/tick^2,
and that is a common scale for scripts to work in, too.
2012-07-15 22:42:17 +02:00
David Dormagen
fb7151db7d
added RemoveTimer() function as counterpart to AddTimer()
2012-06-24 20:37:28 +02:00
Felix Wagner
d4fa3e10f3
Added settings parameter to plants' default Place()
2012-06-07 18:29:00 +01:00
Felix Wagner
0e5f0b28f2
+ PlaceForest()
2012-06-07 01:45:49 +01:00
David Dormagen
80d94966bc
added better documentation to some System.ocg functions
2012-06-05 22:51:09 +02:00
David Dormagen
15e29fcfd8
added very simple framework for the creation of purely visual environment objects + not-implemented-zicadas
2012-06-05 22:31:58 +02:00
Maikel de Vries
c4bb9e6999
Stop fire sound if object stopped burning (real fix)
2012-05-12 14:42:20 +02:00
Maikel de Vries
797837712b
Stop fire sound if object stopped burning
2012-05-12 14:07:55 +02:00
Felix Wagner
63be80a1f8
+ Fire sound
2012-05-11 18:32:21 +01:00
Felix Wagner
f07359e4b1
Fixed ClearScheduleCall (causing #770 )
2012-05-11 16:31:47 +01:00
Bernhard Bonigl
a5adc8c2ad
Added missing CON_PushENter to IsInteractionControl
2012-05-08 20:42:08 +02:00
Bernhard Bonigl
3893fea82f
Added Helper-Functions that categorize Controls
2012-05-07 20:34:28 +02:00
Günther Brammer
099cd15e56
Script: Remove unused OnBlastIncinerationDamage callback
...
Scenarios that want to override the default behaviour of BlastObject should
overload the BlastObject function itself. Objects can simply use the Damage
callback and/or set BlastIncinerate to nil.
2012-05-06 15:37:43 +02:00
Bernhard Bonigl
c87d5d4435
Fixed incorrect GetPosition parameters
2012-05-06 18:10:36 +02:00
Bernhard Bonigl
dce8e579d3
Added InFrontOf(object). Returns if the midpoint of the calling object is in front of the other object.
2012-05-06 18:10:16 +02:00
Maikel de Vries
6fcc0f6d2e
Removed TimerCall in favour of AddTimer script implementation
2012-05-05 12:09:44 +02:00
Maikel de Vries
90ee070f33
Cleaned up Fire.c a bit
2012-05-01 20:50:21 +02:00
Maikel de Vries
4a56f8d7c1
Replaced defcore values related to fire with properties
2012-04-28 16:17:38 +02:00
Maikel de Vries
8188793d67
Implemented Sign function (Math.c)
2012-04-28 09:32:42 +02:00
Maikel de Vries
b36e10b8dc
Barrel spray extinguishes burning objects
2012-04-23 22:48:41 +02:00
Maikel de Vries
45905c013d
Prevent dead corpses from burning
...
Eternal fires appear for C4D_Living && !GetAlive() && NoBurnDecay.
2012-04-22 15:15:04 +02:00
Maikel de Vries
3768206cc6
Contact incineration in Fire effect takes into account containers and layers
...
This was already in the engine before(at least the containers), and makes much more sense.
However, it's useful to think about how ClosedContainers and Extinguish should work.
2012-04-22 13:08:54 +02:00
Armin Burgmeier
90dc9abbcd
Add Anim_R as a AVP for mesh animations
2012-04-22 00:22:05 +02:00
Bernhard Bonigl
4c38caaf27
Merged default into Controls
2012-04-17 17:37:52 +02:00
Bernhard Bonigl
657782cfb6
Fixed Conifers changing rotation on 100 Con instead on construction
...
StartGrowth now applies a random time-offset so trees don't grow simultanously.
2012-04-17 14:06:40 +02:00
Maikel de Vries
16fa9cf341
Placement is now a property instead of DefCore value
2012-04-16 22:17:05 +02:00
Felix Wagner
d973636cf8
+ GetCalcDir() - returns -1 for DIR_Left, 1 for DIR_Right
2012-04-16 16:30:20 +01:00
Bernhard Bonigl
1dfc41042a
Added helper function GetPosition
2012-04-15 16:14:29 +02:00
Bernhard Bonigl
219bceefcd
Added Helper-Functions returning the left/right/top/bottom Edge of an object
2012-04-14 23:36:54 +02:00
Bernhard Bonigl
0d53a16a21
Backed out changeset: b48412700d66
2012-04-14 15:38:18 +02:00
Martin Plicht
a4194c22e9
Replace 0 with nil wherever string/object/array is expected
2012-04-12 11:48:23 +02:00
David Dormagen
fc0a9f1630
fire damage to living objects doubled
...
incendiary material (lava) burns you twice as fast
2012-04-10 23:28:41 +02:00
Julius Michaelis
a07ef70acf
Use array slice operator in Array.c
...
There is no Easter egg hidden in this commit message :Þ
2012-04-08 16:22:43 +02:00
Maikel de Vries
35f8d6a454
Removed Goal.c and reimplemented effect in Goal library
2012-04-03 20:21:49 +02:00
Maikel de Vries
7b8800356a
Removed Precipitation from engine
...
Will be implemented through clouds and definition calls.
2012-04-01 23:03:52 +02:00
Felix Wagner
caee67e9cd
Function list for System.ocg
2012-04-03 03:00:18 +01:00
Felix Wagner
bf795164f2
Resolved all warnings due to global function in included scripts.
2012-04-03 02:12:44 +01:00
Felix Wagner
6e303c4e2c
Resorted the functions from C4.c, Commits.c amd Helpers.c
2012-04-03 01:55:55 +01:00
Benjamin Herr
cdaee93c94
Rename all the drag/drop script callbacks to OnMouseDr*
...
MouseDrag is already a property, and would overwrite the callback
functions. Renamed MouseDragDone and MouseDrop for consistency.
2012-04-01 20:42:14 +02:00
Bernhard Bonigl
cc4b1ce763
Cleaned up controls. Controls-Dialogue should be more usable now.
2012-04-01 19:27:42 +02:00
Maikel de Vries
2da24e0ca3
MenuOK is now on Return
...
This was already in the comments and it makes much more sense, cause it interferes with interact (Space)
2012-03-31 14:19:39 +02:00
David Dormagen
3788bada43
plants will now stop growing for ten seconds after taking damage
2012-03-24 16:18:55 +01:00
Bernhard Bonigl
25fec934d6
Removed all Hacks with Interaction. Enter/Exit also works now.
2012-03-22 20:26:06 +01:00
Bernhard Bonigl
03729bdbf1
Experimental: Added Interaction-Hotkeys on <> to . (the row below the home row).
...
Made the Keys <> on German Keyboards an \| and ;: on US Keyboards usable
2012-03-21 21:52:32 +01:00
Bernhard Bonigl
3a7bc44da8
Experimental: Added Alt+# for rigth hand
2012-03-21 18:13:34 +01:00
Martin Plicht
e7878038c8
mac: Use standard localization facility for addon installation dialogs + put addons into preferred installation location (Library/Application Support)
2011-10-16 16:09:05 +02:00
Bernhard Bonigl
4c01b585d9
Removed dropping on Down+Mouse
2012-03-20 00:48:29 +01:00
Bernhard Bonigl
01c004b65b
Merged Controls into default
2012-03-18 22:07:58 +01:00