Commit Graph

1745 Commits (3e14c0fb3d889fbc4afba44a32d04d8ecd32a7fd)

Author SHA1 Message Date
Rodolphe Suescun 62b6055732 Small change in water rendering code (will require changes
in tilesets).
Fixed 2 memory leaks.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@389 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-19 10:09:20 +00:00
Per Inge Mathisen e03c5cc2f5 Comment out two debug logs that were spamming too much for comfort during normal play.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@388 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-17 08:59:47 +00:00
Per Inge Mathisen 45a97f4204 Reinstate patch loading on game start for now, so that people can play without crashing
on building limits menu. This should be fixed properly later. See bug#4968. Reported 
first by dpblnt <dpblnt>. Added FIXME comment.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@387 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-16 18:55:31 +00:00
Per Inge Mathisen 68c879d8de Make "Warning: Using colour depth of 32 instead of 24." message a debug log message
instead of a printf. Requested by Christian Vest Hansen <karmazilla@gmail.com> in 
bug#4979.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@386 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-16 18:51:12 +00:00
Per Inge Mathisen 5b6b5ecf78 Add more info to command line option -help, patch by Christian Vest Hansen
<karmazilla@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@385 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-16 18:48:03 +00:00
Per Inge Mathisen 161dbd2e2a Fix transparency issue that made buttons become empty of its icon on mouseover. Error
crept in during PCX -> PNG conversion.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@384 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-16 18:44:08 +00:00
Dennis Schridde a166a71cc9 Commandline options changed:
-datapath is now named -datadir to match the internal variables again.
        Added -help to show all possible command line options.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@383 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-15 12:43:16 +00:00
Dennis Schridde d97c39b407 Fixes bug #4961
Thanks for this patch to Scott Balneaves <sbalneav>


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@382 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-15 11:44:13 +00:00
Dennis Schridde 16fe51a87e Added AutoPackage (http://www.autopackage.org/) support.
Show version in mainmenu.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@381 4a71c877-e1ca-e34f-864e-861f7616d084
2006-01-15 11:40:43 +00:00
Rodolphe Suescun 9a6e9fa9e2 Changes in the map selection GUI.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@380 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-28 18:28:12 +00:00
Rodolphe Suescun 12ad64f101 Added support for *.addon.lev files in mods.
small fixes in the GUI (support for more maps etc.).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@379 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-28 16:19:33 +00:00
Per Inge Mathisen 8fbafa0f4b Add more descriptive error message for missing texture pages.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@378 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-28 11:46:45 +00:00
Rodolphe Suescun 7cbcd91f70 Added support for addons directory.
Small fixes in openGL renderer.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@377 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-27 06:12:51 +00:00
Rodolphe Suescun 458fa98415 Converted remaining pcx files.
Tried to fix the patches-loaded-in-campaign-mode problem.
  this fix must be tested now...
Fixed problem with pasting host address.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@376 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-22 14:33:32 +00:00
Per Inge Mathisen 5c9ab850c1 Remove unused file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@375 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-10 15:51:19 +00:00
Per Inge Mathisen ca69e8eac4 Support "make DESTDIR", needed apparently for Gentoo and autopackage builds. Thanks to
devurandom for notifying me of the problem.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@374 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-10 00:49:08 +00:00
Rodolphe Suescun bf980c0263 Now when typing the address for the host, you can hit TAB to paste
it from clipboard... Works under Linux, must be tested under
Windows.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@373 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-05 20:59:14 +00:00
Rodolphe Suescun e2226d927d More Windows-related fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@372 4a71c877-e1ca-e34f-864e-861f7616d084
2005-12-05 16:47:41 +00:00
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