Commit Graph

4272 Commits (bf8ae0f0e9551661648a30ecf1987860495ea016)
 

Author SHA1 Message Date
Charles Spurrill bf8ae0f0e9 Steampunk's eyelids work now 2012-04-30 06:36:43 -07:00
Bernhard Bonigl a3c0c85b1a Don't divejump during aiming 2012-04-29 18:12:04 +02:00
Bernhard Bonigl c576a7bd3f Allow turning while jumping during aiming 2012-04-29 18:09:37 +02:00
Maikel de Vries 5da0847a9a Materials inside the construction site don't burn due to incendiary materials 2012-04-29 16:57:38 +02:00
Maikel de Vries da4c683a03 Don't perform scripts after removing an object 2012-04-29 16:56:40 +02:00
Günther Brammer 133e987902 Script: Throw instead of silently using nil for this after RemoveObject 2012-04-29 16:53:29 +02:00
David Dormagen cd8f978b28 fixed KingOfTheHill-goal InitializePlayer() 2012-04-29 16:27:26 +02:00
Bernhard Bonigl 5ae4496d7f Clonk now aborts usage if a related inventory-slot is changed. (e.g. when aiming the bow) 2012-04-29 16:26:32 +02:00
Bernhard Bonigl 8c9536c197 Chests are interactable now 2012-04-29 15:29:10 +02:00
Bernhard Bonigl 38235f762a CarryHeavy doesn't play animation if clonk is inside 2012-04-29 15:05:41 +02:00
Bernhard Bonigl 56809d9e43 Fixed a carryheavy-bug with Collect(x,x, pos) 2012-04-29 15:05:29 +02:00
Bernhard Bonigl 54ec5629cd LastManStanding RelaunchContainer can only contain 1 clonk now 2012-04-29 15:04:37 +02:00
Maikel de Vries f6534bdfdb Prevent selecting more than one item in weapon menu 2012-04-29 14:03:20 +02:00
Maikel de Vries f647f211af Fixed flag meshes in Frozen Fortress and Hideout (#758) 2012-04-29 13:50:30 +02:00
Maikel de Vries 37b5bb9c6d Clonk closes eyes on death (#752) 2012-04-29 13:27:50 +02:00
Maikel de Vries 70c6e8bf5e Don't pass this as a command target to global effects in mountain melee 2012-04-29 13:21:07 +02:00
Maikel de Vries 06af685e01 Fixed runtime error for boomattack in guardian of windmills
Check stuff when you change the engine behaviour of RemoveObject!
2012-04-29 12:09:12 +02:00
Maikel de Vries 443069ac75 Don't pass this as a command target to global effects in scenarios
Just don't!
2012-04-29 11:50:23 +02:00
Maikel de Vries 7857da2c50 Check object rather than def for fire related properties 2012-04-29 10:21:16 +02:00
Julius Michaelis 8dfeb8dfc2 Settlement Tutorial: Add lost binary files + minor fixes 2012-04-29 00:30:29 +02:00
Julius Michaelis 95ef462a10 Once upon a time... Settlement Tutorial! 2012-04-28 23:52:50 +02:00
Felix Wagner e1ad8bf24f Fixed $UsageHelp$ in Seeds.ocd 2012-04-28 19:31:25 +01:00
Günther Brammer 2e9ae057ad Remove obsolete assertion from FnTranslate (#746)
The rules for ctx->Obj and ctx->Def changed recently. The latter is now the
real this pointer, and Obj is Def->GetObject(). There's no need to check
this in FnTranslate.
2012-04-28 20:25:04 +02:00
Günther Brammer 1995b59adc win32: C4Window::SetSize calls AdjustWindowRectEx, GUI::Dialog doesn't need to 2012-04-28 15:09:35 +02:00
Günther Brammer 1a29f8625d Reorder engine source file organization a bit
This mostly consists of flattening the hierarchy, splitting the
graphics stuff out of platform, and a few smaller cleanups.
2012-04-27 19:04:43 +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 e0eca72b50 Implemented volcano
Still needs some work though on different areas (sounds)
2012-04-28 13:18:27 +02:00
Maikel de Vries e01b6e3954 Loam can now be used only in multiples of 30 degrees
This needs some testing and feedback, angle less than 30 do not make sense imo but 45 degrees maybe preferred.
2012-04-28 09:33:40 +02:00
Maikel de Vries 8188793d67 Implemented Sign function (Math.c) 2012-04-28 09:32:42 +02:00
Bernhard Bonigl cd31b0e6e4 Forgot Debuglog. :( 2012-04-24 22:31:01 +02:00
Bernhard Bonigl 1f02f8490c Health-Change-Effect on the CrewSelector
Crewselector shows liquid-color as background if underwater (instead of blue)
2012-04-24 22:22:06 +02:00
Bernhard Bonigl cf796d0912 Crewselector has blue background if Clonk underwater 2012-04-23 23:33:19 +02:00
Bernhard Bonigl 981ce396ec Made ConstructionSite less filled. 2012-04-23 23:19:52 +02:00
Bernhard Bonigl 3989baedbd Added border for CrewSelectors + Selection highlighting 2012-04-23 21:57:08 +02:00
Bernhard Bonigl 83ad05b3c0 GUI now takes inventory-size directly from the clonk.
Renamed backpack-stuff to inventory in Controller.
2012-04-23 21:07:11 +02:00
Bernhard Bonigl 105e4bcee7 Removed function calls that were missed at cleanup. 2012-04-23 20:33:13 +02:00
Maikel de Vries b36e10b8dc Barrel spray extinguishes burning objects 2012-04-23 22:48:41 +02:00
Armin Burgmeier e11e9845d1 Fix Windows build 2012-04-23 21:45:01 +02:00
Martin Plicht cd4db8ebaf mac: Remove KeyMask assignment and inline HandleNSEvent 2012-04-23 20:14:42 +02:00
Armin Burgmeier 206f90adbc Pass through key state handling from event callbacks (#745)
This gets rid of Application.IsAltDown() and friends which was used for
this purpose in C4MouseControl and C4EditCursor. In case non-event
callbacks need to access the state of the modifier keys the state is
now cached in these classes (if it wasn't already).

This new solution is supposed to be more robust, since the key modifier
state comes always directly from the input event. This fixes #745, where
Application.IsAltDown was stuck for some reason.

I updated the Windows and Mac code as well, but wasn't able to test it,
it might not compile and/or not work, in which case please someone fix it :)
2012-04-22 22:09:06 +02:00
Bernhard Bonigl ed8d46e047 Removed unused GUI-Elements 2012-04-22 18:54:16 +02:00
Bernhard Bonigl 12ffe6ab9c Removed overlooked Tube-Updates 2012-04-22 18:48:38 +02:00
Bernhard Bonigl b52dafc7b2 Cleaned up ClonkControls a bit and added more Comments.
Removed unused function HUDShowItems
2012-04-22 18:44:28 +02:00
Bernhard Bonigl 27dbd170dc Cleaned up HUD-Controller code. 2012-04-22 18:11:52 +02:00
Felix Wagner 4546c4a9f9 Fixed hit sound for metal. 2012-04-22 14:21:22 +01: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 ccbc7aebc8 Fix missing object bug in Crash.ocs, create windmill in DoInit() 2012-04-22 01:06:25 +02:00
Felix Wagner e9010b81e9 Construction preview: combining, Elevator: combine two for SUPER elevator 2012-04-22 00:00:41 +01:00
Armin Burgmeier 8c49c3a7f7 Use Anim_R to synchronize rotation and animation of the windgenerator 2012-04-22 00:55:44 +02:00