Commit Graph

7173 Commits (Controls)
 

Author SHA1 Message Date
Nicolas Hake 03f01a6129 Use operator void* to allow use of C4Value in conditionals 2009-07-20 23:45:31 +02:00
Nicolas Hake 02a06bb4f7 Consolidate C4V_Nil and C4V_Any
Any is now guaranteed to be 0.
2009-07-20 23:04:29 +02:00
Nicolas Hake 3a4fa70558 Make C4Command use C4Value as Data parameter 2009-07-20 22:42:38 +02:00
Nicolas Hake aa744e69d8 Explosion: Use nil instead of 0 where appropriate 2009-07-20 22:41:22 +02:00
Nicolas Hake 6de5cb8bd0 C4Value: Fix memory leak in ctor 2009-07-20 18:22:27 +02:00
Nicolas Hake 40c9ef1102 Win32 readme: MSVC Professional not needed anymore 2009-07-20 00:22:20 +02:00
Armin Burgmeier 5b033036fc Apply transformation to mesh renderings 2009-07-18 21:36:08 -04:00
Nicolas Hake 383b263181 C4Aul: Add new type 'nil'
Adds a new type representing 'no value' as well as a
keyword
'nil' for accessing this type from script.
nil is not equal to any value that is not nil itself.
GetType(nil) returns C4V_Nil.
2009-07-17 04:50:50 +02:00
Felix Wagner 7ab01aac9c how to start msys correctly 2009-07-18 04:59:22 +02:00
Nicolas Hake dc38d170b8 Backed out changeset 43758a4bd64f (StdBuf->std::string)
Change introduced some weird segfaults in g++ builds.
2009-07-15 19:12:01 +02:00
Tobias Zwick 10e6174b1f FadeDelay for longer-lasting particles 2009-07-15 15:41:03 +02:00
Tobias Zwick 1bb6778403 Cleanup: Docs update for FindObject, more funcs deleted 2009-07-15 15:17:37 +02:00
Tobias Zwick 379bb5b882 Syntax fix & Dynamite fix 2009-07-15 14:50:46 +02:00
Tobias Zwick ba971abc22 Cleaning up: removing obsolete functions and its documentation (part 2) 2009-07-15 14:42:48 +02:00
Tobias Zwick e74c484aa9 Cleaning up: removing obsolete functions and its documentation 2009-07-15 14:41:34 +02:00
Tobias Zwick 4b3357dfd7 The explosion is even a little bit more beautiful (with sparks) ;-) 2009-07-15 12:05:03 +02:00
Tobias Zwick 7375aa4f2e Dynamite from szen.c4s (completely rescripted though) and spark from Hazard 2009-07-15 02:00:26 +02:00
Tobias Zwick fe1fa8e729 renewed explosion: volume-smoke, Hazard-smoke-trails, a little bit better explosion graphic 2009-07-14 18:50:05 +02:00
Nicolas Hake 7b1f240aaa SEGV removed that stemmed from memset(3)ing over StdStrBuf 2009-07-14 16:48:53 +02:00
Günther Brammer 399ea170ac Revert "Removed autotools and anjuta build files"
CMake does not support anjuta, so I still need those. We should probably share the file
lists, though.
2009-07-13 21:24:30 +02:00
Armin Burgmeier 76bc924f46 Take zoom into account when rendering a mesh 2009-07-12 19:06:31 +02:00
Armin Burgmeier bbc8fa98db Added animations for mesh objects 2009-07-12 16:27:04 +02:00
Armin Burgmeier 8501d99173 Require a depth buffer size when choosing the glx visual 2009-07-11 21:43:49 +02:00
Armin Burgmeier 3760771ee5 Read material alpha components in the way clonk needs them 2009-07-11 12:36:53 +02:00
Armin Burgmeier 41f5a3d069 Added Monster as a test object 2009-07-11 01:11:29 +02:00
Armin Burgmeier 01f2da1366 Allow objects to use a mesh instead of pixel-based graphics 2009-07-11 01:10:18 +02:00
Armin Burgmeier a3f1ccf66e Fixed mesh loading 2009-07-11 01:09:48 +02:00
Armin Burgmeier 3d359840a1 Declare StdBuf::operator< as const so that it is used in map lookups 2009-07-11 00:31:47 +02:00
Armin Burgmeier 8c15d08a18 Added BoundingBox to StdMesh 2009-07-10 22:02:32 +02:00
Armin Burgmeier 16bd81ffad Implemented StdMeshInstance 2009-07-10 21:57:11 +02:00
Armin Burgmeier 2a3382b4ea Added mesh loading (from OGRE XML file) 2009-07-10 00:18:26 +02:00
Armin Burgmeier e52a4364b6 Added StdMesh data structures
Loading code is still to be written
2009-07-09 00:01:15 +02:00
Armin Burgmeier 9f35ffe470 Added TinyXML 2009-07-08 22:53:49 +02:00
Armin Burgmeier dfcc0207b3 Fixed inheriting materials using textures 2009-07-08 22:27:29 +02:00
Günther Brammer b085349e86 SDL_mixer: Don't halt all channels when halting a halted channel
Mix_Playing(-1) counts the number of playing channels instead of returning
that the channel -1 is not playing, and Mix_HaltChannel(-1) stops
everything.
2009-07-07 14:27:19 +02:00
Nicolas Hake e18e51d36b Script: Allow negative subscripts into arrays 2009-07-12 23:04:29 +02:00
Nicolas Hake 8d44dc28cd Console: Fix directory change
On opening a scenario, console mode changed the working directory
to the app dir, instead of keeping the current wd unchanged.
2009-07-12 22:44:23 +02:00
Nicolas Hake 3bdb703009 Change StdBuf to wrapper around std::string 2009-07-12 18:59:34 +02:00
Nicolas Hake 0d08565059 [MSVC9] Enable minimal rebuild and edit-and-continue 2009-07-12 18:46:54 +02:00
Nicolas Hake 61c63be6df Removed unused functions from Standard.{h,cpp}
Some functions that were only used from a single location were moved to
the calling source files.
2009-07-12 02:33:58 +02:00
Nicolas Hake a7812e3f3e [win32] Fix for c711d83290ca: Don't return failure when dir creation succeeded 2009-07-11 20:03:12 +02:00
Nicolas Hake 532e58c2ff Remove unknown parameter warning from MSVC build 2009-07-11 19:44:14 +02:00
Nicolas Hake 14e8d4794d Fix linux CMake build
Not tested: Cross compiling, might need to be implemented into CMakeLists
2009-07-11 03:14:57 +02:00
Nicolas Hake 21d714bb93 Removed autotools and anjuta build files 2009-07-11 01:46:50 +02:00
Nicolas Hake d6337554bc StdFile: Replace CreateDirectory
Removed CreateDirectory, replaced with CreatePath, which creates parent
directories recursively if needed
2009-07-10 21:33:55 +02:00
Nicolas Hake 2a38d0056d Strip c4group of unnecessary code dependencies
Fixes issue #21 (c4group build failure)
2009-07-08 19:54:54 +02:00
Nicolas Hake 7a38556516 Stop C4Config from forcing work dir in debug builds 2009-07-08 18:45:03 +02:00
Armin Burgmeier 639b40bbb6 Added StdMeshMaterial 2009-07-06 23:45:44 +02:00
Nicolas Hake 4649547c97 Fix MSVC build 2009-07-06 04:40:57 +02:00
David Dormagen 199cf0d5a6 CMake-pthread-fix for WIN32 builds 2009-07-03 14:19:31 +02:00