* 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
* Fix a buffer overflow in getPlayerColourName resulting from translations for player colours being larger than the string buffer that was reserved for them
- Instead just return gettext()'s return value (because "The resulting string is statically allocated and must not be modified or freed.")
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6283 4a71c877-e1ca-e34f-864e-861f7616d084
* Use a single call to ssprintf to create a string instead of ssprintf followed by strcat
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6282 4a71c877-e1ca-e34f-864e-861f7616d084
size. The tile drawer was allocating and using a vertex array the size of the whole map, now it only has one big enough to fit the visible tiles.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6270 4a71c877-e1ca-e34f-864e-861f7616d084
* Add 29 newly translated messages (100% translated)
This closes#132, patch by Arthur Filipe <trivial>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6265 4a71c877-e1ca-e34f-864e-861f7616d084
* Rename LIST_ADDEND to LIST_APPEND (because that's what it does: append to a list)
* Clean up the assertion in LIST_REMOVE
* Prevent a potential bug in LIST_APPEND by not initialising the psNext pointer to NULL
- doesn't ever occur right now, for one simple reason: the only place where this macro is used is on a structure that's initialised with memset(0)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6260 4a71c877-e1ca-e34f-864e-861f7616d084
* Fix several parameters that got passed wrong and didn't get caught due to the different definitions
Caught by EvilGuru
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6256 4a71c877-e1ca-e34f-864e-861f7616d084
FMV's were missing. A message "New Intelligence Report" is shown to remind people who abort the movie that they can see
it again in the intelligence screen.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6253 4a71c877-e1ca-e34f-864e-861f7616d084