Commit Graph

2728 Commits (73d329fde8d6572832181cbbf0022c972a43d454)

Author SHA1 Message Date
Giel van Schijndel 73d329fde8 * Fix a magic number (28) supposedly representing enum value NET_LEAVING (which is 18)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3423 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 23:07:36 +00:00
Giel van Schijndel 387b65ba65 * Apply what's left of patch #904 by Buginator (add a comment it contains)
* And modify a variable to an unsigned int (instead of a UBYTE) as we don't need no size guarantee there


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3422 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 22:55:42 +00:00
Giel van Schijndel ee131441e6 * Port structure.c over to the new netcode API
Patch #902 by Buginator with some minor changes by me


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3421 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 22:42:14 +00:00
Dennis Schridde bbbd4942fe Move the deps of our deps to the right of our deps...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3419 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 20:51:48 +00:00
Dennis Schridde e7ed93d5f9 - Move libraries to satisfy our dep's deps out of the PLATFORM choice, since they would be the same for windows and mingw32.
- Link against GLC instead of glc32 for windows, since that is what the devpkg contains.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3418 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 20:26:29 +00:00
Dennis Schridde f6a9f7c864 - Link against all required libs for PLATFORM=windows (How shall mingw32 be treated? Does make's syntax allow an OR? Then we could unify them again...)
- Remove -L. for mingw32, since libdbghelp.a is now included in the devpkg.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3417 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 20:23:23 +00:00
Giel van Schijndel 26699ed15d * Change the bugtraq:* properties on the entire trunk directory tree to use http://trac.wz2100.net as its bugtracker
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3416 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 16:45:25 +00:00
Giel van Schijndel 30b9c1d6b1 Fix two Doxygen errors:
* parameters `weaponClass` and `impactSide` of featureDamage() didn't have a description
 * parameter `subType` was wrongly referrered to as `type` of function sendMultiPlayerFeature

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3415 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 12:18:36 +00:00
Dennis Schridde ca607873eb Correct include paths for Makefile.raw:
- Include include/ after any other dir
- Add include/libpng12 to the paths


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3414 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-08 23:01:54 +00:00
Dennis Schridde 85a241f5f7 In Makefile.raw use $(RMF) and _not_ $(RM) to delete stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3413 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-08 22:32:24 +00:00
Per Inge Mathisen f7fbf845c0 Small cleanup to animation code, and fix copy&paste typo in 3ds2pie.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3412 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-08 21:58:05 +00:00
Giel van Schijndel 691f3640aa * Change the bugtraq:* properties on EditWorld's directory tree to use http://trac.wz2100.net as its bugtracker
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3411 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-08 18:03:51 +00:00
Giel van Schijndel 28f40cd637 * Initialise CBrushProp's member variables in the constructor's initialisation list instead of its code-body
* Rename some private member variables: s/m_\([^\s]\+\)/_\1/g

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3410 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-08 18:01:03 +00:00
Gerard Krol 0c5fff97b5 Patch by Kelly Anderson: Subtile changes to allow for building outside the source tree.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3406 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-08 13:24:25 +00:00
Giel van Schijndel c044483685 * Add doc/code to the ignore list since that's the directory where Doxygen puts its documentation
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3405 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-07 21:42:14 +00:00
Per Inge Mathisen 505e451f31 Patch #916 by Buginator to save number of games played, with style changes by me.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3404 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-07 20:49:01 +00:00
Per Inge Mathisen 5657b38ef0 Hopefully fix bug that would lock fps setting to defaults.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3403 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-07 20:48:29 +00:00
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