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
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
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
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
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
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
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)
___
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
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
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
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
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
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:
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
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
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
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.
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
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:
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
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
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
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
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
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
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
___
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
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
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
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
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
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
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:
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
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
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)
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)
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
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
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)
*
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
-
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
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
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
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
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)
___
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
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
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
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
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
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
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
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
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*`
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)
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_
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
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)
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
*
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
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
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
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
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
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)
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
___
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
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
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
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
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:
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
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 - 100 of 1709 matches
Mail list logo