* Use `test -n "$STRING"` instead of `test ! -z "$STRING"` to test a string for non-zeroness
* Use `text -z "$STRING"` instead of `test "x$STRING" = "x"` to test a string for zeroness
* Add some influential environment variables to AC_ARG_VAR so that it gets documented in --help and automatically AC_SUBST'ed
* Use the AS_IF macro for conditional code execution
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6349 4a71c877-e1ca-e34f-864e-861f7616d084
in instead of pop in. The transparency did not play well with the distance fog and in that case the tiles fade to the fog color. All
terrain tiles are now drawn as alpha enabled textures, which could have an impact on the performance for some people. Remember this
commit when complaints about reduced performance start coming in.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6348 4a71c877-e1ca-e34f-864e-861f7616d084
it. This will make it easier to change the sky for the different areas.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6345 4a71c877-e1ca-e34f-864e-861f7616d084
* Get rid of the (previous) handcrafted version for loadPropulsionStatsFromDB
* Get rid of the old (handcrafted) `propulsion` table and replace it with the autogenerated `PROPULSION` table
NOTE: Only src/data.c src/stats-db.[ch] src/stats-db2.tpl got changed manually, the other changes where generated from these
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6337 4a71c877-e1ca-e34f-864e-861f7616d084
- New enum-field level qualifier: `%string "<string to use>";`
* Use this to specify the custom strings for enum SENSOR_TYPE
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6335 4a71c877-e1ca-e34f-864e-861f7616d084
* At the start of a new struct's data place the name of that struct
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6333 4a71c877-e1ca-e34f-864e-861f7616d084
* Ignore ./src/stats-db2.tpl.sql.c from the Doxygen documentation (as it'll get included in stats-db2.c
* Generate an alphabetical "compound" index for the Doxygen documentation
* Make the typedef name of a struct, union and enum the entity's name in Doxygen
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6330 4a71c877-e1ca-e34f-864e-861f7616d084
* Get rid of the previous (handcrafted) version for loadSensorStatsFromDB
* Get rid of the old `sensor` table in the database and replace it with the autogenerated `SENSOR` table
This addresses #2
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6327 4a71c877-e1ca-e34f-864e-861f7616d084
* Use the database-meta-language code generator to generate a new stats loading function: loadConstructStatsFromDB
* Add a new resource type, DBCONSTR, which uses loadConstructStatsFromDB to load the construction stats
* Employ this new type in "base"
This addresses #2
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6326 4a71c877-e1ca-e34f-864e-861f7616d084
* Assign the return value of sqlite3_step to "rc" not the result boolean of that return value compared with SQLITE_ROW
* For enums allow the enumerator's name with undersquores ''and'' spaces
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6323 4a71c877-e1ca-e34f-864e-861f7616d084
* Change the make rules for all files produced from the database meta language such that they have the language parser and code generator as dependency as well (i.e. if they change their files will be rebuilt)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6312 4a71c877-e1ca-e34f-864e-861f7616d084
source. It looks better now as all effects are shown even for areas you officially can't see. The only disadvantage is that disabling it
again looks really bad (structures remain visible). As I do not expect a lot of people to disable God Mode, you now can not turn it off
anymore.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6307 4a71c877-e1ca-e34f-864e-861f7616d084
PRIVATE, as it is not defined in the .vlo. The current scripting engine does not seem to notice, but this helps
the wz2lua converter.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6306 4a71c877-e1ca-e34f-864e-861f7616d084
structures should now be smarter about their automatic targetting.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6299 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't constantly maintain a bool (bEqual) to see whether the current template is equal to the given template
- Instead "continue" and skip to the next one instead when we've determined the current template isn't equal
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6298 4a71c877-e1ca-e34f-864e-861f7616d084