[Warzone-commits] r5463 - /trunk/makerules/common.mk

2008-07-10 Thread Dennis Schridde
Author: devurandom Date: Thu Jul 10 11:35:10 2008 New Revision: 5463 URL: http://svn.gna.org/viewcvs/warzone?rev=5463&view=rev Log: Old versions for Flex do not like the space in -o filename Modified: trunk/makerules/common.mk ___ Warzone-commits

[Warzone-commits] r5464 - /trunk/build_tools/code-generators/c_structdef_cg.pm

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 12:58:13 2008 New Revision: 5464 URL: http://svn.gna.org/viewcvs/warzone?rev=5464&view=rev Log: don't use the file header template if it isn't available in the c_structdef code generator Modified: trunk/build_tools/code-generators/c_structdef_cg.pm __

[Warzone-commits] r5465 - /trunk/build_tools/code-generators/test_code.tpl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 13:03:39 2008 New Revision: 5465 URL: http://svn.gna.org/viewcvs/warzone?rev=5465&view=rev Log: * Remove TODO comment about needing to add an IMD_Model type, because that type already exists * Add a comment, describing the `flameModel` field Modified: tru

[Warzone-commits] r5466 - in /trunk/src: astar.c function.c stats-db.c stats.c stats.h statsdef.h

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 17:47:21 2008 New Revision: 5466 URL: http://svn.gna.org/viewcvs/warzone?rev=5466&view=rev Log: * Get rid of enumerator INVALID_PROP_TYPE from PROPULSION_TYPE * Modify getPropulsionType's API so that we don't need to depend on enum PROPULSION_TYPE containing a

[Warzone-commits] r5467 - /trunk/lib/sound/openal_track.c

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 17:47:27 2008 New Revision: 5467 URL: http://svn.gna.org/viewcvs/warzone?rev=5467&view=rev Log: Add some debug messages when failing to create an AUDIO_STREAM in sound_PlayStreamWithBuf Modified: trunk/lib/sound/openal_track.c

[Warzone-commits] r5468 - in /trunk/src: configuration.c init.c warzoneconfig.c warzoneconfig.h

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 18:05:19 2008 New Revision: 5468 URL: http://svn.gna.org/viewcvs/warzone?rev=5468&view=rev Log: Add a new configuration option "music_enabled" which can be used to disable the ingame music with Modified: trunk/src/configuration.c trunk/src/init.c tr

[Warzone-commits] r5469 - in /branches/2.1/src: droid.h structure.h

2008-07-10 Thread Per I. Mathisen
Author: per Date: Thu Jul 10 18:15:36 2008 New Revision: 5469 URL: http://svn.gna.org/viewcvs/warzone?rev=5469&view=rev Log: 2.1: Remove asserts checks that check the validity of target objects from structures and droids. Modified: branches/2.1/src/droid.h branches/2.1/src/structure.h

[Warzone-commits] r5470 - /trunk/makerules/configure.mk

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 19:19:17 2008 New Revision: 5470 URL: http://svn.gna.org/viewcvs/warzone?rev=5470&view=rev Log: include config.mk from the `makerules` directory, not the base/root directory Modified: trunk/makerules/configure.mk ___

[Warzone-commits] r5471 - /trunk/makerules/configure.mk

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 19:26:11 2008 New Revision: 5471 URL: http://svn.gna.org/viewcvs/warzone?rev=5471&view=rev Log: Don't use the `mingw32-` prefix in the win32 makefiles, as MinGW's default distribution doesn't provide all executables with `mingw32-` prefix, but it does provide a

[Warzone-commits] r5472 - /trunk/makerules/config.mk.tmpl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 19:36:37 2008 New Revision: 5472 URL: http://svn.gna.org/viewcvs/warzone?rev=5472&view=rev Log: Add the TARGET option to the win32 makefile system's config template Modified: trunk/makerules/config.mk.tmpl ___ Wa

[Warzone-commits] r5473 - in /trunk: data/makefile.win32 data/mods/global/makefile.win32 makerules/config.mk.tmpl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 19:51:31 2008 New Revision: 5473 URL: http://svn.gna.org/viewcvs/warzone?rev=5473&view=rev Log: Merge the DATA build option (for the win32 makefile build system) into INSTALLER as the data packages are only required when building an installer Modified: trun

[Warzone-commits] r5474 - in /trunk/src: action.c component.c design.c drive.c droid.c e3demo.c feature.c fpath.c map.c move.c multisync.c order.c scriptai.c scriptfuncs.c selection.c stats.c stats.h

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 19:59:35 2008 New Revision: 5474 URL: http://svn.gna.org/viewcvs/warzone?rev=5474&view=rev Log: Prefix all propulsion types (from enum PROPULSION_TYPE) with `PROPULSION_TYPE_` to qualify these names more fully Modified: trunk/src/action.c trunk/src/comp

[Warzone-commits] r5475 - in /trunk/makerules: config.mk.tmpl configure.mk

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 21:52:33 2008 New Revision: 5475 URL: http://svn.gna.org/viewcvs/warzone?rev=5475&view=rev Log: Remove the TARGET option (I shouldn't have added it back) and select the windows-specific link line for the win32 makefiles Modified: trunk/makerules/config.mk.t

[Warzone-commits] r5476 - in /trunk: build_tools/ build_tools/autorevision/ data/ data/mods/ data/mods/global/ lib/ lib/exceptionhandler/ lib/framework/ lib/gamelib/ lib/ivis_common/ lib/ivis_opengl/

2008-07-10 Thread Dennis Schridde
Author: devurandom Date: Thu Jul 10 22:10:16 2008 New Revision: 5476 URL: http://svn.gna.org/viewcvs/warzone?rev=5476&view=rev Log: Hardcode top_srcdir to make building from non-topdir possible, dont depend on the touch command, fix LDFLAGS to not depend on the removed TARGET variable Modified:

[Warzone-commits] r5477 - /trunk/build_tools/autorevision/makefile.win32

2008-07-10 Thread Dennis Schridde
Author: devurandom Date: Thu Jul 10 22:17:13 2008 New Revision: 5477 URL: http://svn.gna.org/viewcvs/warzone?rev=5477&view=rev Log: Remove crossbuild hacks, which probably not worked like that on Windows anyway. Modified: trunk/build_tools/autorevision/makefile.win32 ___

[Warzone-commits] r5478 - /trunk/build_tools/code-generators/c_structdef_cg.pm

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 22:43:26 2008 New Revision: 5478 URL: http://svn.gna.org/viewcvs/warzone?rev=5478&view=rev Log: c_structdef_cg.pm: Fix an error where we forgot to use the \{"name"\} member of the hash thus resulting in bad code being generated Modified: trunk/build_tools/c

[Warzone-commits] r5481 - /trunk/build_tools/code-generators/test_code.tpl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 22:52:57 2008 New Revision: 5481 URL: http://svn.gna.org/viewcvs/warzone?rev=5481&view=rev Log: Update test_code.tpl as well to match r5480's change in syntax Modified: trunk/build_tools/code-generators/test_code.tpl ___

[Warzone-commits] r5480 - /trunk/build_tools/code-generators/db-lang.pl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 22:52:09 2008 New Revision: 5480 URL: http://svn.gna.org/viewcvs/warzone?rev=5480&view=rev Log: Slight change in syntax to not require (and disallow) a semi-colon after struct-level directives that open a new scope (terminated with "end\;" Modified: trunk/b

[Warzone-commits] r5479 - /trunk/build_tools/code-generators/c_sqliteload_cg.pm

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 22:44:14 2008 New Revision: 5479 URL: http://svn.gna.org/viewcvs/warzone?rev=5479&view=rev Log: #include "lib/sqlite3/sqlite3.h" in generated SQLite loading code Modified: trunk/build_tools/code-generators/c_sqliteload_cg.pm ___

[Warzone-commits] r5482 - in /trunk/build_tools/code-generators: c_structdef_cg.pm db-lang.pl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 23:02:58 2008 New Revision: 5482 URL: http://svn.gna.org/viewcvs/warzone?rev=5482&view=rev Log: Add a new enum-level directive: %max "param": * This will add an enumerator to the end of the generated C enum code with "param" as its name (prefixed by the enum's

[Warzone-commits] r5483 - in /trunk/build_tools/code-generators: c_sqliteload_cg.pm c_structdef_cg.pm db-lang.pl test_code.tpl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 23:11:24 2008 New Revision: 5483 URL: http://svn.gna.org/viewcvs/warzone?rev=5483&view=rev Log: * Add a new struct-level directive: %suffix - This directive adds a suffix to the names of structs (in the generated C code) and the subclasses that inherit from t

[Warzone-commits] r5484 - in /trunk/build_tools/code-generators: c_structdef_cg.pm db-lang.pl test_code.tpl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jul 10 23:24:39 2008 New Revision: 5484 URL: http://svn.gna.org/viewcvs/warzone?rev=5484&view=rev Log: * Add a new enum-level qualifier: %valprefix; this changes the default prefix (which is just the enum's name with '_' appended) prefixed to all enum values * Add a

[Warzone-commits] r5485 - in /trunk/src: Makefile.am functiondef.h stats-db2.h stats-db2.tpl stats-db2.tpl.struct.h statsdef.h

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 11 00:02:48 2008 New Revision: 5485 URL: http://svn.gna.org/viewcvs/warzone?rev=5485&view=rev Log: Add a new template file to automatically generate enum definitions (currently in statsdef.h) from. This template will eventually be used by the SQLite code generator

[Warzone-commits] r5486 - /trunk/build_tools/code-generators/db-lang.pl

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 11 00:23:19 2008 New Revision: 5486 URL: http://svn.gna.org/viewcvs/warzone?rev=5486&view=rev Log: Allow empty value prefixes as well (using the %valprefix directive) Modified: trunk/build_tools/code-generators/db-lang.pl _

[Warzone-commits] r5487 - in /trunk/src: stats-db2.h stats-db2.tpl statsdef.h

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 11 00:27:41 2008 New Revision: 5487 URL: http://svn.gna.org/viewcvs/warzone?rev=5487&view=rev Log: Move enums FIREONMOVE and TRAVEL_MEDIUM from statsdef.h to stats-db2.tpl Modified: trunk/src/stats-db2.h trunk/src/stats-db2.tpl trunk/src/statsdef.h __

[Warzone-commits] r5488 - in /trunk/src: basedef.h droid.c feature.c function.c functiondef.h game.c map.c projectile.c stats-db.c stats-db2.h stats-db2.tpl stats.c stats.h statsdef.h structure.c

2008-07-10 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 11 00:50:23 2008 New Revision: 5488 URL: http://svn.gna.org/viewcvs/warzone?rev=5488&view=rev Log: * Get rid of enumerator INVALID_SUBCLASS from WEAPON_SUBCLASS * Modify getWeaponSubClass's API so that we don't need to depend on enum WEAPON_SUBCLASS containing an