Author: muggenhor
Date: Wed Jul 9 20:28:37 2008
New Revision: 5453
URL: http://svn.gna.org/viewcvs/warzone?rev=5453view=rev
Log:
Remove all TECH_LEVEL related cruft from the code as it's read from the stats
files but unused throughout the rest of the code.
Read into a temporary dummy variable
Author: muggenhor
Date: Wed Jul 9 21:07:20 2008
New Revision: 5455
URL: http://svn.gna.org/viewcvs/warzone?rev=5455view=rev
Log:
Remove `systemPoints` from the code as it's never used.
It's loaded in from the stats files but unused throughout the rest of the code.
Read into a temporary dummy
Author: muggenhor
Date: Wed Jul 9 21:17:19 2008
New Revision: 5458
URL: http://svn.gna.org/viewcvs/warzone?rev=5458view=rev
Log:
Add a field to hold a component's body points (COMPONENT now fully matches
COMPONENT_STATS from statsdef.h)
Modified:
Author: muggenhor
Date: Wed Jul 9 22:43:24 2008
New Revision: 5459
URL: http://svn.gna.org/viewcvs/warzone?rev=5459view=rev
Log:
Fix a compile error; forgot to declare variable dummyVal in r5454
Modified:
trunk/src/stats.c
___
Warzone-commits
Author: muggenhor
Date: Wed Jul 9 22:47:17 2008
New Revision: 5460
URL: http://svn.gna.org/viewcvs/warzone?rev=5460view=rev
Log:
Add a new field type to the mini database scheme meta language: C-only-field
* This is a dummy type that causes the rest of the line to be included
literally in the
Author: muggenhor
Date: Wed Jul 9 23:02:13 2008
New Revision: 5462
URL: http://svn.gna.org/viewcvs/warzone?rev=5462view=rev
Log:
Don't #include stats-db2.h as it doesn't exist (is a testing file in my
working copy)
Modified:
trunk/src/statsdef.h
Author: muggenhor
Date: Wed Jul 9 23:00:09 2008
New Revision: 5461
URL: http://svn.gna.org/viewcvs/warzone?rev=5461view=rev
Log:
Declare propulsionType as PROPULSION_TYPE (enum) instead of UBYTE in
PROPULSION_STATS (struct)
Modified:
trunk/src/statsdef.h
Author: muggenhor
Date: Tue Jul 8 13:37:23 2008
New Revision: 5419
URL: http://svn.gna.org/viewcvs/warzone?rev=5419view=rev
Log:
Don't store the name of the struct we inherit from in the inherit field,
instead store a reference to that struct
Modified:
Author: muggenhor
Date: Mon Jul 7 12:15:00 2008
New Revision: 5404
URL: http://svn.gna.org/viewcvs/warzone?rev=5404view=rev
Log:
Rename function vtolDroid to isVtolDroid:
* This name more clearly describes what it does: determine whether the given
droid has VTOL propulsion
Modified:
Author: muggenhor
Date: Mon Jul 7 14:31:06 2008
New Revision: 5406
URL: http://svn.gna.org/viewcvs/warzone?rev=5406view=rev
Log:
vtolHappy: move the body-health check outside of the weapon check
Modified:
trunk/src/droid.c
___
Warzone-commits
Author: muggenhor
Date: Mon Jul 7 14:44:00 2008
New Revision: 5407
URL: http://svn.gna.org/viewcvs/warzone?rev=5407view=rev
Log:
Fix a bug introduced in r5406:
* VTOLs didn't ever become happy again (i.e. where marked as fully armed and
healed)
Modified:
trunk/src/droid.c
Author: muggenhor
Date: Mon Jul 7 14:47:04 2008
New Revision: 5408
URL: http://svn.gna.org/viewcvs/warzone?rev=5408view=rev
Log:
Improve readability/maintainability of function vtolHappy by using an array of
bools instead of abusing a bitmask
Modified:
trunk/src/droid.c
Author: muggenhor
Date: Mon Jul 7 14:51:57 2008
New Revision: 5409
URL: http://svn.gna.org/viewcvs/warzone?rev=5409view=rev
Log:
Further cleanup/refactor vtolHappy:
* Trash the bool-array (previously bitmask) code
* Simply return false as soon as we've determined a VTOL isn't happy (i.e.
Author: muggenhor
Date: Mon Jul 7 14:21:26 2008
New Revision: 5405
URL: http://svn.gna.org/viewcvs/warzone?rev=5405view=rev
Log:
vtolHappy (what IDIOT wrote this btw??): only construct a bitmask once to
increase readability/maintainability
Modified:
trunk/src/droid.c
Author: muggenhor
Date: Mon Jul 7 14:58:18 2008
New Revision: 5410
URL: http://svn.gna.org/viewcvs/warzone?rev=5410view=rev
Log:
Did I say vtolHappy was somewhat error prone?
* Fix a bug in r5409 where I accidentily reversed the weapon-reloaded logic
* Merge two nested if-statements
Modified:
Author: muggenhor
Date: Mon Jul 7 15:11:27 2008
New Revision: 5411
URL: http://svn.gna.org/viewcvs/warzone?rev=5411view=rev
Log:
* ASSERT that VTOL weapon droids have more than zero weapons
* Allow non-weapon VTOL droids to be passed into vtolHappy (e.g. sensor,
construction, etc.): this
Author: muggenhor
Date: Sun Jul 6 13:28:01 2008
New Revision: 5395
URL: http://svn.gna.org/viewcvs/warzone?rev=5395view=rev
Log:
Turn the assert()s in the CHECK_STRUCTURE macro into ASSERTs so that we can see
*which* assert failed
Modified:
trunk/src/structure.h
Author: muggenhor
Date: Sun Jul 6 13:39:12 2008
New Revision: 5396
URL: http://svn.gna.org/viewcvs/warzone?rev=5396view=rev
Log:
Merged revision r5395 into the 2.1 branch via svnmerge from trunk
r5395 | muggenhor | 2008-07-06 13:28:01 +0200 (zo, 06 jul 2008) | 1 line
Turn the
Author: muggenhor
Date: Sun Jul 6 14:47:20 2008
New Revision: 5398
URL: http://svn.gna.org/viewcvs/warzone?rev=5398view=rev
Log:
Blocked revisions r5358:5376, r5379:5381 and r5383 from backporting to the 2.1
branch via svnmerge from trunk
Modified:
branches/2.1/ (props changed)
Author: muggenhor
Date: Fri Jul 4 14:50:58 2008
New Revision: 5379
URL: http://svn.gna.org/viewcvs/warzone?rev=5379view=rev
Log:
In the %field hash store the field-qualifiers as an array instead of storing
only a single qualifier.
This will allow for adding multiple qualifiers to the same
Author: muggenhor
Date: Fri Jul 4 14:51:06 2008
New Revision: 5380
URL: http://svn.gna.org/viewcvs/warzone?rev=5380view=rev
Log:
Line out the field names correctly with the rest of the struct definitions
Modified:
trunk/build_tools/code-generators/test_code.tpl
Author: muggenhor
Date: Fri Jul 4 14:51:09 2008
New Revision: 5381
URL: http://svn.gna.org/viewcvs/warzone?rev=5381view=rev
Log:
Add a new field qualifier to the meta database schema language:
* optional which specfies that the given field is optional and can thus be
NULL.
* Only allow this
Author: muggenhor
Date: Fri Jul 4 15:53:09 2008
New Revision: 5383
URL: http://svn.gna.org/viewcvs/warzone?rev=5383view=rev
Log:
Add some basic syntax/semantics checking to the parser of the database schema
meta language.
Modified:
trunk/build_tools/code-generators/db-lang.pl
Author: muggenhor
Date: Sat Jul 5 00:41:33 2008
New Revision: 5391
URL: http://svn.gna.org/viewcvs/warzone?rev=5391view=rev
Log:
Move the code to spawn GDB, and arrange for a communication pipe, to a separate
function: execGdb
Modified:
trunk/lib/exceptionhandler/exceptionhandler.c
Author: muggenhor
Date: Sat Jul 5 00:41:17 2008
New Revision: 5389
URL: http://svn.gna.org/viewcvs/warzone?rev=5389view=rev
Log:
Refactor function gdbExtendedBacktrace:
* return as soon as an error condition is detected, thus preventing the need
for deep nested if-branches.
* Add some
Author: muggenhor
Date: Sat Jul 5 00:41:25 2008
New Revision: 5390
URL: http://svn.gna.org/viewcvs/warzone?rev=5390view=rev
Log:
* Deal with a failure of exeve() by writing a debug message indicating that it
failed and terminating the child of our fork()
* Flush the write end of the pipe
Author: muggenhor
Date: Sat Jul 5 00:41:07 2008
New Revision: 5388
URL: http://svn.gna.org/viewcvs/warzone?rev=5388view=rev
Log:
Move the code that provides GDB backtraces in a function of its own to refactor
it later (i.e. get rid of the deep if-branch nesting)
Modified:
Author: muggenhor
Date: Sat Jul 5 00:40:20 2008
New Revision: 5384
URL: http://svn.gna.org/viewcvs/warzone?rev=5384view=rev
Log:
Factor out the code to retrieve absolute program paths and move it into a
separate function of its own: fetchProgramPath
Modified:
Author: muggenhor
Date: Thu Jul 3 16:57:18 2008
New Revision: 5356
URL: http://svn.gna.org/viewcvs/warzone?rev=5356view=rev
Log:
Provide a more useful error message than Weirdy action on keymap processing.
Instead print the enum-number which we used to switch on.
Modified:
Author: muggenhor
Date: Thu Jul 3 20:45:32 2008
New Revision: 5358
URL: http://svn.gna.org/viewcvs/warzone?rev=5358view=rev
Log:
Add a code generator for my database meta-language
This code generator is still in a prototyping phase. It'll probably get
rewritten entirely.
Added:
Author: muggenhor
Date: Thu Jul 3 20:55:17 2008
New Revision: 5360
URL: http://svn.gna.org/viewcvs/warzone?rev=5360view=rev
Log:
Don't process the set field type as a field qualifier. Instead rename and
modify preProcessQualifiers and postProcessQualifiers to preProcessField and
Author: muggenhor
Date: Thu Jul 3 20:55:26 2008
New Revision: 5361
URL: http://svn.gna.org/viewcvs/warzone?rev=5361view=rev
Log:
Rewrite SQL table generator for new parser architecture
Modified:
trunk/build_tools/code-generators/sql_tabledef_cg.pm
Author: muggenhor
Date: Thu Jul 3 20:56:34 2008
New Revision: 5362
URL: http://svn.gna.org/viewcvs/warzone?rev=5362view=rev
Log:
Rename test_code to test_code.tpl
Added:
trunk/build_tools/code-generators/test_code.tpl
- copied unchanged from r5361,
Author: muggenhor
Date: Thu Jul 3 21:04:00 2008
New Revision: 5363
URL: http://svn.gna.org/viewcvs/warzone?rev=5363view=rev
Log:
Add file headers and leaders to generated files
Give the code generators the opportunity to print something at the start and
the end of the file. E.g. header guards
Author: muggenhor
Date: Thu Jul 3 21:04:10 2008
New Revision: 5364
URL: http://svn.gna.org/viewcvs/warzone?rev=5364view=rev
Log:
Only auto-increment the ID for the base class
Don't add an AUTOINCREMENT clause to the PRIMARY KEY, ID column if it we're not
working on the abstract base class.
Author: muggenhor
Date: Thu Jul 3 21:05:43 2008
New Revision: 5365
URL: http://svn.gna.org/viewcvs/warzone?rev=5365view=rev
Log:
Add a code generator for SQL SELECT statements
Add a new code generator for the database mini-meta-language. It creates SQL
SELECT statements that use INNER JOINs to
Author: muggenhor
Date: Thu Jul 3 22:03:38 2008
New Revision: 5372
URL: http://svn.gna.org/viewcvs/warzone?rev=5372view=rev
Log:
Generate multi-line SELECT statements instead of single-line ones
Modified:
trunk/build_tools/code-generators/sql_selectdef_cg.pm
Author: muggenhor
Date: Thu Jul 3 22:07:58 2008
New Revision: 5373
URL: http://svn.gna.org/viewcvs/warzone?rev=5373view=rev
Log:
Don't fetch the primary key, as we probably don't need it
Modified:
trunk/build_tools/code-generators/sql_selectdef_cg.pm
Author: muggenhor
Date: Thu Jul 3 23:51:23 2008
New Revision: 5374
URL: http://svn.gna.org/viewcvs/warzone?rev=5374view=rev
Log:
Don't print directly from the code generators, instead append to an output
string for printing at a later time.
Modified:
Author: muggenhor
Date: Fri Jul 4 00:14:41 2008
New Revision: 5375
URL: http://svn.gna.org/viewcvs/warzone?rev=5375view=rev
Log:
Fix a syntax error introduced in r5374
Modified:
trunk/build_tools/code-generators/sql_tabledef_cg.pm
___
Author: muggenhor
Date: Wed Jul 2 13:29:19 2008
New Revision: 5353
URL: http://svn.gna.org/viewcvs/warzone?rev=5353view=rev
Log:
Merge lexer rules for the script_lexer that match different forms of the same
token (e.g. upper/lower case variants)
Modified:
trunk/lib/script/script_lexer.l
Author: muggenhor
Date: Wed Jun 25 15:56:17 2008
New Revision: 5327
URL: http://svn.gna.org/viewcvs/warzone?rev=5327view=rev
Log:
Slight refactoring of cdAudio_PlayTrack to use a switch on the enum, instead of
an if, if-else structure
Modified:
trunk/lib/sound/cdaudio.c
Author: muggenhor
Date: Mon Jun 23 23:16:23 2008
New Revision: 5314
URL: http://svn.gna.org/viewcvs/warzone?rev=5314view=rev
Log:
* Add an ASSERT to trap a corner case which I don't think ever occurs.
The info from this ASSERT is needed for a proper (and fully educated) fix of
bug #11865. Thus
Author: muggenhor
Date: Mon Jun 23 01:28:34 2008
New Revision: 5305
URL: http://svn.gna.org/viewcvs/warzone?rev=5305view=rev
Log:
* Only use TABs for indentation, not for alignment
* No whitespace on the end of lines
Modified:
trunk/lib/betawidget/geom.c
trunk/lib/betawidget/geom.h
Author: muggenhor
Date: Sat Jun 21 19:32:03 2008
New Revision: 5285
URL: http://svn.gna.org/viewcvs/warzone?rev=5285view=rev
Log:
* Make the level parser state enum a typedef (LEVELPARSER_STATE)
* When lev_error() gets called do __not__ ASSERT, use debug(LOG_ERROR, ...
instead as the return
Author: muggenhor
Date: Sat Jun 21 20:34:30 2008
New Revision: 5289
URL: http://svn.gna.org/viewcvs/warzone?rev=5289view=rev
Log:
Do not ignore /configure.ac in the .gitignore file
Modified:
trunk/.gitignore
___
Warzone-commits mailing list
Author: muggenhor
Date: Sat Jun 21 20:34:51 2008
New Revision: 5290
URL: http://svn.gna.org/viewcvs/warzone?rev=5290view=rev
Log:
Add --disable-sound to the configure script, to disable sound at compile time
Modified:
trunk/configure.ac
___
Author: muggenhor
Date: Sat Jun 21 23:51:26 2008
New Revision: 5292
URL: http://svn.gna.org/viewcvs/warzone?rev=5292view=rev
Log:
Only iterator over the linked list `songList` once to determine the end. Then
store a pointer to the last -next pointer and use it to append to the list
instead.
Author: muggenhor
Date: Sat Jun 21 23:51:29 2008
New Revision: 5293
URL: http://svn.gna.org/viewcvs/warzone?rev=5293view=rev
Log:
Slight refactoring to return as soon as possible, thus not damaging
code-readability by large amounts of scope-nesting (specifically if-branches)
Modified:
Author: muggenhor
Date: Fri Jun 13 14:22:41 2008
New Revision: 5251
URL: http://svn.gna.org/viewcvs/warzone?rev=5251view=rev
Log:
Use a pun on the whole Shakespear quote (original is: By the pricking of my
thumbs, something wicked this way comes.): By the picking of these
code-bombs, something
Author: muggenhor
Date: Sat Jun 7 14:26:03 2008
New Revision: 5227
URL: http://svn.gna.org/viewcvs/warzone?rev=5227view=rev
Log:
* Update Debian changelog
* Fix win32 version info
* We live in 2008 now...
* Use 2.0.993.0 instead of 2.0.3.0 for 2.1 beta3 (the same scheme was used
for beta1
Author: muggenhor
Date: Sat Jun 7 14:11:33 2008
New Revision: 5226
URL: http://svn.gna.org/viewcvs/warzone?rev=5226view=rev
Log:
Update autorevision.conf to point to the tag's directory
Modified:
tags/2.1_beta3/autorevision.conf
___
Author: muggenhor
Date: Wed Jun 4 19:50:40 2008
New Revision: 5211
URL: http://svn.gna.org/viewcvs/warzone?rev=5211view=rev
Log:
Use WZ_DECL_UNUSED for the data parameter of debug_callback_win32debug to
squelch the warning about it being unused
Modified:
trunk/lib/framework/debug.c
Author: muggenhor
Date: Wed Jun 4 21:50:50 2008
New Revision: 5212
URL: http://svn.gna.org/viewcvs/warzone?rev=5212view=rev
Log:
Use WZ_DECL_UNUSED to squelch warnings about unused parameters in the PhysicsFS
SQLite-VFS implementation
Modified:
trunk/lib/sqlite3/physfs_vfs.c
Author: muggenhor
Date: Thu May 29 12:18:23 2008
New Revision: 5203
URL: http://svn.gna.org/viewcvs/warzone?rev=5203view=rev
Log:
Abort (i.e. return false) when failing to find the column's numbers by looking
them up using their names
Modified:
trunk/src/stats-db.c
Author: muggenhor
Date: Thu May 29 12:18:31 2008
New Revision: 5204
URL: http://svn.gna.org/viewcvs/warzone?rev=5204view=rev
Log:
Prefetch the column numbers for the WEAPON_STATS only once
* Changes O(n * m * l) to O(n + m * l) behaviour
Modified:
trunk/src/stats-db.c
Author: muggenhor
Date: Thu May 29 12:18:18 2008
New Revision: 5202
URL: http://svn.gna.org/viewcvs/warzone?rev=5202view=rev
Log:
* Fetch the column numbers by column name only once for the BASE_STATS and
COMP_BASE_STATS parts of every SQL query (rather than once for every result row
from a
Author: muggenhor
Date: Wed May 28 22:55:49 2008
New Revision: 5198
URL: http://svn.gna.org/viewcvs/warzone?rev=5198view=rev
Log:
Make sure to parse `database` __before__ `file` (i.e. group it with other
tokens starting with a `d`) to make sure that it gets recognised at all
Modified:
Author: muggenhor
Date: Wed May 28 22:57:53 2008
New Revision: 5199
URL: http://svn.gna.org/viewcvs/warzone?rev=5199view=rev
Log:
* When loading from the SQLite database rely on the column's names rather than
on their number/order of appearance
* Use an inheritance-like approach when loading
Author: muggenhor
Date: Thu May 29 00:08:49 2008
New Revision: 5201
URL: http://svn.gna.org/viewcvs/warzone?rev=5201view=rev
Log:
* Change colours for some of the status bars in the mission completion score
screen to be more vivid
* Add a new colour: WZCOL_MENU_SHADOW
* Use this colour
Author: muggenhor
Date: Thu May 29 00:08:34 2008
New Revision: 5200
URL: http://svn.gna.org/viewcvs/warzone?rev=5200view=rev
Log:
Use ARRAY_SIZE to determine the length of the cheat-code list rather than a
NULL pointer at the end of the list (as a form of NUL-termination)
Modified:
Author: muggenhor
Date: Tue May 27 23:37:54 2008
New Revision: 5196
URL: http://svn.gna.org/viewcvs/warzone?rev=5196view=rev
Log:
* Apparently the %destructor feature of Bison is implemented differently for
2.1 than it is for 2.3 (or it is broken in 2.1); so don't use it when compiling
with
Author: muggenhor
Date: Sun May 25 13:36:20 2008
New Revision: 5173
URL: http://svn.gna.org/viewcvs/warzone?rev=5173view=rev
Log:
Use sstrcpy|sstrcat instead of strlcpy|strlcat for manipulation of statically
sized strings
Modified:
trunk/src/init.c
Author: muggenhor
Date: Sun May 25 13:57:53 2008
New Revision: 5174
URL: http://svn.gna.org/viewcvs/warzone?rev=5174view=rev
Log:
Merged revisions r4012:4202 into the 2.1 branch via svnmerge from trunk
Added:
branches/lua/data/stats-sql/data/ (props changed)
- copied from r4202,
Author: muggenhor
Date: Sun May 25 14:08:16 2008
New Revision: 5175
URL: http://svn.gna.org/viewcvs/warzone?rev=5175view=rev
Log:
Revert r5174 (merge of r4012:4202 into the lua branch from trunk) as it breaks
compilation
Added:
branches/lua/data/images/frend.img
- copied unchanged
Author: muggenhor
Date: Sun May 25 15:46:49 2008
New Revision: 5176
URL: http://svn.gna.org/viewcvs/warzone?rev=5176view=rev
Log:
Use sstrcpy|sstrcat instead of strlcpy|strlcat for manipulation of statically
sized strings
Modified:
trunk/lib/exceptionhandler/exceptionhandler.c
Author: muggenhor
Date: Sun May 25 16:58:03 2008
New Revision: 5178
URL: http://svn.gna.org/viewcvs/warzone?rev=5178view=rev
Log:
* Add a new resource type (for use with .wrf files): DBECM which is similar to
SECM, with as difference that instead of a CSV file it specifies an SQLite
database
Author: muggenhor
Date: Sun May 25 17:41:04 2008
New Revision: 5182
URL: http://svn.gna.org/viewcvs/warzone?rev=5182view=rev
Log:
* Add a new resource type (for use with .wrf files): DBSENSOR which is similar
to SSENSOR, with as difference that instead of a CSV file it specifies an
SQLite
Author: muggenhor
Date: Sun May 25 17:42:02 2008
New Revision: 5183
URL: http://svn.gna.org/viewcvs/warzone?rev=5183view=rev
Log:
Fix a typo strrcat = sstrcat
Modified:
trunk/lib/exceptionhandler/exceptionhandler.c
___
Warzone-commits mailing
Author: muggenhor
Date: Sun May 25 21:38:38 2008
New Revision: 5187
URL: http://svn.gna.org/viewcvs/warzone?rev=5187view=rev
Log:
* Make the load.*StatsFromDB functions load directly from a database (i.e.
they don't need to open themself anymore)
* Open the SQLite3 database in src/data.c
Author: muggenhor
Date: Sun May 25 21:38:53 2008
New Revision: 5188
URL: http://svn.gna.org/viewcvs/warzone?rev=5188view=rev
Log:
* Add a new resource loading function type: RES_TABLELOAD
* Add two new keywords to the .wrf files: database and table
* database will cause the given filename to
Author: muggenhor
Date: Sun May 25 21:38:59 2008
New Revision: 5189
URL: http://svn.gna.org/viewcvs/warzone?rev=5189view=rev
Log:
* Pass the table name as well from the .wrf resource file
* table will now attempt to load the given resource type from the given
table (in the currently opened
Author: muggenhor
Date: Sun May 25 22:03:37 2008
New Revision: 5190
URL: http://svn.gna.org/viewcvs/warzone?rev=5190view=rev
Log:
Update the Pygments WRF lexer for the changes done to the WRF file format in
r5188:5189
Modified:
trunk/tools/pygments-lexers/warzone/__init__.py
Author: muggenhor
Date: Sun May 25 22:09:54 2008
New Revision: 5191
URL: http://svn.gna.org/viewcvs/warzone?rev=5191view=rev
Log:
Update POTFILES.in
Modified:
trunk/po/POTFILES.in
trunk/po/update-po.sh
___
Warzone-commits mailing list
Author: muggenhor
Date: Sun May 25 22:20:12 2008
New Revision: 5193
URL: http://svn.gna.org/viewcvs/warzone?rev=5193view=rev
Log:
Mark r5145 as already backported as well (2.1 branch)
Modified:
branches/2.1/ (props changed)
___
Warzone-commits
Author: muggenhor
Date: Sat May 24 14:20:23 2008
New Revision: 5163
URL: http://svn.gna.org/viewcvs/warzone?rev=5163view=rev
Log:
Revert r4830:
* This should fix a heap corruption introduced with the new level_parser
Closes #9 ( http://trac.wz2100.net/ticket/9 )
Removed:
Author: muggenhor
Date: Sat May 24 14:40:40 2008
New Revision: 5164
URL: http://svn.gna.org/viewcvs/warzone?rev=5164view=rev
Log:
Merged revision r5163 into the 2.1 branch via svnmerge from trunk
r5163 | muggenhor | 2008-05-24 14:20:23 +0200 (za, 24 mei 2008) | 5 lines
Revert
Author: muggenhor
Date: Sat May 24 14:48:26 2008
New Revision: 5165
URL: http://svn.gna.org/viewcvs/warzone?rev=5165view=rev
Log:
Remove now useless testcase directory tests as its only testcase (t1000:
tested level_parser.y) has no code left to test (due to r5163)
Removed:
trunk/tests/
Author: muggenhor
Date: Sat May 24 14:49:48 2008
New Revision: 5166
URL: http://svn.gna.org/viewcvs/warzone?rev=5166view=rev
Log:
Merged revision r5165 into the 2.1 branch via svnmerge from trunk
r5165 | muggenhor | 2008-05-24 14:48:26 +0200 (za, 24 mei 2008) | 1 line
Remove now
Author: muggenhor
Date: Sat May 24 20:23:42 2008
New Revision: 5171
URL: http://svn.gna.org/viewcvs/warzone?rev=5171view=rev
Log:
Initialized merge tracking on the lua branch via svnmerge with revisions
Author: muggenhor
Date: Tue May 20 21:57:26 2008
New Revision: 5144
URL: http://svn.gna.org/viewcvs/warzone?rev=5144view=rev
Log:
Fix warnings: remove unused variables
Modified:
trunk/lib/script/script_parser.y
___
Warzone-commits mailing list
Author: muggenhor
Date: Sat May 17 12:48:26 2008
New Revision: 5129
URL: http://svn.gna.org/viewcvs/warzone?rev=5129view=rev
Log:
Disable optimisations (-O0) for --enable-debug=relaxed as well
Modified:
trunk/configure.ac
___
Warzone-commits
Author: muggenhor
Date: Sat May 17 12:49:33 2008
New Revision: 5130
URL: http://svn.gna.org/viewcvs/warzone?rev=5130view=rev
Log:
Work around Flex 2.5.33 implicitly defining yyget_extra() (rather than forward
declaring it)
Modified:
trunk/lib/framework/resource_lexer.l
Author: muggenhor
Date: Sat May 17 19:14:25 2008
New Revision: 5131
URL: http://svn.gna.org/viewcvs/warzone?rev=5131view=rev
Log:
Merged revisions r5129:5130 into the 2.1 branch via svnmerge from trunk
r5129 | muggenhor | 2008-05-17 12:48:26 +0200 (za, 17 mei 2008) | 1 line
Author: muggenhor
Date: Tue May 13 16:01:25 2008
New Revision: 5101
URL: http://svn.gna.org/viewcvs/warzone?rev=5101view=rev
Log:
* Add functions for changing the volume of an already created AUDIO_STREAM:
sound_GetStreamVolume and sound_SetStreamVolume
* Use these functions in cdaudio.c to
Author: muggenhor
Date: Tue May 13 16:08:21 2008
New Revision: 5102
URL: http://svn.gna.org/viewcvs/warzone?rev=5102view=rev
Log:
Merged revisions r5100:5101 into the 2.1 branch via svnmerge from trunk
r5100 | muggenhor | 2008-05-13 15:50:08 +0200 (di, 13 mei 2008) | 3 lines
*
Author: muggenhor
Date: Mon May 12 14:16:46 2008
New Revision: 5059
URL: http://svn.gna.org/viewcvs/warzone?rev=5059view=rev
Log:
* Fix GPL headers for some files which where wrongly marked as being Copyright
Eidos Interactive in r1014
* Update file-level comment for chat_lexer.l for the
Author: muggenhor
Date: Mon May 12 14:33:38 2008
New Revision: 5060
URL: http://svn.gna.org/viewcvs/warzone?rev=5060view=rev
Log:
* Make sure to set psPrev to NULL at the start of the deletion loop
* Also don't dereference it when it's NULL
Added:
trunk/src/parsetest.c
Author: muggenhor
Date: Mon May 12 14:48:31 2008
New Revision: 5063
URL: http://svn.gna.org/viewcvs/warzone?rev=5063view=rev
Log:
Let the chat_lexer do some more of the work by returning only a single _T_YES
token for yes, yea, yeah and yep
Modified:
trunk/lib/script/chat_lexer.l
Author: muggenhor
Date: Mon May 12 16:09:49 2008
New Revision: 5069
URL: http://svn.gna.org/viewcvs/warzone?rev=5069view=rev
Log:
Merged revisions r4890, r4938:4943, r4945, r4999:5013, r5016:5017, r5023:5030,
r5040, r5045:5046, r5049, r5056 and r5058:5063 into the 2.1 branch via svnmerge
from
Author: muggenhor
Date: Mon May 12 19:13:11 2008
New Revision: 5071
URL: http://svn.gna.org/viewcvs/warzone?rev=5071view=rev
Log:
Reduce code duplication that occurs in both branches of an if-statement
Modified:
trunk/lib/framework/frameresource.c
Author: muggenhor
Date: Mon May 12 19:04:32 2008
New Revision: 5070
URL: http://svn.gna.org/viewcvs/warzone?rev=5070view=rev
Log:
Don't bother to check whether we're in a comment when reaching the end of a WRF
file
Modified:
trunk/lib/framework/resource_lexer.l
Author: muggenhor
Date: Mon May 12 19:23:33 2008
New Revision: 5072
URL: http://svn.gna.org/viewcvs/warzone?rev=5072view=rev
Log:
* Use the lexer_input framework instead of a custom YY_INPUT implementation
for resource_lexer.l
* Don't add the function name to the debug message in openLoadFile
Author: muggenhor
Date: Mon May 12 19:34:56 2008
New Revision: 5073
URL: http://svn.gna.org/viewcvs/warzone?rev=5073view=rev
Log:
* Get rid of lexer function resGetErrorData and use res_get_lineno() and
res_get_text() instead
* Don't call abort() in function res_error as the parser will return
Author: muggenhor
Date: Mon May 12 19:38:45 2008
New Revision: 5074
URL: http://svn.gna.org/viewcvs/warzone?rev=5074view=rev
Log:
Attempt to match an empty string __before__ a non-empty one (otherwise we won't
ever match it at all)
Modified:
trunk/lib/framework/resource_lexer.l
Author: muggenhor
Date: Mon May 12 19:50:49 2008
New Revision: 5077
URL: http://svn.gna.org/viewcvs/warzone?rev=5077view=rev
Log:
From resource_parser.y: No longer static ... lets use this area globally:
* Lets __not__ use very bad practices just because we can!!! Make it static
again
* Give
Author: muggenhor
Date: Mon May 12 20:00:09 2008
New Revision: 5079
URL: http://svn.gna.org/viewcvs/warzone?rev=5079view=rev
Log:
* Put textual tokens as found by resource_lexer.l in heap memory rather than
some crazy stack-like static string buffer
* Make sure that this heap memory __will__
Author: muggenhor
Date: Mon May 12 19:41:00 2008
New Revision: 5075
URL: http://svn.gna.org/viewcvs/warzone?rev=5075view=rev
Log:
Use yytext instead of res_text
Modified:
trunk/lib/framework/resource_lexer.l
___
Warzone-commits mailing list
Author: muggenhor
Date: Mon May 12 20:03:26 2008
New Revision: 5080
URL: http://svn.gna.org/viewcvs/warzone?rev=5080view=rev
Log:
Cleanup (behaviour should be unchanged)
Modified:
trunk/lib/framework/resource_parser.y
___
Warzone-commits mailing
Author: muggenhor
Date: Mon May 12 20:22:05 2008
New Revision: 5083
URL: http://svn.gna.org/viewcvs/warzone?rev=5083view=rev
Log:
* Use the lexer_input framework instead of a custom YY_INPUT implementation
for strres_lexer.l
* Don't bother to check whether we're in a comment when reaching the
501 - 600 of 1708 matches
Mail list logo