Commit Graph

11259 Commits (master)
 

Author SHA1 Message Date
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
Mark Haßelbusch 4c186f821c Changed a lot of StdStrBuf to StdCopyStrBuf so that the solution compiles with MSVC 2009-07-28 23:19:09 +02:00
Nicolas Hake b0187a2aec Stub CStdD3D::PerformMesh 2009-07-29 14:17:30 +02:00
Nicolas Hake 220c4d2945 MSVC: Add strtof function 2009-07-28 14:40:31 +02:00
Mark Haßelbusch 93808be052 Fixed M_PI error in MSVC build 2009-07-28 13:58:19 +02:00
Nicolas Hake 43b7150161 [win32] Fix segfault on exit 2009-07-28 13:39:22 +02:00
Armin Burgmeier b5796d6a08 Take Zoom into account when querying ClrModMap for mesh rendering 2009-07-27 22:29:09 -04:00
Armin Burgmeier 6da0846c87 Merged default into mesh 2009-07-27 21:49:33 -04:00
Nicolas Hake 40a3c80093 Planet: Fix syntax errors
Spell aiming had to go unfortunately, because it depended on some stuff
we don't have. Should implement this outside of the main Clonk code though.
2009-07-26 23:16:50 +02:00
Nicolas Hake 1102146302 Fix refcounting bug that led to premature destruction of property keys 2009-07-26 22:31:45 +02:00
Nicolas Hake abb08b891b C4Aul: Fix segfault when indexing into temporary proplists 2009-07-26 19:57:57 +02:00
Nicolas Hake c049580a2f C4Script: Allow indexing into proplists
Instead of using the unwieldy GetProperty(proplist, key) you can now
write proplist[key], or, similarly, instead of SetProperty(proplist,
key, value), proplist[key]=value works too.

Keys that don't exist are autocreated on access, so if you care about
performance, GetProperty is recommended for read-only access, since it
never triggers a modification of the underlying data structure.
2009-07-26 17:54:34 +02:00
Nicolas Hake ef3a386549 Human-readable type of C4V_Any changed to 'nil'
This lowers the confusion factor of error messages like
'ERROR: operator "=" left side: got "any", but expected "&"!'
since nobody really knows what any is.
2009-07-26 17:42:22 +02:00
Nicolas Hake 4369b4e03c Fix typo 2009-07-26 17:31:27 +02:00
Nicolas Hake 30b326035e C4Script: Default CreateObject/CreateConstruction owner to current controller 2009-07-26 01:12:10 +02:00