Commit Graph

3518 Commits (5ddc76afa6c21b6acb148383b31dd13a2ab0f722)
 

Author SHA1 Message Date
Charles Spurrill 238cb6a0c2 Added Iron Bomb (grenade). Modified Explode.c to allow custom exlosion sounds 2011-10-06 06:02:36 -07:00
Felix Wagner 3d768e0ff7 Gold be gone! 2011-10-05 22:33:00 +01:00
Tobias Zwick 603af91211 OK, merge default 2011-10-05 22:54:37 +02:00
Felix Wagner 2e184fac26 Rework of the plants, to work with the new lib 2011-10-05 04:55:40 +01:00
Felix Wagner 2d2cab8227 Rework of the plants, to work with the new lib 2011-10-05 04:55:40 +01:00
Felix Wagner e8447f4133 + HasCNAT() in Commits.c, prevent endless loop in plant 2011-10-05 04:47:07 +01:00
Felix Wagner 67a9708720 + HasCNAT() in Commits.c, prevent endless loop in plant 2011-10-05 04:47:07 +01:00
Felix Wagner b00a192a61 Partly rewrite of plants library. Harvesting included. 2011-10-05 04:31:06 +01:00
Felix Wagner 727cb7398a Partly rewrite of plants library. Harvesting included. 2011-10-05 04:31:06 +01:00
Felix Wagner 5cfebab8b7 docs for Placement 2011-10-03 00:25:21 +01:00
Felix Wagner ff774ecb91 docs for Placement 2011-10-03 00:25:21 +01:00
Felix Wagner f42496be92 PlaceVegetation now accept C4D_Place_Subsurface for underground placement and
C4D_Place_BothSurface for above- and underground placement.
2011-10-02 23:11:00 +01:00
Felix Wagner 1fb605e384 PlaceVegetation now accept C4D_Place_Subsurface for underground placement and
C4D_Place_BothSurface for above- and underground placement.
2011-10-02 23:11:00 +01:00
Felix Wagner 7f989f5ee5 gold chunk -> nugget 2011-10-01 06:32:42 +01:00
Felix Wagner b595e32262 gold chunk -> nugget 2011-10-01 06:32:42 +01:00
Charles Spurrill cf007ba147 SetVelocity can now set speed and/or angle of velocity vector 2011-09-30 22:28:01 -07:00
Charles Spurrill 9f27a89912 SetVelocity can now set speed and/or angle of velocity vector 2011-09-30 22:28:01 -07:00
Felix Wagner db6a446a6b Kickoff for settlement: Gold ore inserted! Gold's on the hit list. 2011-10-01 06:07:25 +01:00
Felix Wagner dee103f74c Kickoff for settlement: Gold ore inserted! Gold's on the hit list. 2011-10-01 06:07:25 +01:00
Günther Brammer 20b71f030a Clean up StdDDraw2.h a little 2011-10-03 17:19:51 +02:00
Günther Brammer 1cafba4be8 Rename files implementing C4AbstractApp and C4Window 2011-10-03 17:19:24 +02:00
Günther Brammer c2908d5bd5 Rename CStdDDraw to C4Draw 2011-10-03 16:34:08 +02:00
Günther Brammer 2b6f4432de Rename lpDDraw to pDraw 2011-10-03 16:30:18 +02:00
Günther Brammer ad89e12a2c Rename CTexMgr and CTexRef to C4TexMgr and C4TexRef 2011-10-03 16:16:38 +02:00
Günther Brammer 68d6b34f72 Replace SURFACE with C4Surface * 2011-10-03 16:07:07 +02:00
Günther Brammer 55f6bc8d0f Replace CSurface and C4Surface with just C4Surface
The methods that previously were on C4Surface still are in a separate
file.
2011-10-03 16:06:41 +02:00
Günther Brammer 5303a77474 Version 5.2.0 2011-09-30 16:35:39 +02:00
Maikel de Vries a7763beb25 Objects: Interactables return true on Interact() 2011-09-29 23:23:06 +02:00
Tobias Zwick 2b70a27df2 slightly update credits 2011-09-29 23:11:43 +02:00
Tobias Zwick 461a8594c8 removed Tests.ocf from "setup" build configuration 2011-09-29 22:22:42 +02:00
Maikel de Vries 8eb190c196 HUD: Some more cleanup and fix breathtube on clonk selection 2011-09-29 19:40:18 +02:00
Maikel de Vries 8f4d300a3f HUD: Some clean up in scripts and files
Moved all HUD elements to Elements.ocd, this should have been quite obvious in the first place.
Cleaned up health and breath tube, scripts were unreadable.
Breath tube doesn't stay when swimming, swimming and breath are unrelated quantities and should be treated accordingly, but more important the bar in the crew selector and the HUD now behave the same.
2011-09-28 19:55:01 +02:00
Nicolas Hake b9c0b5dffd Landscape renderer: Cast a variable to int so it matches the format specifier 2011-09-28 19:46:43 +02:00
Nicolas Hake 6a18a56f5d Remove some extraneous parentheses 2011-09-28 19:44:03 +02:00
Nicolas Hake 8d8b087808 Return NULL instead of ((T*)false) from more functions 2011-09-28 19:42:56 +02:00
Nicolas Hake a04b06f98f NetIO: Cast test packet payload to unsigned
rand() returns a signed integer, while the PacketHdr structure
has an unsigned packet number field. According to ISO/IEC 14882,
implicitly narrowing a value type in an initializer list is not
allowed [dcl.init.aggr p2].
2011-09-28 00:56:11 +02:00
Nicolas Hake 2aac466306 Net2Discover: discovery port should be unsigned 2011-09-28 00:52:12 +02:00
Nicolas Hake e0610576bd Return NULL instead of ((T*)false) from some functions 2011-09-28 00:48:46 +02:00
Nicolas Hake 3200fdb088 base64: Replaced char literals by hex literals
The base64 decoding lookup table uses '\xff' to denote an invalid
value. On compilers where char is signed, this results in a value of
-1, which cannot be converted to an unsigned char in an aggregate
initializer [dcl.init.aggr p2].
2011-09-28 00:48:00 +02:00
Nicolas Hake aa8f8b0a43 Silence clang's "conversion to self will not be used" warning
clang defines macros pretending to be GCC 4.2, but it supports
rvalue references so the conversion operator is superfluous
2011-09-28 00:15:59 +02:00
Günther Brammer c509963245 Fix MSVC build 2011-09-27 01:50:47 +02:00
Günther Brammer bfee2c5b81 Version 5.1.91 (5.2 Beta) 2011-09-27 01:15:00 +02:00
Günther Brammer e2d53f6b3d Draw Viewport Menus at Zoom 1 (#646) 2011-09-27 01:17:36 +02:00
David Dormagen 8774235f82 breath tube shows again 2011-09-24 12:56:40 +02:00
Günther Brammer b356c1bd10 win32: Installer uses new Clonk portrait 2011-09-23 01:55:39 +02:00
Günther Brammer ee5c3e469a CreateScriptPlayer sets the player color (#417) 2011-09-23 01:41:25 +02:00
Günther Brammer e61c0f1393 Remove some obsolete files from Graphics.ocg 2011-09-23 01:40:28 +02:00
Günther Brammer a6b67b0a78 masterserver: Expect utf-8 from the clients (#621)
Theoretically, we could use the charset information that's exchanged to do
the right conversions, but everything simply uses utf-8 so that would be
pointless.
2011-09-23 01:03:06 +02:00
Günther Brammer 6b491974e1 win32: Installer writes more uninstaller information into the registry 2011-09-22 23:33:48 +02:00
Günther Brammer b2e9fcd13e win32: FormatMessage now produces an utf-16 error message 2011-09-21 22:20:52 +02:00