Commit Graph

7877 Commits (3f97c795c02d3a4bcd38ed8bfd1426758a10e281)

Author SHA1 Message Date
Per Inge Mathisen 6e6a2fbf9a Fix autotool build
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@371 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-03 16:07:40 +00:00
Rodolphe Suescun 9b001a7131 Integrated master server patch from Henri Valta.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@370 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-02 21:45:42 +00:00
Rodolphe Suescun ec247d7501 Generate audp parser/lexer using .y/.l files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@369 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-02 13:22:19 +00:00
Per Inge Mathisen 8968b30363 Drop the use of soon-to-be-deprecated function PHYSFS_setSaneConfig() and make the
default write directory warzone-2.0 for Windows and .warzone-2.0 for Linux under the 
user's home directory.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@368 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-02 08:48:36 +00:00
Rodolphe Suescun d3629e24f9 Fixed various file loading/saving in windows version (related to
using PHYSFS_getDirSeparator() to build paths).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@367 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-01 20:22:35 +00:00
Rodolphe Suescun f780a15b6d Decreased min camera distance (will be useful for artists).
Fixed paths for savegames and screendumps.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@366 4a71c877-e1ca-e34f-864e-861f7616d084
2005-11-30 21:09:38 +00:00
Rodolphe Suescun 6fedcb3d4d Fixed crash in sound lib.
Fixed shadow-related problem.
Fixed polygon flags (face culling and colour key related).
Added new tileset from Grim.
New warzone logo.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@365 4a71c877-e1ca-e34f-864e-861f7616d084
2005-11-29 16:20:35 +00:00
Per Inge Mathisen 6778317ddf Try to fix path problems in Windows, and add more debug logging of path operations for
easier future debugging. Problem reported by Grim.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@364 4a71c877-e1ca-e34f-864e-861f7616d084
2005-11-28 11:07:02 +00:00
No Author dbb6fc9f9b Modify properties to match Per's "initial import"
Original revision 4:
svn:author = per
svn:date = 2005-11-19T19:12:57.694186Z
svn:log = Initial import (from Berlios repository revision 361)

Original revision 361 indicated by this message now is revision 358 of this repository.
Revisions 359 and 360 have been included in here as well though (they originally where merged in r5 and r8 of the previous repository)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@363 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-28 19:08:38 +00:00
No Author 5ba7ddac6b Create final repository structure.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@362 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-28 17:47:08 +00:00
No Author d17e78a713 Clear out entire repository for move of codebase from BerliOS to Gna! repository hosting.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@361 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-28 17:09:32 +00:00
Victor Qamly 84ef68c532 Adding some of the tools for this project, that never got added.
WorldEdit : only works on windows platform.  Also needs ORIGINAL libs (inculded) to compile correctly)

PiePlugin (3ds Max -> .pie converter.  Which is used for the .pie formats of 3d models used in game.

BSPIMD - Loads IMD, Generates BSP tree, saves IMD with BSP infomation.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@345 4a71c877-e1ca-e34f-864e-861f7616d084
2005-10-22 21:13:48 +00:00
Per Inge Mathisen 5ca09c5cdb Backport infinite loop fix from branch.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@305 4a71c877-e1ca-e34f-864e-861f7616d084
2005-09-24 13:38:18 +00:00
Per Inge Mathisen 31c99f9fc1 Fix two cases of %s that should be %c in debug logging messages.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@252 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-16 21:46:35 +00:00
Per Inge Mathisen e8c89f6a7c Fix another signedness warning in OpenAL code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@251 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-16 21:43:36 +00:00
Per Inge Mathisen 2ff998ca19 Add configre check for ALut header, and include it if it exists. Also fix one signedness
warning in the openal code.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@250 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-16 21:37:51 +00:00
Christian Ohm 603ed27fba - Fix a few warnings.
- Remove the shell command variables from CFLAGS.



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@248 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-15 22:46:11 +00:00
Christian Ohm 99d9f6d513 Fixed the GNUmakefile/automake conflict. Invoke normal make build with "Make -f
Makefile.raw".



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@247 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-14 12:54:10 +00:00
Per Inge Mathisen 34c30df060 Fix some warnings, fix an error where a log message used %d where it should use %s.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@246 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-14 11:03:18 +00:00
Per Inge Mathisen 469327f006 Use #undef instead of #define something FALSE for turning defines off, since the latter
is understood by gcc as the opposite of what it was meant for, effectively turning a lot 
of debugging code on, instead of off. There may be other instances of this problem in 
the code.

To reiterate:

#define SOMETHING FALSE
#ifdef SOMETHING
#error This will be executed
#endif


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@245 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-14 11:00:17 +00:00
Christian Ohm 567749415c Rename the Makefiles to GNUmakefile to not collide with the automake generated
Makefiles.



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@244 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-13 21:07:08 +00:00
Christian Ohm ce9217bc39 Fix Makefile build.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@243 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-13 21:00:20 +00:00
Per Inge Mathisen 574e62bd5a Update configure build with most recent changes. Pure makefile build
has to be updated separately. (Can someone _please_ rename those 
makefiles?)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@242 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-13 18:49:28 +00:00
Per Inge Mathisen ed77b87a53 bitimage.c, fbf.c, imdload.c and imd.c moved into lib/ivis_common/. All
warnings removed from ivis02, ivis_common and ivis_opengl. STRING set to 
char, not unsigned char; any problems with this should be fixed elsewhere 
in the code - it is the right thing to do. All ENGINE_* except ENGINE_4104 
(SDL) and ENGINE_OPENGL (and ENGINE_UNDEFINED, of course) code removed 
(this made it much simpler to make the code sane wrt the above).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@241 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-13 18:47:28 +00:00
Per Inge Mathisen 4f1ccb7931 Some dead engine code removed. Some warnings killed. Better logging added. Fix for
Makefile.am that solves a potential linking problem with ivis_common. Removed checking 
for binary PIEs, which only existed on PSX.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@240 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-13 18:43:06 +00:00
Per Inge Mathisen abaa4fa350 Remove revision.h (autogenerated file) from revision control, as previously discussed.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@239 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-13 18:20:08 +00:00
Christian Ohm cff2cec8d8 Fix Makefile build.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@238 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 21:45:04 +00:00
Per Inge Mathisen 15c1f1eb31 Files forgotten in the previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@237 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 21:16:32 +00:00
Per Inge Mathisen d01c2360f7 Create lib/ivis_common/ which is code that is shared between software SDL and OpenGL
implementations. Start by sharing all identical header files, and bug.c for proof of 
concept. This breaks pure makefile builds, will try to fix in next commit.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@236 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 21:09:37 +00:00
Per Inge Mathisen 1bc281682e Remove unused DirectX check.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@235 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 20:39:58 +00:00
Per Inge Mathisen 6ba7942cb8 Remove some dead and unused DirectX code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@234 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 18:29:28 +00:00
Per Inge Mathisen e7eead3c7a Remove dead check for DirectX version.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@233 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 18:16:17 +00:00
Per Inge Mathisen 26afc339a4 Remove last bit of AMD 3DNow code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@232 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 18:13:41 +00:00
Per Inge Mathisen 1c3458fe82 Remove the unused, outdated AMD 3DNow! code. Both SDL and OpenGL support 3DNow.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@231 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-08 18:02:21 +00:00
Victor Qamly dc6d7963c6 Removed unneeded Alut.h include file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@230 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-07 18:50:49 +00:00
Victor Qamly a4f67a427c Adding the correct way to destroy the context according to the openAL SDK docs.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@229 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-07 04:39:04 +00:00
Victor Qamly 0dfb589fa0 Fixes for .net compiler, and some other fixes in handling of wrapped variables & NOT wrapped functions that used those variables.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@228 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-06 22:49:15 +00:00
Per Inge Mathisen a9aa16de39 New debug logging code, replacing the old code. Use command line options -debugfile and
-debug to control debugging output. Use debug() instead of printf or DBPRINTF for debug 
information.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@227 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-06 12:29:26 +00:00
Per Inge Mathisen c5ecd8c321 Properly reinitialize network-related variables. This should solve network problems
after the first time trying to connect which are "solved" by quitting and restarting the 
game. Patch by Henri Valta <henri.valta@kemi.fi>.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@226 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-04 12:04:43 +00:00
Per Inge Mathisen bbb9b995db Reenable --enable-debug and make it compile. Patch by Dennis Schridde
<devurandom@gmx.net>.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@225 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-04 11:46:10 +00:00
Per Inge Mathisen 1fb0ececc3 Finally remove annoying printf that I added for debugging, and use safer snprintf to ensure that we never again go overwriting random memory here.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@224 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 21:23:01 +00:00
Per Inge Mathisen 3346f67917 Revert previous repository revision number idea, since that could not possibly work. Put the previous work back with some changes to ensure builds are not silently broken when subversion command-line client not present.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@223 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 20:55:17 +00:00
Per Inge Mathisen ffec634777 Remove the old revision number hack.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@222 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 18:48:53 +00:00
Per Inge Mathisen dcaecafb4d The keyword was case-sensitive...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@221 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 18:02:59 +00:00
Per Inge Mathisen c6bec7cd73 Make use of revision.h to find the SVN revision number instead of a "stupid hack" (not my words) in Makefile.am that will only work in some Unix environments with svn command line client properly installed.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@220 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 18:00:07 +00:00
Per Inge Mathisen 2e02866a1e Set the 'Revision' keyword that tells Subversion to update and expand the $REVISION$ tag.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@219 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 17:54:42 +00:00
Per Inge Mathisen 7f74704b2f This header contains a define with the revision number of the repository, updated automatically by Subversion itself.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@218 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 17:47:28 +00:00
Per Inge Mathisen cd4d262cbf Reinstate check for alut (needed for autoconf compiles on mingw32 since there alut is a separate library), and only set LIBS for all but mingw32 after doing all checks, so that error reporting during autoconf runs becomes correct.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@217 4a71c877-e1ca-e34f-864e-861f7616d084
2005-08-03 09:46:25 +00:00
Christian Ohm 8db3abcd2e Remove -Wno-pointer-sign from CFLAGS. Sorry, I wasn't aware that's gcc 4 only.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@216 4a71c877-e1ca-e34f-864e-861f7616d084
2005-07-29 22:26:00 +00:00
Per Inge Mathisen 30dc376b1f Remove check for ALUT, add check for libjpeg.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@215 4a71c877-e1ca-e34f-864e-861f7616d084
2005-07-28 13:39:11 +00:00