* ROUND: replace by a static inline function (math_round) instead
* FRACTCONST: this macro just cast both of its arguments to float and then divide the first by the second
* MAKEFRACT_D: this macro would cast to FRACT_D (which was typedef'd as float but should have been typedef'd as double); so cast to double instead (where required)
* FRACTmul_D: would cast both of its arguments to FRACT_D and multiply them
* FRACTdiv_D: would cast both of its arguments to FRACT_D and divide the first by the second
* MAKEINT & MAKEINT_D (where #defined the same); this macro would just cast to SDWORD (aka "int" or "signed int")
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3152 4a71c877-e1ca-e34f-864e-861f7616d084
* Also send a console text message to all players when a user does cheat himself a building
Patch #898 by Buginator; comments written by me
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3150 4a71c877-e1ca-e34f-864e-861f7616d084
* and especially don't use the wrong delete operator!! (delete [] String; was necessary not without the '[]')
Greater ease in porting to wxWidgets:
* Rename class CExportInfo to ExportInfo
* Pass the string to display to ExportInfo's constructor rather than funking around with its member variables (encapsulation!)
* Clean up & remove large portions of ExportInfo's (unnecessary) code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3149 4a71c877-e1ca-e34f-864e-861f7616d084
- Added some names/nicks where they were missing
- List area of main contribution (:)
- Include credits for major achievements (+)
Feel free to enhance...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3142 4a71c877-e1ca-e34f-864e-861f7616d084
Depends on Python 2.5, but we should have that on the server very soon.
Should effectively help fight ghostgames and also be easily extensible in the future. (Gerhard talked about a web-interface with admin functions. :) )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3139 4a71c877-e1ca-e34f-864e-861f7616d084
* This directory currently __needs__ to exist already!
Patch #896 by Buginator with some changes by me:
* Renamed "userdir" to "configdir"
* Split up PhysicsFS initialisation so that we call PHYSFS_init before gettext initialisation and select the write directory __after__ early command line parsing
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3138 4a71c877-e1ca-e34f-864e-861f7616d084
* Used this for the change in r3136 though I accidentally didn't commit it there...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3137 4a71c877-e1ca-e34f-864e-861f7616d084
* Make sure to pass the buffer size as well to getPlatformUserDir (so that we can use strlcpy & strlcat instead of strcpy & strcat respectively)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3135 4a71c877-e1ca-e34f-864e-861f7616d084
* Convert the tilesets 4, 5, 6 and 7 to the separate tile per-file tilesets (using the tile_texpage2mipmap_tileset tool)
* Purposefully skipped 1, 2 and 3 since I think those are __exactly__ the same to the WZ's original tileset
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3129 4a71c877-e1ca-e34f-864e-861f7616d084
* Utilize the net primitives API for sending & receiving of different types of gifts
Patch #888 by EvilGuru
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3123 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove some useless casts
* Rewrite some "else { if (X) { } }" statements to "else if (X) { }"
* Rewrite several "if (X) { if (Y) { } }" statements to "if (X && Y) { }"
* Remove some commented out (and sometimes also duplicated) code
* Add some tiny bits of comments here & there
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3119 4a71c877-e1ca-e34f-864e-861f7616d084
* This command will cause the amount of samples in the sound library's queues & lists to be constantly displayed (until turned off) on screen
Patch #887 by Buginator
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3107 4a71c877-e1ca-e34f-864e-861f7616d084