[Warzone-commits] r597 - in /trunk/lib: framework/mem.c framework/mem.h gamelib/hashtabl.c ivis_opengl/bspimd.c ivis_opengl/screen.c netplay/netplay.c script/event.c widget/form.c

2007-01-04 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jan 4 18:03:32 2007 New Revision: 597 URL: http://svn.gna.org/viewcvs/warzone?rev=597view=rev Log: * expand the use of compiler-guards (C preprocessor macros) so that not only the forward declarations and referring macros are guarded, but the referred functions as

[Warzone-commits] r600 - in /trunk/lib: netplay/netplay.c sequence/rpl_reader.h

2007-01-04 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jan 4 21:24:26 2007 New Revision: 600 URL: http://svn.gna.org/viewcvs/warzone?rev=600view=rev Log: * fixed some compiler warnings - except for script and sound all libs can now be compiled using -Werror (means they generate no warnings) and without -fpermissive

[Warzone-commits] r602 - /trunk/lib/framework/mem.c

2007-01-05 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jan 5 19:00:46 2007 New Revision: 602 URL: http://svn.gna.org/viewcvs/warzone?rev=602view=rev Log: * fix compiler issues with non-C99 conforming compilers Modified: trunk/lib/framework/mem.c ___ Warzone-commits

[Warzone-commits] r611 - in /trunk: lib/framework/ lib/ivis_common/ lib/ivis_opengl/ src/

2007-01-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jan 8 00:50:30 2007 New Revision: 611 URL: http://svn.gna.org/viewcvs/warzone?rev=611view=rev Log: enabled some more code to compile with a C++ compiler without -fpermissive (i.e. there should be *less* compile-time errors now) * moved several #defines to the enums

[Warzone-commits] r612 - in /trunk: makerules/configure.mk src/csnap.c src/game.c src/levels.c src/map.c src/multiint.c src/multilimit.c src/multiopt.c src/multistat.c src/radar.c src/scores.c src/scr

2007-01-08 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jan 8 13:42:51 2007 New Revision: 612 URL: http://svn.gna.org/viewcvs/warzone?rev=612view=rev Log: ISO C 90 (or C-99 without GNU-extensions) compatibility fix: * change all casts using the typeof() keyword to their respective typename * append a compiler flag for

[Warzone-commits] r613 - in /trunk: lib/script/stack.c makerules/configure.mk src/aud.c src/hci.c src/hci.h src/intelmap.c src/mapdisplay.c src/mapdisplay.h src/multibot.c src/projectile.c src/scriptv

2007-01-08 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jan 8 14:40:12 2007 New Revision: 613 URL: http://svn.gna.org/viewcvs/warzone?rev=613view=rev Log: * cast some void*(*) variables to their respective types * remove -fno-gnu-keywords from GCC because it seems to be only for C++/ObjectC (Doh!), and the variant for C

[Warzone-commits] r615 - /branches/sound/TODO

2007-01-08 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jan 8 19:31:51 2007 New Revision: 615 URL: http://svn.gna.org/viewcvs/warzone?rev=615view=rev Log: Added a general TODO for what is required to be done on the sound-system Added: branches/sound/TODO (with props) ___

[Warzone-commits] r616 - /trunk/src/statsdef.h

2007-01-08 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jan 8 19:51:12 2007 New Revision: 616 URL: http://svn.gna.org/viewcvs/warzone?rev=616view=rev Log: apply proper use of enums (i.e. not defining the current value to be the previous one +1) Modified: trunk/src/statsdef.h

[Warzone-commits] r617 - /trunk/lib/sound/openal_track.c

2007-01-08 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jan 8 23:35:43 2007 New Revision: 617 URL: http://svn.gna.org/viewcvs/warzone?rev=617view=rev Log: workaround for bug #8198 Modified: trunk/lib/sound/openal_track.c ___ Warzone-commits mailing list

[Warzone-commits] r631 - in /branches/sound: ./ data/ lib/framework/ lib/gamelib/ lib/script/ makerules/ nsis/ src/ win32/

2007-01-10 Thread Giel van Schijndel
Author: muggenhor Date: Wed Jan 10 20:56:33 2007 New Revision: 631 URL: http://svn.gna.org/viewcvs/warzone?rev=631view=rev Log: Merged in trunk changes r614:r630 Added: branches/sound/win32/FlexBison.rules - copied unchanged from r630, trunk/win32/FlexBison.rules

[Warzone-commits] r653 - in /branches/sound: makerules/configure.mk src/game.c

2007-01-15 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jan 15 18:53:12 2007 New Revision: 653 URL: http://svn.gna.org/viewcvs/warzone?rev=653view=rev Log: backport trunk changes 651:652 (needed makefile fix) Modified: branches/sound/makerules/configure.mk branches/sound/src/game.c

[Warzone-commits] r659 - /trunk/lib/sound/openal_track.c

2007-01-17 Thread Giel van Schijndel
Author: muggenhor Date: Wed Jan 17 22:39:38 2007 New Revision: 659 URL: http://svn.gna.org/viewcvs/warzone?rev=659view=rev Log: (empty) Modified: trunk/lib/sound/openal_track.c ___ Warzone-commits mailing list Warzone-commits@gna.org

[Warzone-commits] r660 - /trunk/lib/sound/openal_track.c

2007-01-17 Thread Giel van Schijndel
Author: muggenhor Date: Wed Jan 17 23:18:59 2007 New Revision: 660 URL: http://svn.gna.org/viewcvs/warzone?rev=660view=rev Log: removed alGetError() error-check because an al* error couldn't be legally generated at this stage since no al* calls are made yet Modified:

[Warzone-commits] r661 - in /branches/sound/lib/sound: soundbase.cpp soundbase.h stream.cpp stream.h types.h

2007-01-18 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jan 18 22:44:10 2007 New Revision: 661 URL: http://svn.gna.org/viewcvs/warzone?rev=661view=rev Log: soundlib: * add include header guards on types.h * add a container to the main OpenAL handling class to contain the stream classes (aids in RAII in case of unloading

[Warzone-commits] r662 - in /branches/sound: ./ lib/framework/ lib/gamelib/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/sequence/ lib/sound/ lib/widget/ src/

2007-01-18 Thread Giel van Schijndel
Author: muggenhor Date: Thu Jan 18 23:13:55 2007 New Revision: 662 URL: http://svn.gna.org/viewcvs/warzone?rev=662view=rev Log: * backport 654:661 * Add GPL notice to new sound files Modified: branches/sound/AUTHORS branches/sound/lib/framework/SDL_framerate.c

[Warzone-commits] r684 - /trunk/src/ai.c

2007-01-28 Thread Giel van Schijndel
Author: muggenhor Date: Sun Jan 28 17:28:45 2007 New Revision: 684 URL: http://svn.gna.org/viewcvs/warzone?rev=684view=rev Log: fixes disabling of utility droids' target updates (according to Watermelon's comment in Message-ID: [EMAIL PROTECTED] ) Modified: trunk/src/ai.c

[Warzone-commits] r685 - /trunk/src/ai.c

2007-01-28 Thread Giel van Schijndel
Author: muggenhor Date: Sun Jan 28 18:26:00 2007 New Revision: 685 URL: http://svn.gna.org/viewcvs/warzone?rev=685view=rev Log: Improved code readability by Dennis' advice. * First reverted changes of r684, then modified the r683 version to work according to Watermelon's specifications.

[Warzone-commits] r686 - /trunk/src/projectile.c

2007-01-28 Thread Giel van Schijndel
Author: muggenhor Date: Sun Jan 28 19:19:32 2007 New Revision: 686 URL: http://svn.gna.org/viewcvs/warzone?rev=686view=rev Log: Modification 8 by Watermelon's bugfix patch: * Changed establishTargetHeight in projectile.c to use pIMD rather than displayImd for structures to fix some weird height

[Warzone-commits] r693 - in /trunk: lib/ivis_common/ lib/netplay/ src/

2007-01-29 Thread Giel van Schijndel
Author: muggenhor Date: Tue Jan 30 00:17:46 2007 New Revision: 693 URL: http://svn.gna.org/viewcvs/warzone?rev=693view=rev Log: * Remove yet another set of unused (or empty) functions * Remove an unused, local, function-variable * Remove some file-global, static variables Modified:

[Warzone-commits] r694 - in /branches/2.0: lib/ivis_common/ lib/netplay/ src/

2007-01-29 Thread Giel van Schijndel
Author: muggenhor Date: Tue Jan 30 00:29:18 2007 New Revision: 694 URL: http://svn.gna.org/viewcvs/warzone?rev=694view=rev Log: backport warning fixes from trunk into 2.0 * r692:r693 Modified: branches/2.0/lib/ivis_common/piestate.c branches/2.0/lib/ivis_common/piestate.h

[Warzone-commits] r695 - in /branches/sound: ./ autopackage/ data/ data/mp/wrf/ data/script/data/ data/script/fastplay/ data/wrf/ debian/ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/

2007-01-29 Thread Giel van Schijndel
Author: muggenhor Date: Tue Jan 30 00:37:54 2007 New Revision: 695 URL: http://svn.gna.org/viewcvs/warzone?rev=695view=rev Log: backport from trunk r662:r694 Modified: branches/sound/AUTHORS branches/sound/autopackage/default.apspec.in branches/sound/configure.ac

[Warzone-commits] r710 - in /branches/sound/lib/sound: Makefile.raw constants.cpp constants.hpp interface.cpp openal/buffer.hpp openal/context.hpp openal/source.cpp openal/source.hpp sound.h stream.cp

2007-02-05 Thread Giel van Schijndel
Author: muggenhor Date: Mon Feb 5 21:15:59 2007 New Revision: 710 URL: http://svn.gna.org/viewcvs/warzone?rev=710view=rev Log: * add file to contain constants (constants.hpp) * do some checking for unexpected OpenAL results when enumerating sound devices * move OpenAL's source queue

[Warzone-commits] r723 - in /branches/sound/lib/sound: decoding.cpp decoding.hpp stream.cpp stream.hpp stringconv.hpp

2007-02-09 Thread Giel van Schijndel
Author: muggenhor Date: Fri Feb 9 13:05:14 2007 New Revision: 723 URL: http://svn.gna.org/viewcvs/warzone?rev=723view=rev Log: * add a template for conversion of numbers (among others) to std::string (stringconv.hpp) * add a class for providing of decoded PCM data; soundDecoding * turned

[Warzone-commits] r725 - in /branches/sound/lib/sound: constants.hpp decoding.cpp interface.cpp openal/source.cpp stream.cpp stream.hpp

2007-02-09 Thread Giel van Schijndel
Author: muggenhor Date: Fri Feb 9 22:11:22 2007 New Revision: 725 URL: http://svn.gna.org/viewcvs/warzone?rev=725view=rev Log: * removed an unnecessary include in constants.hpp * confined some code by making it `static` (in decoding.cpp) * perform some more error checking in openal/source.cpp

[Warzone-commits] r733 - /trunk/makerules/configure.mk

2007-02-11 Thread Giel van Schijndel
Author: muggenhor Date: Sun Feb 11 14:28:44 2007 New Revision: 733 URL: http://svn.gna.org/viewcvs/warzone?rev=733view=rev Log: fix linker order: * PHYSFS sometimes depends on libZ (e.g. when PHYSFS_close is called on an opened file, which it now probably never is since WZ links fine with wrong

[Warzone-commits] r737 - /branches/sound/lib/sound/openal/device.cpp

2007-02-11 Thread Giel van Schijndel
Author: muggenhor Date: Sun Feb 11 19:05:26 2007 New Revision: 737 URL: http://svn.gna.org/viewcvs/warzone?rev=737view=rev Log: * fix incomplete variable initialization list in soundDevice Modified: branches/sound/lib/sound/openal/device.cpp ___

[Warzone-commits] r739 - in /branches/sound/lib/sound/openal: buffer.cpp buffer.hpp device.cpp device.hpp source.cpp source.hpp

2007-02-11 Thread Giel van Schijndel
Author: muggenhor Date: Sun Feb 11 22:39:35 2007 New Revision: 739 URL: http://svn.gna.org/viewcvs/warzone?rev=739view=rev Log: * some code optimizations (i.e. moving very small code to inline functions) * check for invalid ID numbers (soundContext in openal/context.*) * add some code to allow

[Warzone-commits] r748 - in /branches/sound: ./ data/ data/audio/ data/audio/multi/ data/messages/strings/ data/mp/audio/ data/mp/texpages/ data/mp/wrf/ data/texpages/ data/texpages/bdrops/ data/wrf/

2007-02-14 Thread Giel van Schijndel
Author: muggenhor Date: Wed Feb 14 19:22:43 2007 New Revision: 748 URL: http://svn.gna.org/viewcvs/warzone?rev=748view=rev Log: backport 695:739 from trunk Added: branches/sound/data/audio/audio.cfg - copied unchanged from r747, trunk/data/audio/audio.cfg

[Warzone-commits] r750 - /trunk/src/design.c

2007-02-14 Thread Giel van Schijndel
Author: muggenhor Date: Wed Feb 14 19:46:07 2007 New Revision: 750 URL: http://svn.gna.org/viewcvs/warzone?rev=750view=rev Log: Patch by Gerard Krol (as in message [EMAIL PROTECTED] on the dev mailing list) Comment on it as by Gerard: * This patch prevents a segfault when designing a droid on

[Warzone-commits] r751 - /branches/2.0/nsis/warzone2100.nsi /branches/sound/nsis/warzone2100.nsi /trunk/nsis/warzone2100.nsi

2007-02-14 Thread Giel van Schijndel
Author: muggenhor Date: Wed Feb 14 20:11:56 2007 New Revision: 751 URL: http://svn.gna.org/viewcvs/warzone?rev=751view=rev Log: * Fix unterminated string Modified: branches/2.0/nsis/warzone2100.nsi branches/sound/nsis/warzone2100.nsi trunk/nsis/warzone2100.nsi

[Warzone-commits] r765 - /branches/2.0/src/design.c

2007-02-16 Thread Giel van Schijndel
Author: muggenhor Date: Fri Feb 16 21:12:46 2007 New Revision: 765 URL: http://svn.gna.org/viewcvs/warzone?rev=765view=rev Log: backport r750, r753, r764: * prevents a segfault on 64bit systems * some code cleaning Modified: branches/2.0/src/design.c

[Warzone-commits] r792 - in /trunk: lib/sound/track.c lib/sound/track.h src/data.c

2007-02-19 Thread Giel van Schijndel
Author: muggenhor Date: Mon Feb 19 22:52:27 2007 New Revision: 792 URL: http://svn.gna.org/viewcvs/warzone?rev=792view=rev Log: * removed some redundant code from src/data.c: - the function dataAudioLoad first checked whether the audio system is disabled and if it is sets return buffer

[Warzone-commits] r850 - in /branches/sound: ./ autopackage/ data/ data/audio/ data/mp/stats/ lib/framework/ lib/gamelib/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/sequence/ lib/s

2007-03-06 Thread Giel van Schijndel
Author: muggenhor Date: Tue Mar 6 21:33:28 2007 New Revision: 850 URL: http://svn.gna.org/viewcvs/warzone?rev=850view=rev Log: * Backport/Merge r748:784 from trunk * Slight update to TODO file (I'm not good at keeping those readable for others ;-) ) Removed:

[Warzone-commits] r879 - in /branches/sound/lib/sound: openal/source.cpp openal/source.hpp stream.cpp stream.hpp

2007-03-15 Thread Giel van Schijndel
Author: muggenhor Date: Thu Mar 15 20:16:33 2007 New Revision: 879 URL: http://svn.gna.org/viewcvs/warzone?rev=879view=rev Log: * change public composition of soundSource as member of soundStream into public inheritance from soundSource * this should accomplish exposure of soundSource's

[Warzone-commits] r885 - /branches/sound/lib/sound/interface.cpp

2007-03-15 Thread Giel van Schijndel
Author: muggenhor Date: Fri Mar 16 01:15:24 2007 New Revision: 885 URL: http://svn.gna.org/viewcvs/warzone?rev=885view=rev Log: * Fix compile error caused by using a wrong (old) argument list for function call to soundStream::play() Modified: branches/sound/lib/sound/interface.cpp

[Warzone-commits] r906 - /trunk/debian/rules

2007-03-18 Thread Giel van Schijndel
Author: muggenhor Date: Sun Mar 18 16:01:38 2007 New Revision: 906 URL: http://svn.gna.org/viewcvs/warzone?rev=906view=rev Log: set executable bit on debian/rules (special make script for the creation of debian packages) Modified: trunk/debian/rules (props changed)

[Warzone-commits] r920 - /trunk/tools/lobby/WzMasterServer.py

2007-03-20 Thread Giel van Schijndel
Author: muggenhor Date: Wed Mar 21 01:39:11 2007 New Revision: 920 URL: http://svn.gna.org/viewcvs/warzone?rev=920view=rev Log: Set executable bit, makes running the script a bit easier. Modified: trunk/tools/lobby/WzMasterServer.py (props changed)

[Warzone-commits] r921 - in /branches/sound/lib/sound/openal: buffer.hpp source.cpp source.hpp

2007-03-21 Thread Giel van Schijndel
Author: muggenhor Date: Wed Mar 21 19:42:28 2007 New Revision: 921 URL: http://svn.gna.org/viewcvs/warzone?rev=921view=rev Log: * Reduce exposure of class internals by deleting public access function getALBufferID from soundBuffer * instead declare class soundSource a friend of (i.e. in) class

[Warzone-commits] r922 - in /branches/sound/lib/sound: Makefile.raw interface.cpp openal/buffer.cpp openal/buffer.hpp openal/context.hpp openal/device.cpp openal/device.hpp openal/devicelist.cpp opena

2007-03-22 Thread Giel van Schijndel
Author: muggenhor Date: Thu Mar 22 19:56:35 2007 New Revision: 922 URL: http://svn.gna.org/viewcvs/warzone?rev=922view=rev Log: * move OpenAL device enumeration from class soundDevice to a singleton class soundDeviceList (openal/devicelist.[ch]pp) * was already singleton, but turned it into a

[Warzone-commits] r925 - in /branches/sound/lib/sound: Makefile.raw interface.cpp interface/ interface/stringarray.cpp interface/stringarray.hpp openal/devicelist.cpp openal/devicelist.hpp

2007-03-26 Thread Giel van Schijndel
Author: muggenhor Date: Mon Mar 26 15:54:44 2007 New Revision: 925 URL: http://svn.gna.org/viewcvs/warzone?rev=925view=rev Log: * add directory interface, this will contain utility classes for the C interface (all objects/functions declared here should reside in namespace interfaceUtil) *

[Warzone-commits] r926 - in /branches/sound/lib/sound: Makefile.raw interface.cpp interface/devicelist.cpp interface/devicelist.hpp

2007-03-26 Thread Giel van Schijndel
Author: muggenhor Date: Mon Mar 26 21:06:11 2007 New Revision: 926 URL: http://svn.gna.org/viewcvs/warzone?rev=926view=rev Log: * add a new interface class: interfaceUtil::DeviceList * This class inherits from both interfaceUtil::CArray and soundDeviceList and is just like soundDeviceList a

[Warzone-commits] r927 - in /branches/sound/lib/sound: decoding.cpp interface/devicelist.hpp interface/stringarray.cpp openal/source.cpp stringconv.hpp templates.hpp

2007-03-26 Thread Giel van Schijndel
Author: muggenhor Date: Mon Mar 26 22:38:16 2007 New Revision: 927 URL: http://svn.gna.org/viewcvs/warzone?rev=927view=rev Log: * rename stringconv.hpp to templates.hpp (contains some _very_ generic templates) * add for_each2 to templates.hpp this is a for_each implementation which works with

[Warzone-commits] r929 - in /trunk: lib/ivis_common/imdload.c src/display3d.c src/effects.c src/effects.h src/loop.c src/multiint.c

2007-03-27 Thread Giel van Schijndel
Author: muggenhor Date: Tue Mar 27 19:53:48 2007 New Revision: 929 URL: http://svn.gna.org/viewcvs/warzone?rev=929view=rev Log: Warning fixes: * NULL assignment to a non-pointer - changed to assignment of 0 * remove unused variables * remove empty function drawEffects (and a commented out line

[Warzone-commits] r930 - in /trunk: lib/sound/ src/

2007-03-27 Thread Giel van Schijndel
Author: muggenhor Date: Tue Mar 27 20:59:03 2007 New Revision: 930 URL: http://svn.gna.org/viewcvs/warzone?rev=930view=rev Log: * move audio_id.[ch] to lib/sound (because the soundlib depends on it, and libraries shouldn't depend on the main source, i.e. src/) * further remove

[Warzone-commits] r934 - in /branches/sound: ./ debian/ lib/framework/ lib/gamelib/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/sound/ lib/sound/bases/ lib/sound/interface/ lib/soun

2007-03-28 Thread Giel van Schijndel
Author: muggenhor Date: Thu Mar 29 00:50:54 2007 New Revision: 934 URL: http://svn.gna.org/viewcvs/warzone?rev=934view=rev Log: * backport/merge r858:933 from trunk (all changes except lib/sound) * remove Eidos Interactive from the license statement in lib/sound because none of the code

[Warzone-commits] r980 - in /trunk/makerules: config.mk.tmpl configure.mk

2007-04-02 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 2 22:49:14 2007 New Revision: 980 URL: http://svn.gna.org/viewcvs/warzone?rev=980view=rev Log: fix raw makefiles Modified: trunk/makerules/config.mk.tmpl trunk/makerules/configure.mk ___ Warzone-commits

[Warzone-commits] r982 - /trunk/data/multiplay/skirmish/scriptlang.htm

2007-04-02 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 2 23:49:03 2007 New Revision: 982 URL: http://svn.gna.org/viewcvs/warzone?rev=982view=rev Log: * allow viewing in any browser directly from the svn-http url ( http://svn.gna.org/svn/warzone/trunk/data/multiplay/skirmish/scriptlang.htm ) Modified:

[Warzone-commits] r984 - /trunk/data/script/text/tutorial3.slo

2007-04-02 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 3 01:27:57 2007 New Revision: 984 URL: http://svn.gna.org/viewcvs/warzone?rev=984view=rev Log: * apply patch found in bug #6953 by David Brettle NOTE: this does not fix the issue of the close button not flashing, it does however make this script request it to

[Warzone-commits] r987 - /trunk/lib/sound/openal_track.c

2007-04-03 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 3 13:15:41 2007 New Revision: 987 URL: http://svn.gna.org/viewcvs/warzone?rev=987view=rev Log: * enable libvorbisfile to seek into a file opened with PhysicsFS * also allow this to be disabled on a per file basis (this code is basically taken from the sound

[Warzone-commits] r990 - in /trunk: lib/framework/ lib/gamelib/ lib/ivis_common/ lib/ivis_opengl/ lib/script/ lib/sound/ lib/widget/ src/

2007-04-03 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 3 15:20:41 2007 New Revision: 990 URL: http://svn.gna.org/viewcvs/warzone?rev=990view=rev Log: * remove macro PTRVALID * replace all instances of PTRVALID(ptr,size) by (ptr != NULL) * remove asserts of style ASSERT( x == NULL || x != NULL ) because they would

[Warzone-commits] r995 - in /trunk/src: message.c objmem.c

2007-04-03 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 3 18:19:15 2007 New Revision: 995 URL: http://svn.gna.org/viewcvs/warzone?rev=995view=rev Log: * turn some macrofunctions into inlines Modified: trunk/src/message.c trunk/src/objmem.c ___ Warzone-commits

[Warzone-commits] r1002 - in /branches/sound/lib/sound: Makefile.raw bases/ decoding.cpp decoding.hpp general/ general/databuffer.cpp general/databuffer.hpp interface.cpp openal/buffer.cpp openal/buff

2007-04-04 Thread Giel van Schijndel
Author: muggenhor Date: Wed Apr 4 20:02:28 2007 New Revision: 1002 URL: http://svn.gna.org/viewcvs/warzone?rev=1002view=rev Log: * create a dedicated buffer class for sounddata (not an OpenAL buffer), this way you don't need to drag a dozen of variables, to contain the metadata, along with

[Warzone-commits] r1004 - in /branches/sound/lib/sound: Makefile.raw interface.cpp openal/context.hpp openal/source.hpp

2007-04-04 Thread Giel van Schijndel
Author: muggenhor Date: Wed Apr 4 21:17:21 2007 New Revision: 1004 URL: http://svn.gna.org/viewcvs/warzone?rev=1004view=rev Log: * bring raw makefiles up to date * apply usage of soundTrack in sound_LoadTrackFromFile Modified: branches/sound/lib/sound/Makefile.raw

[Warzone-commits] r1006 - /branches/sound/ /branches/sound/autopackage/ /branches/sound/data/multiplay/skirmish/ /branches/sound/data/script/text/ /branches/sound/lib/framework/ /branches/sound/lib/ga

2007-04-05 Thread Giel van Schijndel
Author: muggenhor Date: Thu Apr 5 17:11:02 2007 New Revision: 1006 URL: http://svn.gna.org/viewcvs/warzone?rev=1006view=rev Log: * merge r934:1005 from trunk into branches/sound Added: branches/sound/INSTALL - copied unchanged from r982, trunk/INSTALL branches/sound/NEWS -

[Warzone-commits] r1020 - in /trunk: lib/gamelib/ lib/ivis_opengl/ lib/sound/ src/

2007-04-05 Thread Giel van Schijndel
Author: muggenhor Date: Thu Apr 5 22:19:58 2007 New Revision: 1020 URL: http://svn.gna.org/viewcvs/warzone?rev=1020view=rev Log: * get rid of unused priority queue implementation (lib/gamelib/queue.[ch]) * remove an unused variable from lib/ivis_opengl/piemode.c * some code refactoring to

[Warzone-commits] r1025 - /trunk/po/nl.po

2007-04-05 Thread Giel van Schijndel
Author: muggenhor Date: Fri Apr 6 02:39:18 2007 New Revision: 1025 URL: http://svn.gna.org/viewcvs/warzone?rev=1025view=rev Log: some additional translations for NL Modified: trunk/po/nl.po ___ Warzone-commits mailing list

[Warzone-commits] r1027 - in /trunk: Makefile.raw makerules/config.mk.tmpl po/Makefile.raw

2007-04-05 Thread Giel van Schijndel
Author: muggenhor Date: Fri Apr 6 03:51:07 2007 New Revision: 1027 URL: http://svn.gna.org/viewcvs/warzone?rev=1027view=rev Log: * add gettext generation support to raw makefiles (is far from nice, but works) Added: trunk/po/Makefile.raw Modified: trunk/Makefile.raw

[Warzone-commits] r1030 - in /branches/sound/lib/sound: Makefile.raw audio_id.cpp audio_id.hpp interface.cpp interface/audio_id.h

2007-04-06 Thread Giel van Schijndel
Author: muggenhor Date: Fri Apr 6 20:58:33 2007 New Revision: 1030 URL: http://svn.gna.org/viewcvs/warzone?rev=1030view=rev Log: * use boost::array for the associative array (array that maps audio filenames against track ID numbers), boost::array provides some container-like properties like

[Warzone-commits] r1031 - /branches/sound/lib/sound/interface/audio_id.h

2007-04-06 Thread Giel van Schijndel
Author: muggenhor Date: Fri Apr 6 21:00:58 2007 New Revision: 1031 URL: http://svn.gna.org/viewcvs/warzone?rev=1031view=rev Log: (forgot property update in r1030) Modified: branches/sound/lib/sound/interface/audio_id.h (props changed) ___

[Warzone-commits] r1034 - /trunk/ScriptingManual.htm

2007-04-08 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 8 16:41:25 2007 New Revision: 1034 URL: http://svn.gna.org/viewcvs/warzone?rev=1034view=rev Log: * Add some info about revision info (last author, commit date and revision) through svn keywords * This way updates to this file will automatically modify the above

[Warzone-commits] r1035 - /trunk/lib/framework/frameresource.c

2007-04-08 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 8 17:35:00 2007 New Revision: 1035 URL: http://svn.gna.org/viewcvs/warzone?rev=1035view=rev Log: * remove some linked list wrapping macro (to increase code readability) Modified: trunk/lib/framework/frameresource.c

[Warzone-commits] r1037 - in /trunk/lib/sound: audio.c openal_track.c track.c track.h tracklib.h

2007-04-08 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 8 20:51:15 2007 New Revision: 1037 URL: http://svn.gna.org/viewcvs/warzone?rev=1037view=rev Log: * modify construction functions of TRACK to return pointers instead of BOOLs (and if we return a NULL pointer we first free the original memory, previous code would

[Warzone-commits] r1039 - in /trunk: lib/framework/frameresource.c lib/framework/frameresource.h lib/sound/openal_track.c lib/sound/track.c lib/sound/track.h lib/sound/tracklib.h src/data.c

2007-04-08 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 8 23:39:24 2007 New Revision: 1039 URL: http://svn.gna.org/viewcvs/warzone?rev=1039view=rev Log: * remove some dead code (resource preload callback stuff) * turn a one-statement function into an inline (resDoResLoadCallback) * revive resource loading from file

[Warzone-commits] r1040 - in /trunk: lib/gamelib/anim.c lib/gamelib/audp_lexer.l lib/gamelib/audp_parser.y lib/gamelib/parser.h lib/sound/track.c src/data.c

2007-04-08 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 9 01:25:48 2007 New Revision: 1040 URL: http://svn.gna.org/viewcvs/warzone?rev=1040view=rev Log: * set filename from GetLastResourceFilename() in sound_ConstructTrack (this filename can at some point be read back into scripts, so it does matter how this

[Warzone-commits] r1044 - /trunk/src/data.c

2007-04-09 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 9 14:25:06 2007 New Revision: 1044 URL: http://svn.gna.org/viewcvs/warzone?rev=3D1044view=3Drev Log: * Fix C89 compatibility Modified: trunk/src/data.c ___ Warzone-commits mailing list Warzone-commits@gna.org

[Warzone-commits] r1046 - /branches/sound/ /branches/sound/data/multiplay/skirmish/ /branches/sound/debian/ /branches/sound/lib/framework/ /branches/sound/lib/gamelib/ /branches/sound/lib/ivis_opengl/

2007-04-09 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 9 16:35:02 2007 New Revision: 1046 URL: http://svn.gna.org/viewcvs/warzone?rev=3D1046view=3Drev Log: * merge 1006:1046 from trunk into branches/sound Added: branches/sound/ScriptingManual.htm - copied unchanged from r1045, trunk/ScriptingManual.htm

[Warzone-commits] r1049 - in /trunk: data/audio/audio.cfg data/audio/frontaud.cfg lib/gamelib/audp_parser.y

2007-04-09 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 9 19:45:30 2007 New Revision: 1049 URL: http://svn.gna.org/viewcvs/warzone?rev=3D1049view=3Drev Log: * remove unused priority parameter from script function audio_module::audi= o (audio_track) Modified: trunk/data/audio/audio.cfg

[Warzone-commits] r1051 - in /trunk: lib/framework/ lib/widget/ po/ src/

2007-04-09 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 10 00:09:27 2007 New Revision: 1051 URL: http://svn.gna.org/viewcvs/warzone?rev=1051view=rev Log: * remove internal forward declarations of functions already declared in the header * use proper constness: * make some functions take arguments of `const char*`

[Warzone-commits] r1054 - in /trunk/lib: ivis_common/piedef.h ivis_opengl/piedraw.c

2007-04-10 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 10 12:47:20 2007 New Revision: 1054 URL: http://svn.gna.org/viewcvs/warzone?rev=1054view=rev Log: * Remove PIEPIXEL and change all of its instances to Vector3f (definition is exactly the same where types are concerned, only member vars were named different)

[Warzone-commits] r1056 - in /trunk: lib/framework/frame.h src/droid.c src/multiplay.c

2007-04-10 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 10 14:31:13 2007 New Revision: 1056 URL: http://svn.gna.org/viewcvs/warzone?rev=1056view=rev Log: * add the gettext no-op macro N_(string) * use it in src/droid.c * throw some hardcoded strings (in a switch statement) in an array of strings instead (using N_

[Warzone-commits] r1057 - in /trunk: po/da.po po/de.po po/nb.po po/nl.po src/droid.c

2007-04-10 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 10 14:44:07 2007 New Revision: 1057 URL: http://svn.gna.org/viewcvs/warzone?rev=1057view=rev Log: * insert a hack into droid.c to circumvent ambiguity of the word Green (which is being used as a rank name as well as the color) * `make -C po update-po` PS The

[Warzone-commits] r1074 - in /trunk/po: ChangeLog LINGUAS Makefile.in.in Makefile.raw Makevars POTFILES.in da.po de.po nb.po nl.po remove-potcdate.sin

2007-04-10 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 10 20:34:50 2007 New Revision: 1074 URL: http://svn.gna.org/viewcvs/warzone?rev=1074view=rev Log: (empty) Modified: trunk/po/ChangeLog (props changed) trunk/po/LINGUAS (props changed) trunk/po/Makefile.in.in (props changed)

[Warzone-commits] r1078 - in /trunk: makerules/config.mk.tmpl po/Makefile.in.in po/Makefile.raw po/nl.po

2007-04-10 Thread Giel van Schijndel
Author: muggenhor Date: Wed Apr 11 00:09:53 2007 New Revision: 1078 URL: http://svn.gna.org/viewcvs/warzone?rev=1078view=rev Log: * remove ^wrong^ rank translation of Green from Dutch translation (looks to much like translation for Rookie) * revert changes to po/Makefile.in.in from r1059 *

[Warzone-commits] r1082 - in /branches/sound: ./ data/audio/ data/mp/stats/ data/stats/ lib/framework/ lib/gamelib/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/sequence/ lib/widget/

2007-04-11 Thread Giel van Schijndel
Author: muggenhor Date: Thu Apr 12 00:37:46 2007 New Revision: 1082 URL: http://svn.gna.org/viewcvs/warzone?rev=1082view=rev Log: * merge 1046:1081 from trunk into branches/sound Removed: branches/sound/lib/gamelib/ani.h branches/sound/lib/gamelib/ptrlist.c

[Warzone-commits] r1086 - in /trunk/lib/sound: audio.c audio.h openal_track.c track.c track.h

2007-04-12 Thread Giel van Schijndel
Author: muggenhor Date: Thu Apr 12 19:42:15 2007 New Revision: 1086 URL: http://svn.gna.org/viewcvs/warzone?rev=1086view=rev Log: Cleanup: * AUDIO_SAMPLE * remove unused variable iLoops from the struct * rename bRemove to the more descriptive title of bFinishedPlaying * change

[Warzone-commits] r1093 - /trunk/src/multiint.c

2007-04-13 Thread Giel van Schijndel
Author: muggenhor Date: Fri Apr 13 16:48:23 2007 New Revision: 1093 URL: http://svn.gna.org/viewcvs/warzone?rev=1093view=rev Log: * Fix bug #8759 (in Skirmish mode it was possible to disable all AI players, we now check for that and make sure that at least one AI player is always available in

[Warzone-commits] r1096 - /branches/2.0/src/multiint.c

2007-04-13 Thread Giel van Schijndel
Author: muggenhor Date: Fri Apr 13 17:10:48 2007 New Revision: 1096 URL: http://svn.gna.org/viewcvs/warzone?rev=1096view=rev Log: * backport revisions 1093 and 1095 (fixes bug #8759) Modified: branches/2.0/src/multiint.c ___ Warzone-commits

[Warzone-commits] r1106 - /trunk/src/gateway.c

2007-04-15 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 15 15:28:24 2007 New Revision: 1106 URL: http://svn.gna.org/viewcvs/warzone?rev=1106view=rev Log: * fix by charon for segfault caused by not setting (non-static global) pointer to NULL after freeing it Modified: trunk/src/gateway.c

[Warzone-commits] r1107 - in /trunk: lib/framework/ lib/ivis_common/ lib/sound/ lib/widget/ src/

2007-04-15 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 15 16:15:31 2007 New Revision: 1107 URL: http://svn.gna.org/viewcvs/warzone?rev=1107view=rev Log: * Fix inconsistent newlines and set svn:eol-style to native in lib/ and src/ Modified: trunk/lib/framework/SDL_framerate.c (props changed)

[Warzone-commits] r1108 - /trunk/src/research.c

2007-04-15 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 15 20:21:06 2007 New Revision: 1108 URL: http://svn.gna.org/viewcvs/warzone?rev=1108view=rev Log: * Fixed a segfault in the the code producing research completeded-messages (caused by wrongly assuming we wouldn't be fed a NULL pointer) * Move that code out of

[Warzone-commits] r1110 - /branches/2.0/lib/framework/mem.c

2007-04-15 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 15 21:16:36 2007 New Revision: 1110 URL: http://svn.gna.org/viewcvs/warzone?rev=1110view=rev Log: * Don't use ASSERT to detect calls of FREE(NULL) anymore (since attempting to free NULL is a perfectly legal NO-OP), instead we now debug it to LOG_MEMORY and

[Warzone-commits] r1112 - /trunk/src/scriptobj.c

2007-04-15 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 16 00:36:54 2007 New Revision: 1112 URL: http://svn.gna.org/viewcvs/warzone?rev=1112view=rev Log: * Fix bug #8938 (introduced in r893) which occurred due to saving/loading functions of ST_SOUND being dissymmetric (save function stored the fileName, load function

[Warzone-commits] r1113 - in /trunk: lib/sound/audio.c lib/sound/audio.h po/da.po po/de.po po/la.po po/nb.po po/nl.po

2007-04-15 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 16 00:46:57 2007 New Revision: 1113 URL: http://svn.gna.org/viewcvs/warzone?rev=1113view=rev Log: * remove now unused functions for working with hashnames on audio tracks * `make -C po update-po` Modified: trunk/lib/sound/audio.c trunk/lib/sound/audio.h

[Warzone-commits] r1116 - in /trunk/data/messages/strings: cam2strings.txt names.txt

2007-04-16 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 16 16:06:03 2007 New Revision: 1116 URL: http://svn.gna.org/viewcvs/warzone?rev=1116view=rev Log: * Apply patch #691 (fixes typos in names.txt and cam2strings.txt) Modified: trunk/data/messages/strings/cam2strings.txt trunk/data/messages/strings/names.txt

[Warzone-commits] r1119 - in /trunk/lib/ivis_common: pcx.c piedef.h

2007-04-16 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 16 19:34:11 2007 New Revision: 1119 URL: http://svn.gna.org/viewcvs/warzone?rev=1119view=rev Log: * remove senseless use of malloc (we now statically allocate on the stack) * remove goto, placed the goto-code in an inline function instead * make pie_PNGLoadMem

[Warzone-commits] r1122 - in /trunk/lib/ivis_opengl: screen.c screen.h

2007-04-16 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 16 21:22:01 2007 New Revision: 1122 URL: http://svn.gna.org/viewcvs/warzone?rev=1122view=rev Log: * char* - const char* * make screen dumping code (screen shotstuff) more readable and friendly to edit (behaviour should be unchanged) * change screenDumpToDisk:

[Warzone-commits] r1123 - /trunk/lib/ivis_opengl/screen.c

2007-04-16 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 16 22:00:12 2007 New Revision: 1123 URL: http://svn.gna.org/viewcvs/warzone?rev=1123view=rev Log: * turn `integer overflow` debug message into an assert * dump less information in the debug log if the assert is triggered (just integer overflow; no more

[Warzone-commits] r1127 - /trunk/lib/ivis_common/pcx.c

2007-04-17 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 17 14:23:54 2007 New Revision: 1127 URL: http://svn.gna.org/viewcvs/warzone?rev=1127view=rev Log: * make PNGheader be explicitly unsigned (required for compilers that define 'char' as being signed) Modified: trunk/lib/ivis_common/pcx.c

[Warzone-commits] r1128 - in /trunk/lib: ivis_common/pcx.c ivis_opengl/screen.c

2007-04-17 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 17 14:58:22 2007 New Revision: 1128 URL: http://svn.gna.org/viewcvs/warzone?rev=1128view=rev Log: * pcx.c: use size_t for memory buffer length (size_t is the appropiate type for this, unsigned int is not) * change macro BUFFER_SIZE to static const

[Warzone-commits] r1131 - /trunk/lib/ivis_opengl/screen.c

2007-04-17 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 17 19:48:19 2007 New Revision: 1131 URL: http://svn.gna.org/viewcvs/warzone?rev=1131view=rev Log: * Remove inclusion of setjmp.h which apparently libpng wants to include first (in png.h) Modified: trunk/lib/ivis_opengl/screen.c

[Warzone-commits] r1132 - in /trunk: ./ autopackage/ data/texpages/bdrops/ debian/ lib/ivis_common/ lib/ivis_opengl/ macosx/ makerules/ src/ win32/

2007-04-17 Thread Giel van Schijndel
Author: muggenhor Date: Tue Apr 17 20:24:31 2007 New Revision: 1132 URL: http://svn.gna.org/viewcvs/warzone?rev=1132view=rev Log: * Remove support for decoding (and encoding in case of screenshot dump code) of JPEG pictures * Remove some dead (commented out) dirty code from multiint.c which

[Warzone-commits] r1143 - /trunk/lib/ivis_opengl/screen.c

2007-04-18 Thread Giel van Schijndel
Author: muggenhor Date: Wed Apr 18 22:06:35 2007 New Revision: 1143 URL: http://svn.gna.org/viewcvs/warzone?rev=1143view=rev Log: * if we malloc we should free! Modified: trunk/lib/ivis_opengl/screen.c ___ Warzone-commits mailing list

[Warzone-commits] r1144 - /trunk/lib/ivis_opengl/screen.c

2007-04-18 Thread Giel van Schijndel
Author: muggenhor Date: Wed Apr 18 23:25:32 2007 New Revision: 1144 URL: http://svn.gna.org/viewcvs/warzone?rev=1144view=rev Log: * Fix segfault caused by using the wrong destruction function Modified: trunk/lib/ivis_opengl/screen.c ___

[Warzone-commits] r1145 - /trunk/lib/ivis_opengl/screen.c

2007-04-18 Thread Giel van Schijndel
Author: muggenhor Date: Wed Apr 18 23:37:49 2007 New Revision: 1145 URL: http://svn.gna.org/viewcvs/warzone?rev=1145view=rev Log: * now properly apply fix for segfault caused by using png_destroy_read_struct to destroy a write_struct * (r1144 had a NULL pointer to many passed in the

[Warzone-commits] r1160 - /branches/2.0/nsis/warzone2100.nsi /branches/2.0/nsis/warzone2100.update.nsi /branches/sound/nsis/warzone2100.update.nsi /trunk/nsis/warzone2100.update.nsi

2007-04-22 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 22 17:32:49 2007 New Revision: 1160 URL: http://svn.gna.org/viewcvs/warzone?rev=1160view=rev Log: Make sure that files added by the installer are also removed by the uninstaller (Authors.txt and ChangeLog.txt) Modified: branches/2.0/nsis/warzone2100.nsi

[Warzone-commits] r1163 - /trunk/src/gateway.c

2007-04-22 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 22 23:47:06 2007 New Revision: 1163 URL: http://svn.gna.org/viewcvs/warzone?rev=1163view=rev Log: * When freeing global pointers set them to NULL (patch by vs2k5) Modified: trunk/src/gateway.c ___ Warzone-commits

[Warzone-commits] r1165 - /branches/2.0/lib/ivis_opengl/screen.c

2007-04-23 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 23 12:27:15 2007 New Revision: 1165 URL: http://svn.gna.org/viewcvs/warzone?rev=1165view=rev Log: * Remove JPEG screenshot writing support * Add PNG screenshot writing support This is the unchanged patch provided by attachment png-screenshots-branch-2.0 patch

[Warzone-commits] r1168 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread Giel van Schijndel
Author: muggenhor Date: Mon Apr 23 16:28:04 2007 New Revision: 1168 URL: http://svn.gna.org/viewcvs/warzone?rev=1168view=rev Log: * use malloc instead of a variable sized array (is slower, requires more maintenance work, but is C89 and as such MSVC compatible, *sigh*) Modified:

[Warzone-commits] r1183 - in /trunk/lib/sound: track.c track.h

2007-04-26 Thread Giel van Schijndel
Author: muggenhor Date: Thu Apr 26 19:51:17 2007 New Revision: 1183 URL: http://svn.gna.org/viewcvs/warzone?rev=1183view=rev Log: * remove assert in sound code (iSample != SAMPLE_NOT_ALLOCATED), this assertion is triggered much too oftenly, probably because we request OpenAl sources but never

[Warzone-commits] r1194 - /trunk/src/ai.c

2007-04-29 Thread Giel van Schijndel
Author: muggenhor Date: Sun Apr 29 17:31:43 2007 New Revision: 1194 URL: http://svn.gna.org/viewcvs/warzone?rev=1194view=rev Log: * Fix target attack weight/priority for dead droids Patch by Watermelon in Message-ID: [EMAIL PROTECTED] Modified: trunk/src/ai.c

  1   2   3   4   5   6   7   8   9   10   >