Author: evilguru
Date: Thu Jul 24 12:13:22 2008
New Revision: 5650
URL: http://svn.gna.org/viewcvs/warzone?rev=5650view=rev
Log:
Remove some dead #ifdef'ed code (#ifdef ARROWS).
Modified:
trunk/src/display3d.c
trunk/src/init.c
___
Author: evilguru
Date: Thu Jul 24 16:11:14 2008
New Revision: 5653
URL: http://svn.gna.org/viewcvs/warzone?rev=5653view=rev
Log:
Break out of the droid sync loop early if there are no more droids to sync.
Modified:
trunk/src/multisync.c
___
Author: muggenhor
Date: Thu Jul 24 15:59:07 2008
New Revision: 5651
URL: http://svn.gna.org/viewcvs/warzone?rev=5651view=rev
Log:
Compiler warns about an uninitialized variable, `distanceExtensionFactor`,
being used.
So initialize this variable with an uninitialized marker and assert that it
Author: muggenhor
Date: Thu Jul 24 16:16:27 2008
New Revision: 5654
URL: http://svn.gna.org/viewcvs/warzone?rev=5654view=rev
Log:
* Get rid of global variable *psCurrRes, which is used by the strres_parser to
operate on
* Instead pass the current STR_RES* pointer to work on to the parser
Author: muggenhor
Date: Thu Jul 24 15:59:16 2008
New Revision: 5652
URL: http://svn.gna.org/viewcvs/warzone?rev=5652view=rev
Log:
Get rid of the ID_ALLOC bitflag (marks strings allocated by the string resource
system), as ''all'' strings are allocated by the string resource system anyway.
Author: muggenhor
Date: Thu Jul 24 18:13:03 2008
New Revision: 5655
URL: http://svn.gna.org/viewcvs/warzone?rev=5655view=rev
Log:
Return the retrieved string from strresGetIDString and allocateName and use
NULL to indicate failure.
Modified:
trunk/lib/framework/strres.c
Author: muggenhor
Date: Thu Jul 24 18:13:08 2008
New Revision: 5656
URL: http://svn.gna.org/viewcvs/warzone?rev=5656view=rev
Log:
* Change strresGetIDString to return its ID string const
* Change allocateName to do as the name suggests and actually ''allocate'' a
string!
Modified:
Author: muggenhor
Date: Thu Jul 24 18:13:14 2008
New Revision: 5657
URL: http://svn.gna.org/viewcvs/warzone?rev=5657view=rev
Log:
* Move the allocation and initialisation of STR_ID structures to a function of
its own: strresAllocIDStr
* Allocate STR_ID structures in such a way that a single
Author: muggenhor
Date: Thu Jul 24 20:57:09 2008
New Revision: 5660
URL: http://svn.gna.org/viewcvs/warzone?rev=5660view=rev
Log:
Replace the linked list of arrays of string pointers (premature) optimisation
with just a linked list of strings
Modified:
trunk/lib/framework/strres.c
Author: muggenhor
Date: Thu Jul 24 20:18:07 2008
New Revision: 5658
URL: http://svn.gna.org/viewcvs/warzone?rev=5658view=rev
Log:
* Change strresGetString to return its string as const (to prevent potential
double-free problems)
* Instead use strdup() where a non-const reference to these
Author: muggenhor
Date: Thu Jul 24 20:42:45 2008
New Revision: 5659
URL: http://svn.gna.org/viewcvs/warzone?rev=5659view=rev
Log:
* Make the ppTextMsg string arrays of VIEWDATA and SEQ_DISPLAY hold there
strings as const references
* Don't use strdup() to assign the strings to ppTextMsg's
Author: muggenhor
Date: Thu Jul 24 22:10:16 2008
New Revision: 5661
URL: http://svn.gna.org/viewcvs/warzone?rev=5661view=rev
Log:
* Add a new function strresGetStringByID which combines the functionality of
strresGetIDNum and strresGetString
* Get rid of function strresGetIDNum with its
Author: muggenhor
Date: Thu Jul 24 23:12:43 2008
New Revision: 5663
URL: http://svn.gna.org/viewcvs/warzone?rev=5663view=rev
Log:
* Get rid of function strresGetIDString who's only purpose is to determine
whether the given ID string has a string resource associated with it, and if so
return a
Author: muggenhor
Date: Thu Jul 24 23:12:39 2008
New Revision: 5662
URL: http://svn.gna.org/viewcvs/warzone?rev=5662view=rev
Log:
Make function strresStoreString const correct
Modified:
trunk/lib/framework/strres.c
trunk/lib/framework/strresly.h
14 matches
Mail list logo