[Warzone-commits] r6807 - in /trunk/src: effects.c effects.h

2009-03-08 Thread Dennis Schridde
Author: devurandom Date: Sun Mar 8 12:45:08 2009 New Revision: 6807 URL: http://svn.gna.org/viewcvs/warzone?rev=6807view=rev Log: Effect memory pool cleanup I played a bit with implementing a better memory pool for effects and this is what came out. Major changes: Allocates in chunks of 10k

[Warzone-commits] r6808 - /branches/lua2/tools/wz2lua/wz2lua.py

2009-03-08 Thread Gerard Krol
Author: gerard_ Date: Sun Mar 8 13:09:09 2009 New Revision: 6808 URL: http://svn.gna.org/viewcvs/warzone?rev=6808view=rev Log: wz2lua no longer chokes on a=b-1, which it did because it treated -1 as a number instead of - 1. Modified: branches/lua2/tools/wz2lua/wz2lua.py

[Warzone-commits] r6809 - in /branches/lua2/data/mods/global/aivolution/multiplay/skirmish: player0.slo player1.slo player2.slo player3.slo player4.slo player5.slo player6.slo player7.slo

2009-03-08 Thread Gerard Krol
Author: gerard_ Date: Sun Mar 8 13:09:17 2009 New Revision: 6809 URL: http://svn.gna.org/viewcvs/warzone?rev=6809view=rev Log: Fix a bug in AIV where it would try to access an array out of bounds when checking wether to repair defenses. Modified:

[Warzone-commits] r6810 - /branches/lua2/tools/wz2lua/wz2lua.py

2009-03-08 Thread Gerard Krol
Author: gerard_ Date: Sun Mar 8 13:09:23 2009 New Revision: 6810 URL: http://svn.gna.org/viewcvs/warzone?rev=6810view=rev Log: Add support for removing obsolete arguments from functions to wz2lua. Modified: branches/lua2/tools/wz2lua/wz2lua.py

[Warzone-commits] r6811 - /branches/lua2/src/scriptfuncs.c

2009-03-08 Thread Gerard Krol
Author: gerard_ Date: Sun Mar 8 13:09:28 2009 New Revision: 6811 URL: http://svn.gna.org/viewcvs/warzone?rev=6811view=rev Log: Convert the chooseValidLoc script function. Modified: branches/lua2/src/scriptfuncs.c ___ Warzone-commits mailing list

[Warzone-commits] r6812 - in /trunk/src: design.c intelmap.c

2009-03-08 Thread Gerard Krol
Author: gerard_ Date: Sun Mar 8 13:40:42 2009 New Revision: 6812 URL: http://svn.gna.org/viewcvs/warzone?rev=6812view=rev Log: Only enable the backdrop when pausing the game for both the design screen and the intelligence screen. This fixes bug 295. Modified: trunk/src/design.c

[Warzone-commits] r6813 - /trunk/src/game.c

2009-03-08 Thread Dennis Schridde
Author: devurandom Date: Sun Mar 8 14:34:26 2009 New Revision: 6813 URL: http://svn.gna.org/viewcvs/warzone?rev=6813view=rev Log: Fix a crash when loading savegames by loading effects earlier This works around a crash discovered when loading the savegame attached to #196 by loading effects

[Warzone-commits] r6814 - in /trunk/tools/map: map2lnd.c mapinfo.c mapload.c mapload.h

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 15:19:28 2009 New Revision: 6814 URL: http://svn.gna.org/viewcvs/warzone?rev=6814view=rev Log: mapinfo: Read droid data for editworld maps (not savegames). mapinfo: Calculate number of players by checking construction droids. Modified: trunk/tools/map/map2lnd.c

[Warzone-commits] r6815 - /trunk/tools/map/map2lnd.c

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 16:11:54 2009 New Revision: 6815 URL: http://svn.gna.org/viewcvs/warzone?rev=6815view=rev Log: map2lnd: Support exporting droids. Modified: trunk/tools/map/map2lnd.c ___ Warzone-commits mailing list

[Warzone-commits] r6816 - in /trunk/tools/map: mapinfo.c mapload.c

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 17:52:17 2009 New Revision: 6816 URL: http://svn.gna.org/viewcvs/warzone?rev=6816view=rev Log: map2lnd: Export structures as well. Modified: trunk/tools/map/mapinfo.c trunk/tools/map/mapload.c ___ Warzone-commits

[Warzone-commits] r6817 - /trunk/tools/map/mapload.c

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 18:06:11 2009 New Revision: 6817 URL: http://svn.gna.org/viewcvs/warzone?rev=6817view=rev Log: mapinfo: Correct for structure padding. Now we can parse savegame structures, too. Modified: trunk/tools/map/mapload.c

[Warzone-commits] r6818 - /trunk/tools/map/map2lnd.c

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 18:15:14 2009 New Revision: 6818 URL: http://svn.gna.org/viewcvs/warzone?rev=6818view=rev Log: map2lnd: Fix bug in setting the number of objects in the exported map. Modified: trunk/tools/map/map2lnd.c ___

[Warzone-commits] r6819 - /branches/2.2/data/mp/stats/propulsion.txt

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 18:30:54 2009 New Revision: 6819 URL: http://svn.gna.org/viewcvs/warzone?rev=6819view=rev Log: 2.2: Fix missing final end of line that made skirmish crash. Modified: branches/2.2/data/mp/stats/propulsion.txt ___

[Warzone-commits] r6820 - in /trunk/src: ai.c droid.c move.c order.c

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 18:57:44 2009 New Revision: 6820 URL: http://svn.gna.org/viewcvs/warzone?rev=6820view=rev Log: When playing Mayhem mode, burning scavengers can crash (or rather, lead to assert failure) the game because they may have nowhere to run when burning, and may trigger

[Warzone-commits] r6821 - /trunk/tests/Makefile.am

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 19:02:39 2009 New Revision: 6821 URL: http://svn.gna.org/viewcvs/warzone?rev=6821view=rev Log: make check: Also test included mod maps. Modified: trunk/tests/Makefile.am ___ Warzone-commits mailing list

[Warzone-commits] r6822 - in /branches/2.2/src: ai.c droid.c move.c order.c

2009-03-08 Thread Per I. Mathisen
Author: per Date: Sun Mar 8 19:07:13 2009 New Revision: 6822 URL: http://svn.gna.org/viewcvs/warzone?rev=6822view=rev Log: 2.2: Backport r6820 - fix for burning scavengers. See bug #296. Modified: branches/2.2/src/ai.c branches/2.2/src/droid.c branches/2.2/src/move.c