Commit Graph

7173 Commits (Controls)
 

Author SHA1 Message Date
Armin Burgmeier 4423b5dcb4 Reverted change of Logo.png by previous commit
This was accidentally committed. It was used for debugging only.
2009-08-23 19:43:03 -04:00
Armin Burgmeier d021b9a586 Fixed a glib warning on startup about the main loop being active already
The exact warning message was

GLib-WARNING **: g_main_context_prepare(): main loop already active in another
thread

The problem was that there is code in C4Console.cpp which iterates the Glib
main loop to update the Console window while loading the game. This was not
synchronized with CGLibProc - we can't iterate the mainloop when the CGLibProc
already does.
2009-08-23 19:22:55 -04:00
Armin Burgmeier 4573315d42 Reverted meaning of alpha: Now 255 is opaque and 0 is transparent
Shader and D3D remains to be adapted yet.
2009-08-23 17:46:56 -04:00
Günther Brammer 6e4e0f794c autotools: Make --with-gtk the default if GTK+ is installed
Also update the readmes.
2009-08-22 15:31:30 +02:00
Günther Brammer 77b63f282b Complete .hgignore a bit 2009-08-25 17:53:12 +02:00
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
Günther Brammer 1b17ad1808 Build fixes 2009-08-16 18:27:44 +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
Nicolas Hake 68b3b46381 cmake: Rename findlib vars to be more in line with package-provided library vars 2009-08-16 14:17:27 +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 179097d389 Build fixes
glew needs opengl32 on windows, and c4group needs zlib.
2009-08-15 21:55:26 +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 5cdb83d433 Mesh: Make StdMeshError copyable
This fixes compilation with older gccs, or perhaps only with Debians mingw gcc.
2009-08-13 23:12:31 +02: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 0deb014cf0 merge 2009-08-12 16:33:55 +02:00
Tobias Zwick 0a86ab4331 crew selector hud - without update, without click functionality 2009-08-12 16:32:38 +02:00
Nicolas Hake 1286f8d3ce msvc: Use source folders in project 2009-08-12 15:15:05 +02:00
Tobias Zwick 3a202230a2 fix for FindObject and ObjectCount 2009-08-12 15:04:59 +02:00
Nicolas Hake 7b83f7a8fc Use lists for platform-specific source files instead of string interpolation 2009-08-12 15:01:14 +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 1dd67cdeff Mac: SDL-Startup code changed so that scenarios can be passed as arguments 2009-08-12 14:15:02 +02:00
Martin Plicht 08479b6cfd Put Mac-specific stuff into MacUtility namespace 2009-08-12 14:13:16 +02:00
Nicolas Hake 921c174841 cmake: Disable test for DX SDK if USE_DIRECTX is false 2009-08-13 18:09:00 +02:00
Nicolas Hake 4f18edec4c g++: Build fixes 2009-08-13 17:22:03 +02:00
Nicolas Hake 472efc26be cmake: Fix config.h definition errors 2009-08-13 17:13:56 +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
Sven Eberhardt 4b6f1ec264 crash fix 2009-08-11 23:12:36 +02:00
Günther Brammer 5be69fa1d0 merge the move-all-files branch 2009-08-10 18:17:26 +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
Sven Eberhardt 63311823c6 merge main branch into PlrCtrl branch (currently crashing) 2009-08-10 16:48:25 +02:00
Sven Eberhardt 81e9b612b1 merge main branch into PlrCtrl branch 2009-08-10 16:07:14 +02:00
ModernClonker 6f4ca1cb2d Fixed the redefinition warnings of CMake 2009-08-09 14:04:27 +02:00
Günther Brammer b73009e65b Cleanup 2009-08-05 00:53:38 +02:00
Armin Burgmeier 12ddf2b889 Changed indentation of StdMesh*.{h,cpp} from spaces to tabs 2009-08-01 15:36:13 -04:00
Armin Burgmeier b4788cf433 Fixed a missing semicolon in C4Script.cpp (#35) 2009-08-01 15:07:21 -04:00