-fixed a bug that made Aivolution defend its own derrick instead attacking an unprotected enemy derrick by building a bunker near it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4449 4a71c877-e1ca-e34f-864e-861f7616d084
-increased hit-points of oil derricks by 100%, since it gets destroyed too easily by lucky shots. Needs testing.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4445 4a71c877-e1ca-e34f-864e-861f7616d084
* Add the code to load propulsions from the propulsion table of the given database file (function `loadPropulsionStatsFromDB`)
* This code will make sure to load the propulsion stats-data in a similar manner (i.e. the resulting data in-memory should be the same) to the propulsion.txt loading code
* Use this stats loading implementation on single player
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4444 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove macro CALC_STRUCTURE_SMOKE_INTERVAL and replace it with a static function (not inline, let the compiler make that decision)
* Utilise getStructureDamage instead of a rather unreadable call to PERCENT
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4440 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a new configuration option "ColouredCursor", which if enabled will enable coloured cursors ingame
* Add a new API for setting cursors with: pie_SetMouse (previously frameSetCursor was used)
Patch #956 by Buginator; pie_.*Mouse API done by me (except for the iV_DrawImage invocation)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4434 4a71c877-e1ca-e34f-864e-861f7616d084
* Make frameSetCursor take a CURSOR (an enum) parameter instead of SWORD
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4432 4a71c877-e1ca-e34f-864e-861f7616d084
* Get rid of resource.h which duplicated code and as such was a maintenance hell/burden
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4422 4a71c877-e1ca-e34f-864e-861f7616d084
Tank Killer now fires 4 projectiles (to match its turrent gfx), total average firepower stays unaffected.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4407 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a FIXME note about needing to control the calling frequency of handleAbandonedStructures externally
* Moved variable reductionAmount into the most local scope
* Rename iterator `i` to `player`
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4406 4a71c877-e1ca-e34f-864e-861f7616d084
* ASSERT on a condition that __will__ cause a double free()
* Only assign &sDefaultDesignTemplate to pTemplate if we're sure we can use it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4400 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't initialise vars that don't need initialising
* Use UDWORD instead of unsigned int as we're passing a pointer to those variables into a function that takes UDWORD* pointers, which can be dangerous if sizeof(unsigned int) != sizeof(UDWORD)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4395 4a71c877-e1ca-e34f-864e-861f7616d084
Also make those "size" variables const as they're never modified after initialisation
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4394 4a71c877-e1ca-e34f-864e-861f7616d084