Commit Graph

9837 Commits (b3dcccba1dc0cedd7e2463a223875bf004a22cb7)

Author SHA1 Message Date
Dennis Schridde ab438de9a5 Fix some typos in the vcproj file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@532 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 15:30:07 +00:00
Dennis Schridde 506ec7a531 Use the same icon on Windows as on Linux. (centered)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@531 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 15:19:26 +00:00
Dennis Schridde c976c589ae Fixed MSVC overriding the obj-code for piestate.c when compiling the 2nd of the 2 files of the same name.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@530 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 14:16:09 +00:00
Per Inge Mathisen 9cb27d8729 Remove option to limit textures to 2mb of memory, which was unused.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@529 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 13:31:28 +00:00
Per Inge Mathisen 2386a3e924 Reduce amount of memory debug log spam. Turn some into debug() calls. Make ASSERT()
really assert() when in debug mode.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@528 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 13:16:12 +00:00
Per Inge Mathisen 90da3e40c8 Comment out an ASSERT which triggers when the 'Fast Play' tutorial is run.
I think this tutorial is calling the wrong message function here, so this
is probably just a workaround. In any case, it is called to display video
we no longer have.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@527 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 12:17:58 +00:00
Per Inge Mathisen 4cc429e687 Fix assertion warning and erronous variable assignment inside an ASSERT()
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@526 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 20:03:26 +00:00
Dennis Schridde fd7694dcc1 Update ChangeLog with latest changes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@525 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 19:58:28 +00:00
Per Inge Mathisen 5fce2d6c26 Add and fix a number of ASSERT() calls.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@524 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 19:52:38 +00:00
Dennis Schridde ba1eeeb37c Not finding any features of the wanted kind is not error, so dont return false.
Fixes bug #6516 where the AI stops searching for oil sources if it can't find them the first time.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@523 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 19:46:12 +00:00
Dennis Schridde af9f7f89f5 - debug.h: Let Warzone output ASSERT as debug( LOG_ERROR )
- block.c: Fix some malicious conversion from pointer to int


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@522 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 19:42:56 +00:00
Per Inge Mathisen 31fe5565aa Fix assertion in mouse code. We checked for mouse values that
only worked pre-SDL-porting.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@521 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 18:11:44 +00:00
Per Inge Mathisen 8dc0fc2878 Remove some remaining support for saving and loading binary scripts,
used only on the PSX.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@520 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 17:19:35 +00:00
Dennis Schridde 9ac6649c35 Strip Makefile.raw build in release mode and add support for .rc files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@519 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 14:59:36 +00:00
Dennis Schridde 21bc293764 Prevent nameclash when using rc file for Makefile.raw build in the future.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@518 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 14:57:40 +00:00
Dennis Schridde c8f3764834 Update Visual C++ project and add MSVC 2005 solution file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@517 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-04 14:01:41 +00:00
Dennis Schridde 2c72cfa09d Should be what Troman meant how to fix bug#6464 (Wz uses wrong AI version).
Can we delete the old AI?


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@516 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-03 18:37:35 +00:00
Dennis Schridde 7cf742e5b3 Finaly fix configure.ac to export REVSION=`svnversion -n .` instead of the current revsion, so we get the correct revision on every make.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@515 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-03 09:55:24 +00:00
Dennis Schridde 937e9b243d Move all multiplayer things to mp/addon.lev, so they get marked as being multiplayer.
This should solve the wrong AI bug. (bug#6464)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@514 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-01 19:01:28 +00:00
Dennis Schridde eaff16d04d Make MinGW compile a windows app instead of a console app. (Suggested by the MinGW docs. Probably got removed by me some time ago when redoing the Makefile.raw)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@513 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-01 19:00:21 +00:00
Dennis Schridde 49df018649 - Output Version and Revision to log
- Fix a pointer warning


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@512 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-31 18:27:01 +00:00
Dennis Schridde 26143d082c - More debug() calls
- Platform dependend LDFLAGS change for Makefile.raw


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@511 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-31 17:57:06 +00:00
Dennis Schridde bb4b7e82b6 - Update versioninfo in configure.ac and warzone.rc
- Cosmetic change in debug.c (Mark begin of the log with "---")
- Fix bug where PhysFS said WriteDir "Warzone-2.0\" is insecure and refused to create it (bug#6466)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@510 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-31 17:02:45 +00:00
Dennis Schridde 83046470f2 - Updated CHANGELOG
- Makefile.raw doesn't try to link every .o to GL on Linux anymore
- Fixed PhysicsFS ignorecase to not create a Doxygen mainpage


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@509 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-30 15:58:59 +00:00
Dennis Schridde 61fc63cf13 Remove unused file fbf.[ch] (Included file management functions.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@508 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-30 15:56:11 +00:00
Per Inge Mathisen 4838aec32d Fix possible array index bug in script code. Reported by iamtheari on the rts.net forums.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@507 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-26 18:48:34 +00:00
Per Inge Mathisen 56279a0bb7 Remove more dead code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@506 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-24 20:12:36 +00:00
Per Inge Mathisen 6a42b3d07b Clean up display3d a bit, removing redundant or obsolete code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@505 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-24 19:42:30 +00:00
Per Inge Mathisen f52bebc31f Remove some dead playstation code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@504 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-24 17:52:24 +00:00
Per Inge Mathisen 9a4a6598cf Remove reference to 3dfx in the screen shot key mapping. You must delete
your key mapping file for this to take effect.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@503 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 11:52:23 +00:00
Per Inge Mathisen 2b0117a234 The new top secret password to make the game start in cheat mode is '-secret'!
To make the game enter cheat mode, start it as 'warzone -secret'.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@502 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 11:49:50 +00:00
Per Inge Mathisen ade47a9c36 Remove some now unused code used previously by software renderer only.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@501 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 11:31:51 +00:00
Per Inge Mathisen 3630fba539 Remove last remains of pie_hardware()
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@500 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 11:24:54 +00:00
Per Inge Mathisen 549c97d926 Remove even more pie_hardware() related stuff
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@499 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 11:09:10 +00:00
Per Inge Mathisen c28b3b0f10 Remove some more pie_hardware() code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@498 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 11:08:14 +00:00
Per Inge Mathisen 711ca1ff01 Remove a great deal of software renderer related code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@497 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-23 10:35:30 +00:00
Per Inge Mathisen a196f0af47 Clean up the texture loader, and removing software renderer code paths.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@496 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-22 23:35:48 +00:00
Per Inge Mathisen 0c376b9854 Fix configure.ac - cannot remove the renderer=opengl variable just yet!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@495 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-22 23:32:49 +00:00
Dennis Schridde 5bdfeec464 Remove ivis02 (software renderer)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@494 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-22 22:23:43 +00:00
Dennis Schridde 6e51fcc470 Updated CHANGELOG and TODO
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@492 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-22 14:05:08 +00:00
Dennis Schridde 8e00128d68 Small typo fixes for Makefile.raw build system
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@491 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 21:58:57 +00:00
Dennis Schridde 3116f462fc New Makefile.raw system, works with MinGW/Windows environment and Linux also.
Uses a config.mk.tmpl file to set system dependend stuff, no bash required.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@490 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 21:48:55 +00:00
Dennis Schridde 07dcf43518 Fix deprecated function declaration
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@489 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 21:46:23 +00:00
Per Inge Mathisen 1fedb0895a Remove some dead code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@488 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 20:14:06 +00:00
Per Inge Mathisen b8e4ca782f Remove security hole-in-a-function NetGetSt(), which was thankfully not used
anywhere in the code.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@487 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 20:01:01 +00:00
Per Inge Mathisen 6166aa48d3 Increase size of filename buffer in network code to avoid possibility of an
overflow.  Thanks to Luigi Auriemma <aluigi@autistici.org> for finding 
and reporting the problem.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@486 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 19:38:55 +00:00
Per Inge Mathisen 69f5d2e395 Fix some hairy if logic.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@485 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 18:49:00 +00:00
Per Inge Mathisen 258fa2ce9d Fix security bug in network code. Player could send a text message of size larger than receiving
buffer. Thanks to Luigi Auriemma <aluigi@autistici.org> for finding and reporting the problem.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@484 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 18:42:50 +00:00
Dennis Schridde 48374f47ee Updated changelog for 2.0.4
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@483 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-21 15:39:51 +00:00
Per Inge Mathisen 6606ccaf78 Fix second last warning in src/, which leaves only the probable bug in move.c
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@482 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-20 21:18:36 +00:00