Author: muggenhor
Date: Sun Aug 24 17:56:00 2008
New Revision: 5866
URL: http://svn.gna.org/viewcvs/warzone?rev=5866&view=rev
Log:
* Make CHECK_OBJECT, CHECK_PROJECTILE and CHECK_STRUCTURE macros that redirect
to a function
* Add two new files: src/baseobject.[ch]
* Have CHECK_OBJECT call any of CHECK_DROID, CHECK_PROJECTILE or
CHECK_STRUCTURE depending on the object's type
* Change CHECK_DROID and checkDroid to use the AT_MACRO to get the current
filename and line number
* Change checkDroid to use ASSERT_HELPER to provide the source of the assertion
NOTE: The autotools, Code::Blocks, win32 Makefiles and MSVC buildsystems are
updated, Xcode will still require an update
Added:
trunk/src/baseobject.c (contents, props changed)
- copied, changed from r5863, trunk/src/basedef.h
trunk/src/baseobject.h (contents, props changed)
- copied, changed from r5863, trunk/src/basedef.h
Modified:
trunk/src/Makefile.am
trunk/src/basedef.h
trunk/src/droid.c
trunk/src/droid.h
trunk/src/makefile.win32
trunk/src/projectile.c
trunk/src/projectile.h
trunk/src/structure.c
trunk/src/structure.h
trunk/warzone2100.cbp
trunk/win32/Warzone2100.vcproj
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits