Commit Graph

1902 Commits (beb24f3d10b9b67e59a2d2b4e2cb1e20dcea6aa7)

Author SHA1 Message Date
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
Per Inge Mathisen 768e28914f Fix some more warnings in src/
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@481 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-20 21:04:01 +00:00
Per Inge Mathisen 84aed800b4 Add comment about possible bug in the waypoint code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@480 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-20 20:33:29 +00:00
Per Inge Mathisen 3ea637bc01 Fix warnings in game.c
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@479 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-20 20:15:20 +00:00
Per Inge Mathisen 48ad3e614a Change research count's variable type, since the type's maximum was lower than the defined limit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@478 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-20 19:29:44 +00:00
Dennis Schridde dcf1b713ae Fix crash when using uppercase savegame names.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@477 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-20 08:47:18 +00:00
Dennis Schridde 4c2ca93992 Fix $REVISION=`svnversion` being expanded autoconf process instead of in configure process.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@476 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-19 21:51:44 +00:00
Dennis Schridde 2ef17b46a1 Support 16bpp but warn the user about graphics problems.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@475 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-19 21:26:09 +00:00
Dennis Schridde 0c47650a6c - Fix playlist music for use with PhysFS
- Fix memleak when not calling ov_clear(&ogg_stream)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@474 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-17 22:21:13 +00:00
Dennis Schridde ffbf96fc08 Fix infinite loop in playlist loading. There still doesn't seem to be any music...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@473 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-17 20:48:39 +00:00
Dennis Schridde eda1fdc2a4 Make it possible for releases to define their own revision (for display in mainmenu).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@472 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-17 20:04:27 +00:00
Angus Lees 8f42899078 Run update-desktop-database on install (via dh_desktop).
Add icon to menu file too (use netpbm to convert to required 32x32 xpm).
Minor cleanups to debian/rules and package description.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@471 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-14 21:18:27 +00:00
Dennis Schridde 0ed2fecc99 Logo centered
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@470 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-14 17:27:23 +00:00
Dennis Schridde 5da0be51a6 AutoPackage installs desktop entry and icon
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@469 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-13 15:26:59 +00:00
Dennis Schridde f65c754579 Patch for Debian package builder by Pavel(Madman2k)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@468 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-13 14:52:34 +00:00
Dennis Schridde 941da64be3 - Document -mod enabling in -help
- Change framerate to 60


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@467 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-08 20:38:00 +00:00
Dennis Schridde ca00469943 Reverted AutoPackage build to be release. (Changed to debug probably by accidential commit.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@466 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-08 19:24:56 +00:00
Dennis Schridde 4297596af8 - Indent fixes
- More debug output.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@465 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-08 15:39:50 +00:00
Dennis Schridde f8c1cf3f7d - Fix searchpath priorities
- Also tried to fix memleaks


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@464 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-07 14:08:48 +00:00
Dennis Schridde 349b8de00e - AutoPackage download path change
configure.ac:
- Make OpenGL mandatory
- check for jpeg/png headers
- merge in my DEFAULT_DATADIR patch, because in the AutoConf manual it is listed as prefered
- Change YFLAGS/LFLAGS to make it easier for me to play with Bison/Flex
Others:
- Dont require -datadir to end with a dir separator
- Small PHYSFS fix

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@463 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-06 21:45:04 +00:00
Angus Lees bab30cef73 Fix include path (not that ivis02 actually compiles or anything..)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@462 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-06 21:30:44 +00:00
Angus Lees 533a4ba5b6 Define correct DEFAULT_DATADIR variable
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@461 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-06 21:28:37 +00:00
Angus Lees 2065bb794f Add Debian packaging files.
Debian packages can be built with a command like:
 dpkg-buildpackage -rfakeroot -b -uc

Any 'official' .deb release should update debian/changelog before
building (particularly the version number).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@460 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-06 21:26:45 +00:00
Dennis Schridde db7b3190db - Fix the Makefile.am for SDL_framerate.c
- Fix a doubled dirSeparator in subdirs
- Fix accidential DLL creation on MSVC

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@459 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-05 22:19:23 +00:00
Dennis Schridde e9e58f3664 - Limit the framerate to 30 fps. Easily imported functionality from SDL_gfx project (http://www.ferzkopp.net/Software/SDL_gfx-2.0/).
- Fixed previous patch yet again.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@458 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-05 20:39:13 +00:00
Dennis Schridde 22aa133fca Fixed bug#5883 where Flex or Bison could be not installed without warzone complaining about it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@457 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-04 22:21:04 +00:00
Dennis Schridde 8160a01327 Nothing new, just fixes for last patch.
- Resolved a name conflict of SearchPath on Windows
- Cleaned up debugging messages
- Fixed illegal loading of empty path (root element of searchPathRegistry) (caused a bunch of indent changes)
- Always make WriteDir first entry in searchPath
- Fixed WZ_WRITEDIR for Windows

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@456 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-04 15:42:24 +00:00
Dennis Schridde eb7ba7e41d - Again revised the modloading(restrictions were stupid) (src/levels.c,src/init.[ch],src/multiint.c,src/main.c)
- Fixed case problem with noVideo.rpl (lib/sequence/sequence_stub.c)
- Fixed some G++ 4.1 compile problems (mostly invalid conversions) (lib/script/script_parser.y,lib/framework/frame.h,lib/framework/frameresource.c,lib/framework/frameresource.h,lib/framework/input.c,lib/framework/configfile.c,lib/framework/frame.c)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@455 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-04 13:35:01 +00:00
Dennis Schridde 6a96159075 - Again revised the way data paths are searched. See CHANGELOG for details.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@454 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-03 22:00:05 +00:00
Dennis Schridde 1e7967c6e4 Update with latest changes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@453 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-03 19:46:56 +00:00
Dennis Schridde 1b1a695684 - Fixed a HEAP error (Invalid Address specified to RtlFreeHeap) on Windows (MSVC compile) (src/data.c)
- Pointed out other locations where that error could occur (src/data.c, lib/ivis_common/pcx.c)
- Deprecated pie_ReloadTexPage, as it doesn't appear to be used (lib/ivis_opengl/tex.c)
- Made iSprite width and heigth unsigned (lib/ivis_common/pietypes.h)
- Added debugging for MSVC which doesn't understand the DB* redefines (lib/ivis_common/bitimage.c)
- Fixed deprecation for MSVC (lib/framework/macros.h

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@452 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-03 19:43:12 +00:00
Dennis Schridde 8627f307cc - Fixed crash due to freeing 2 times.
- Cleaned up unneeded frees from last memleak fix.
- Added debug info as allways.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@451 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-03 16:24:32 +00:00
Dennis Schridde ee8d18ef48 - Big memleak fixed
- DB* replaced by debug calls
- Added MSVCRT debugging flags for finding memleaks
- Added points to the TODO

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@450 4a71c877-e1ca-e34f-864e-861f7616d084
2006-07-01 19:11:05 +00:00
Dennis Schridde 010af46277 - Again a new point added (Got the idea when closing BRs ;) )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@449 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-30 22:35:23 +00:00
Dennis Schridde a0a006fb12 - Updated TODO with lots of things need to be done
- Fixed a redefinition when using MSVC

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@448 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-30 19:25:05 +00:00
Dennis Schridde 357c07374f - Added Ben Russons nickname
- Fixed configure.ac which was requiring AutoConf 2.60 due to an autoupdate

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@447 4a71c877-e1ca-e34f-864e-861f7616d084
2006-06-30 15:37:31 +00:00