openclonk/planet/System.ocg
Sven Eberhardt ed2e56c3fa Fix Loc_Space and allow direction parameter instead of just horizontal/vertical.
The old implementation was buggy as it would disallow the location if it had too much space (and PathFree2 returns nil). It also doesn't make sense to ask for a location that has space in either direction of a dimension because the location is not automatically adjusted to lie at the center of that space. For example, it would effectively cause fish to spawn directly at walls sometimes.
2015-07-31 00:42:01 -04:00
..
Action.c Squelch varargs warnings in System.ocg 2014-12-12 23:27:17 +01:00
Array.c add RandomElement function to get a random element from an array 2015-07-20 18:11:16 +02:00
ClonkControl.c Squelch varargs warnings in System.ocg 2014-12-12 23:27:17 +01:00
Colors.c fix function HSLa(h,s,l,a) 2011-07-31 02:00:12 +02:00
Controls.c Added missing CON_PushENter to IsInteractionControl 2012-05-08 20:42:08 +02:00
Creation.c CastObjects: Array 2015-07-11 17:48:14 +02:00
Explode.c Fix DoExplosion from global context. 2015-07-09 01:03:34 -04:00
Fade.c added global functions FadeOut(int time, bool del) and FadeIn(int time) 2012-11-11 11:44:03 -08:00
FindLocation.c Fix Loc_Space and allow direction parameter instead of just horizontal/vertical. 2015-07-31 00:42:01 -04:00
FindObject.c Add Find_InArray (#1073). 2015-04-28 18:59:50 +02:00
Fire.c fix script error for the fire effect 2015-03-23 19:50:29 +01:00
FunctionOverview.txt Script: Remove unused OnBlastIncinerationDamage callback 2012-05-06 15:37:43 +02:00
GetXVal.c remove obsolete BuildTurnTo defcore entry 2015-05-11 21:47:55 +02:00
HitChecks.c Fix null pointer exception when objects are removed in response to a hit callback. 2014-10-03 21:57:38 +02:00
LanguageDE.txt Add /todo message board command. 2015-03-05 16:04:07 +01:00
LanguageUS.txt Add /todo message board command. 2015-03-05 16:04:07 +01:00
Material.c Fix pump to clear the last row of pixels (#1057) and allow pumping from pump without source pipe. 2015-05-01 18:13:41 +02:00
Math.c Added shape library. 2015-07-31 00:42:01 -04:00
MeshAnimation.c Add the Anim_RDir AVP 2014-10-09 17:11:13 -04:00
Names.txt Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
Object.c Different implementation of CreateObject() (#1214) 2015-01-13 21:03:27 +01:00
Particles.c Some missions fixes/adjustments 2014-09-21 16:36:05 +02:00
Player.c add global function to get players in a team 2015-06-01 18:52:58 +02:00
PlayerControl.c Fix nil pointer if a dragged object is deleted between control creation and control execution. 2014-10-18 01:22:47 +02:00
PlayerControls.txt (Re)implement text completion in dialogue text windows as an async control. Default to Space, i.e. MenuOK. 2014-08-10 20:58:26 +02:00
Proplists.c Added shape library. 2015-07-31 00:42:01 -04:00
SaveScenario.c Scenario saving: Concatenate multiple equal calls to CreateContents. 2015-01-18 14:28:10 +01:00
Schedule.c Fix a runtime error in DarkCastle 2013-10-25 17:32:53 +02:00
StringTblDE.txt (Re)implement text completion in dialogue text windows as an async control. Default to Space, i.e. MenuOK. 2014-08-10 20:58:26 +02:00
StringTblUS.txt (Re)implement text completion in dialogue text windows as an async control. Default to Space, i.e. MenuOK. 2014-08-10 20:58:26 +02:00
Time.c Convenient wrapper for Environment_Time: HasDayNightCycle, SetTime, GetTime, IsDay, IsNight 2015-07-23 12:58:19 +02:00
Version.txt increase game content version entries to 6.0 2014-12-12 22:58:16 +01:00
Vertices.c Resorted the functions from C4.c, Commits.c amd Helpers.c 2012-04-03 01:55:55 +01:00