Commit Graph

1630 Commits (318d69ac624ee15ce88c9164cabff96623cc82cf)

Author SHA1 Message Date
Günther Brammer 337b9eb2d7 Fix object movement broken by BOOL change
Somebody thought it would be a good idea to use a BOOL as if it was an int.
Hint: It is not.
2009-08-26 01:21:54 +02:00
Günther Brammer 6ca2ed3b6a C4PktBuf: Use StdCopyBuf instead of StdBuf as member variable
That way, the automatically generated operator= actually works instead of crashing.
2009-08-26 01:20:01 +02:00
Günther Brammer 0254addc90 Fix DebugRec 2009-08-25 17:50:51 +02:00
Günther Brammer f5b904c3db More StdApp cleanup 2009-08-16 18:30:28 +02:00
Sven Eberhardt acca4a204d merge 2009-08-16 17:13:42 +02:00
Günther Brammer 08eca68c2a Restore changes from 4cfa1c35dc2f accidentally reverted by the last commit
Sorry.
2009-08-16 15:18:07 +02:00
Armin Burgmeier e2c68254a5 Added includes and forward declarations to headers
So that they can be included individually
2009-09-21 00:01:55 -04:00
Armin Burgmeier baf4f7764a Removed unused parameter in C4MaterialMap::Load 2009-09-21 00:00:57 -04:00
Armin Burgmeier c0bf72c663 Reset ClrMod when SetClrModulation is called without argument 2009-09-19 16:38:19 -04:00
Günther Brammer e762a4501e OpenGL: invert alpha channel in shader code, too 2009-09-19 19:36:31 +02:00
Günther Brammer 9a8b5dd739 Replace BOOL by bool, TRUE by true, FALSE by false 2009-08-15 20:50:32 +02:00
Günther Brammer f0adbfe5b4 C4Value: Document the reasons for HasBaseArray 2009-08-15 14:15:10 +02:00
Armin Burgmeier 9dc91c66c4 Set default icon for GTK windows
This way message dialogs are decorated with the OC icon as well
2009-08-15 12:22:52 -04:00
Günther Brammer a28a6621da shuffle the #includes around a bit
This reduces the dependencies from src/lib to the rest of the code a bit.
2009-08-12 22:03:50 +02:00
Günther Brammer 2f505e2bc2 Fix buffer overflow in SetGamma when using an undefined gamma ramp 2009-08-12 19:55:51 +02:00
Günther Brammer 7621c97b92 Remove backward compatibility to very old saved C4ValueLists 2009-08-12 19:55:09 +02:00
Günther Brammer b46f4696e9 Split C4Rect out to its own source file
Because much more depends on C4Rect than only C4Shape, and C4Shape uses
lots of other stuff.

Also move some other files which depend on C4Group to src/c4group, because
I'm editing the build files anyway.
2009-08-14 01:46:32 +02:00
Martin Plicht 52fe574835 SDL: Two clicks only interpreted as double click when x and y distance does not exceed 2 pixels 2009-08-12 18:55:13 +02:00
Sven Eberhardt df6010a148 merge 2009-08-12 17:27:43 +02:00
Sven Eberhardt 4db8b6c0a7 move C4PlayerControl.cpp/.h 2009-08-12 16:45:45 +02:00
Tobias Zwick 3a202230a2 fix for FindObject and ObjectCount 2009-08-12 15:04:59 +02:00
Martin Plicht 9d20fa8fe8 Mac: Exposé fix 2009-08-12 14:30:48 +02:00
Martin Plicht 5c4248b0a8 Mac: Implement CStdApp::MessageDialog and Copy & Paste
StdMacApp.mm implements parts of CStdApp using Objective-C
2009-08-12 14:17:36 +02:00
Martin Plicht 527d833b19 Mac: Enable Key Repeat 2009-08-12 14:16:35 +02:00
Martin Plicht 08479b6cfd Put Mac-specific stuff into MacUtility namespace 2009-08-12 14:13:16 +02:00
Nicolas Hake 4f18edec4c g++: Build fixes 2009-08-13 17:22:03 +02:00
Nicolas Hake 3bcfebf1f7 Fixed potential format string exploit with user-defined death messages 2009-08-13 10:32:09 +02:00
Nicolas Hake 276a5abfed Removed default-this object parameter from a lot of functions 2009-08-12 22:44:09 +02:00
Tobias Zwick 4211ce15f4 cleanup: script function CrewMember(obj) is obsolete 2009-08-12 10:58:55 +02:00
Günther Brammer 572d00c32e Move all source files
This might make stuff easier to find.
2009-08-10 17:59:18 +02:00