Commit Graph

148 Commits (0b45ac83cf6b5829d6158e51f37f0d6d4022bd69)

Author SHA1 Message Date
Nicolas Hake 016f626cbe planet: Normalize line endings 2013-01-13 19:00:12 +01:00
Tobias Zwick 28e2bdbb92 fix #724: revers the order in which GetCrew(plr,index) returns the crew 2013-01-13 15:45:51 +01:00
David Dormagen 7ba10ca3cf added IsPointInRectangle(point, rectangle) to System.ocg/Math.c 2013-01-12 18:15:51 +01:00
David Dormagen 1cd7ffec6a added a FindLocation function in System.ocg/FindLocation.c 2013-01-12 18:15:50 +01:00
Sven Eberhardt 58ea47a4fd Added support for function pointers to ScheduleCall/AddTimer/ClearScheduleCall/RemoveTimer 2013-01-02 00:50:01 +01:00
David Dormagen 4dcc784d35 do not pass controls to disabled cursor anymore (i.e. via SetCrewEnabled) 2012-12-22 17:11:06 +01:00
Charles Spurrill 6ea36b5efb GetObjAlpha function added, to be consistent with SetObjAlpha 2012-11-11 12:43:20 -08:00
Charles Spurrill 9f867db1dc added global functions FadeOut(int time, bool del) and FadeIn(int time) 2012-11-11 11:44:03 -08:00
David Dormagen 70bdc02ad4 burning objects do not incinerate in or into containers anymore; adjusted fire spreading a bit 2012-10-24 00:42:05 +02:00
Russell 5782557a34 Clonk. Now with 65% better grammar. 2012-10-22 18:35:06 +01:00
Maikel de Vries c6dfd21172 Fixed a few C4Script runtime errors 2012-10-22 20:24:57 +02:00
Tobias Zwick eb1d2e6e18 remove description from goal in the game over dialog 2012-10-20 18:07:43 +02:00
Armin Burgmeier b4aafdd874 Remove build number aka C4XVER4 2012-10-18 23:54:50 +02:00
David Dormagen 2631e05daa added burned graphics for the Coniferous 2012-10-14 21:51:21 +02:00
Julius Michaelis 8d2c6ca599 Fix language strings for IDS_MSG_FULLSCREEN_DESC 2012-10-14 19:13:02 +02:00
Felix Wagner b71efe70b3 Moved FindHeight to System.ocg/Math.c 2012-10-14 15:45:20 +02:00
Tobias Zwick 63fcec3e8c fix controls: interact + down = ungrab doesn't work as intended:
confusing situations can arise, e.g. while shoving a tree, one can use the foundry
2012-10-14 13:26:30 +02:00
Tobias Zwick 2a228b11ed remove non-existing control def 2012-10-14 01:20:52 +02:00
Tobias Zwick c51ffb5a26 fix descriptions in control dialog 2012-10-14 01:04:49 +02:00
Maikel de Vries 3be05409de Change the forest creation in GoldRush a bit 2012-10-13 18:57:02 +02:00
Tobias Zwick 48a7fc7968 make highres landscape default 2012-10-13 18:41:25 +02:00
Armin Burgmeier cf159068b3 Fix warning about undefined backspace key on Linux 2012-10-13 16:15:01 +02:00
Tobias Zwick 8c5005bef9 I hate Mercurial 2012-10-10 23:47:30 +02:00
Tobias Zwick d46840c90f player controls cleaned up + localization 2012-10-10 23:33:51 +02:00
Bernhard Bonigl 9a91a4dfca Reduce Collect-Priority by 1. This fixes collecting when jumping. 2012-10-10 16:38:33 +02:00
Sven Eberhardt 08b495e43d PlayerControls: When the user changes a key assignment in his local config, all derived key assignments (Key=CON_*) change as well (#807).
The "CON_" prefix is now mandatory when referencing other key assignments. Updated PlayerControls.txt to reflect that.
2012-10-08 20:45:04 +02:00
Tobias Zwick ba1a2cbdad add missing strings for localisation of controls definition dialogue 2012-10-07 18:45:50 +02:00
Tobias Zwick f296f31c62 add script that automatically removes unused strings from LanguageXX.txt in the System.ocg and executed it once 2012-10-07 15:27:30 +02:00
Tobias Zwick 28e30294b1 adapted some strings for open clonk 2012-10-05 00:09:33 +02:00
Tobias Zwick b5d0af513a remove splash video and option for it 2012-10-02 23:02:52 +02:00
Julius Michaelis 023aa90c0e Add config option for automatic windowed/fullscreen switching 2012-09-29 23:49:30 +02:00
Günther Brammer cc25878ba6 Default to not changing the resolution
1. We receive bugreports that changing the resolution doesn't work, but
can't reproduce that
2. Flat screens look best at their natural resolution
2012-08-19 20:59:01 +02:00
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