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 to generate S
QLite stats-loading code from.
* Move 4 enums from statsdef.h to stats-db2.tpl: COMPONENT_TYPE, LOC,
BODY_SIZE and PROPULSION_TYPE
* #include stats-db2.h (generated from stats-db2.tpl) in statsdef.h
NOTE: The automatically generated file (stats-db2.h) is included in the
repository so that no changes in the buildsystems are required. The autotools
build system is updated to be able to update stats-db2.h if required.
Added:
trunk/src/stats-db2.h (with props)
trunk/src/stats-db2.tpl (with props)
trunk/src/stats-db2.tpl.struct.h (with props)
Modified:
trunk/src/Makefile.am
trunk/src/functiondef.h
trunk/src/statsdef.h
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits