Giel van Schijndel
e811ab6c89
* Fix a compile error (needed to use OR '|', not a comma ',')
...
* Fix a warning due to the strange WinAPI (needs a char* but uses it as a char**)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3402 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 23:46:44 +00:00
Giel van Schijndel
0245c21866
* When PhysicsFS fails to retrieve the home/user directory fall back to using the current working directory
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3401 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 23:40:24 +00:00
Freddie Witherden
9099584718
Fix a bug introduced in r3339, thanks to Buggy for the heads up.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3400 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 22:44:42 +00:00
Giel van Schijndel
dfc4e101ad
* When cheating ourselvs new features & droids (in the CTRL+O debug menu) make sure to notify other hosts & players of this
...
Patch #920 with some modifications by me to make it compile and slightly simpler
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3399 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 21:55:23 +00:00
Giel van Schijndel
53abc0a73b
* Correctly fix "clever" use of malloc __without__ introducing a memory leak in the process (r3305 introduced one)
...
* Make sure we use the same signdness in IMAGEDEF as we did before r3302
* Use a correct format specifier ("%u") for printing an unsigned integer
* Turn a bunch of UDWORDs which don't necessarily need to be UDWORD into unsigned ints as one of those __does__ need to be an unsigned int (i does, for the printf format specifier)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3398 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 21:21:31 +00:00
Giel van Schijndel
12ea06d1b6
* Remove the IMG -> XML convertor script as the IMG format has been changed to CSV in r3302
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3397 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 20:53:45 +00:00
Per Inge Mathisen
eeb1c6832c
Add a number of options to the 3DS to PIE converter. It can now successfully import
...
3DS models made in 3DS Max to Warzone.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3396 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 20:26:15 +00:00
Giel van Schijndel
efda8508f6
* Replace pointer psFormation (which was used as a bool) from SAVE_MOVE_CONTROL and replace it with BOOL isInFormation
...
* This should make the saving & loading of mdroid.bjo, droid.bjo, munit.bjo, unit.bjo & limbo.bjo portable accross 32bit & 64bit platforms
* This __will__ break current savegames though
* Add functions SaveDroidMoveControl and LoadDroidMoveControl for saving&loading the SAVE_MOVE_CONTROL data
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3395 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 20:23:01 +00:00
Giel van Schijndel
f9d4dc0a6d
* Remove unused (and empty) droid.bjo file for map Rush
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3394 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 20:18:34 +00:00
Giel van Schijndel
e92eb0663c
* Fix wrong/out-of-date definition of SAVE_MOVE_CONTROL
...
* Remove some commented out (and definitly unrequired) SAVE_MOVE_CONTROL.psFormation storage code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3393 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 19:33:42 +00:00
Freddie Witherden
951850c894
Fix a small bug in projecticle.c (SDWORD used instead of a float) and update some comments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3392 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 19:19:58 +00:00
Giel van Schijndel
b8db6cdc17
* Rewrite some MSVC specific debug code which compares to check for 0xcd initialised memory (aka uninitialised memory)
...
* Also make this piece of code only compile when using MSVC (as other compilers/systems use other values to check for uninitialised memory)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3391 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 19:06:58 +00:00
Giel van Schijndel
322d1a056b
* Fix indentation
...
* A minor rewrite of two if-statements' conditions (this should __not__ change any behaviour)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3390 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 19:02:40 +00:00
Giel van Schijndel
9073d27734
* Correctly enter Doxygen comment mode (with "/**")
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3389 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 18:17:36 +00:00
Roman C
0b547158fe
Added some mini-pod templates for AIs.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3388 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 17:15:28 +00:00
Giel van Schijndel
34abd987e0
* Move part of the SAVE_DROID structure into the DROID_SAVE_V99 macro instead (was done wrongly in r811)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3387 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 17:09:27 +00:00
Freddie Witherden
b2e6cb07d7
Fix yet another bug in recvResearchStatus.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3386 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 16:14:55 +00:00
Giel van Schijndel
d135ff55a0
* Update the raw Makefile config.mk template
...
* Don't comment out the defaults as they're quite sane
* Use C:/devpkg as the default DEVDIR
* Add a comment above the stuff that's only needed for distributors
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3385 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 16:10:08 +00:00
Per Inge Mathisen
9c032e04ac
Fix a basic mistake in the converter, and make texture filenames lowercase.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3384 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 15:29:27 +00:00
Roman C
ecf36d44ad
More balance changes:
...
-this one mainly touches Ripple Rockets (more damage), BB (more damage), Mortars (more damage) and Assault Guns (less powerful)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3383 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 15:28:24 +00:00
Per Inge Mathisen
2455f1ee4d
A basic 3DS -> PIE format converter. Currently handles a single, textured
...
triangle mesh only.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3382 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 14:56:44 +00:00
Freddie Witherden
d6e85ff038
Fix some dodgy prototypes in multirecv.h () => (void).
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3381 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 14:27:46 +00:00
Per Inge Mathisen
441f4038e4
Replace a ton of custom texture clipping code with a single call to OpenGL scissor test.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3380 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 14:05:13 +00:00
Giel van Schijndel
720fc7fcec
* Bump debian pkg version number
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3379 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 13:16:36 +00:00
Per Inge Mathisen
bfb542e69e
Remove unused animation defines
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3377 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 12:12:26 +00:00
Freddie Witherden
abbc38f352
Commit patch #919 by Buginator along with some stylistic changes by myself.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3376 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 12:07:30 +00:00
Freddie Witherden
605b47b200
Commit patch #917 by Thomas Rast which fixes a bug in recvResearchStatus.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3375 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 11:50:24 +00:00
Dennis Schridde
475c47def9
Make keymap-assignment debug-output more verbose and move it from warning to never.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3374 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-06 00:25:57 +00:00
Giel van Schijndel
a2fe74852b
* Fix some errors in the Doxygen documentation
...
* Parameter descriptions for non-existing parameters removed
* Wrong parameter names renamed/fixed
* Syntax errors in passing the a parameter to a Doxygen command at the wrong location
* Prevent HTML interpretation of some comments
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3373 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 23:42:54 +00:00
Gerard Krol
3b332d4379
Prevent the camera from getting 'stuck' after moving it by right clicking on the map, and increase the height while moving to reduce the 'zoom out'
...
effect after arriving on the destination.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3372 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 22:13:54 +00:00
Dennis Schridde
e5caf5d2ad
update-po (adds Troman's new templates)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3371 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 22:10:47 +00:00
Dennis Schridde
b03ab065f9
Fix breakage from r3367: Soundfilenames were forgotten to be changed inside the sourcecode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3370 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 22:09:56 +00:00
Dennis Schridde
b72d76fd3b
Replace spaces in filenames with underscores.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3369 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:32:32 +00:00
Freddie Witherden
848f5a233b
Commit a modified versiob of patch #915 which fixes picking up artefacts in MP.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3368 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:26:44 +00:00
Dennis Schridde
389c0246d1
Rename some files with spaces in them.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3367 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:21:10 +00:00
Gerard Krol
629d7aab3c
Fix the warcam (pressing space) that broke in r3130, and remove an unused variable + add a newline to the end of a file to make the code compile
...
with -Werror again.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3366 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:04:03 +00:00
Dennis Schridde
939cc99b56
We don't anymore use AutoPackage, so remove its files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3365 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 21:00:56 +00:00
Dennis Schridde
c3d879b76c
Forgot to adapt src/Makefile in r3362...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3364 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 20:43:25 +00:00
Dennis Schridde
46ee786db6
We never use Ogg nor Vorbis directly, so we should only implicitly depend on it via vorbisfile.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3363 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 20:42:23 +00:00
Dennis Schridde
e5babd8ba5
Most of the current WIN32_LIBS and WIN32_PRE_LIBS are only required because we choose to compile statically.
...
So they should be pulled in where static compilation is choosen: Via settings LIBS for configure in the __BUILD_SCRIPT, eg.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3362 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 20:41:39 +00:00
Dennis Schridde
8e115eca6e
Tutorial fixes
...
- Fix a bug where you could build an oil-derrick too early.
- Prevent factory from being built before the voice has asked for it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3361 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 20:33:48 +00:00
Roman C
5def5be2ff
Added new templates necessary for the new version of Aivolution.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3360 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 19:57:52 +00:00
Roman C
09ee432cca
Commiting old scripting engine changes: this commit adds several new fields for droids necessary for threat avoidance as well as some new scripting functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3359 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 19:42:43 +00:00
Giel van Schijndel
d288708bab
* Don't write unused (i.e. it isn't ever read by EditWorld or Warzone) taglist.tag anymore when exporting maps (complements r3357)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3358 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 16:20:09 +00:00
Per Inge Mathisen
44714f6de5
Remove unused taglist.tag
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3357 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 16:09:56 +00:00
Freddie Witherden
347c8645dd
Commit the final part of patch #913 that ports send/recvResearchStatus over to the new netcode API.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3356 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 15:55:54 +00:00
Per Inge Mathisen
3f996d8a85
Fix bad rotation time for weapon turrets introduced by me in r3282.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3355 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 15:15:57 +00:00
Per Inge Mathisen
ae19f5bd54
Move PHYSFS_APPEND and PHYSFS_PREPEND macros to lib/framework/
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3354 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 14:50:16 +00:00
Per Inge Mathisen
eddebc7f81
Move some initialization code from src/ into lib/framework
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3353 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 13:50:34 +00:00
Giel van Schijndel
2e76e8d1f9
* Fixes bug #3 (trac-ticket), apparently in r3343 I forgot to change the Makefiles to include the tagdefinitions directory in the warzone.wz zipfile (the directory testdata was still used)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3352 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 13:37:49 +00:00