Clonkonaut
0108c6667c
Made invincible beings (MakeInvincible) immune from shockwaves, windbags and throwing stuff at them.
2015-12-16 23:15:22 +01:00
David Dormagen
dcfb986e34
moved sounds into subfolders
...
This completes http://forum.openclonk.org/topic_show.pl?tid=3215
2015-12-13 22:14:55 +01:00
Clonkonaut
aadbe20f5c
Fixed null pointer error in growth effect.
...
When using negative values for growing (shrinking).
2015-09-17 23:56:44 +02:00
Sven Eberhardt
30a8ef7f0e
Store allow_fire parameter of invincibility effect.
2015-09-16 23:30:23 -04:00
Sven Eberhardt
188b79cd7a
MakeInvincible includes MakeNonFlammable by default.
...
It was always either used in conjunction or forgotten. If someone wants invincibility while still allowing fire (e.g. an unkillable fire golem), there's now a parameter to allow it.
2015-09-14 22:25:27 -04:00
David Dormagen
ac738735b2
Merge branch 'master' into Controls
...
Conflicts:
planet/Objects.ocd/Vehicles.ocd/Airplane.ocd/Script.c
src/game/C4Game.cpp
src/game/C4GraphicsSystem.cpp
src/gamescript/C4GameScript.cpp
2015-09-02 08:19:34 +02:00
Sven Eberhardt
44a396497c
Fix tree growth in skylands scenario ( #750 ) and rework alt tree texture.
...
Tree growth now implemented using an overload of the grwoth function. Also made the alternate tree skin in skylands a bit more colorful
2015-08-27 23:29:06 -04:00
Maikel de Vries
80c7dbe674
add functions to correctly retrieve the object's current shape
2015-06-08 21:06:18 +02:00
Mark
f9369f9eb4
Different implementation of CreateObject() ( #1214 )
...
CreateObject() now does not reposition an object after it has been created, but rather grows it around the center of said object.
To that end a new parameter has been added to DoCon() and SetCon() and the documentation has been updated.
2015-01-13 21:03:27 +01:00
Mark
850bf1b9d4
CreateObject/CreateObjectAbove ( #1214 )
...
Renamed CreateObject() to CreateObjectAbove() and replaced all occurrences in script files.
Added CreateObject(), the function may need a rewrite though, see comment in code.
Updated documentation
2015-01-11 19:02:03 +01:00
Nicolas Hake
6c2995fe41
Squelch varargs warnings in System.ocg
...
The engine (extra)warns whenever you use Par() or ... inside of a
function that is not declared as taking a variable number of arguments.
Change the declaration of all System.ocg varargs functions so it is
immediately obvious.
2014-12-12 23:27:17 +01:00
Sven Eberhardt
5cd9b915b0
Added some dialogue functions and speaker portraits. UpdatedAddMenuItem and CustomMessage to allow more customization for picture graphics.
...
I would prefer to render the models for speaker portraits directly. However, it seems like it's not currently possible to clip or render models to offscreen surfaces.
2014-07-05 15:25:30 +02:00
David Dormagen
ae0a364587
Musket shots now exit at the correct position
...
Launch() of the bullet now has offset parameters
LaunchProjectile() now only calculates own offset if none was passed to the function
2013-05-24 20:45:32 +02:00
Charles Spurrill
6ea36b5efb
GetObjAlpha function added, to be consistent with SetObjAlpha
2012-11-11 12:43:20 -08:00
Charles Spurrill
e019cd5655
Added missing 'MoveTowards' function in Math.c and upgraded LaunchProjectile func
2012-08-09 17:37:53 -07:00
David Dormagen
80d94966bc
added better documentation to some System.ocg functions
2012-06-05 22:51:09 +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
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
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
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