[Warzone-commits] r5415 - /trunk/lib/betawidget/widget.c

2008-07-07 Thread Freddie Witherden
Author: evilguru Date: Tue Jul 8 00:39:52 2008 New Revision: 5415 URL: http://svn.gna.org/viewcvs/warzone?rev=5415&view=rev Log: Allow widgetResizeImpl to work with containers (by re-laying them out). Modified: trunk/lib/betawidget/widget.c ___ W

[Warzone-commits] r5414 - /trunk/lib/betawidget/widget.c

2008-07-07 Thread Freddie Witherden
Author: evilguru Date: Mon Jul 7 23:19:58 2008 New Revision: 5414 URL: http://svn.gna.org/viewcvs/warzone?rev=5414&view=rev Log: Add support for masking mouse click events as well as mouse movement events. Modified: trunk/lib/betawidget/widget.c

[Warzone-commits] r5413 - in /trunk/lib/betawidget: geom.c geom.h widget.c widget.h

2008-07-07 Thread Freddie Witherden
Author: evilguru Date: Mon Jul 7 21:10:23 2008 New Revision: 5413 URL: http://svn.gna.org/viewcvs/warzone?rev=5413&view=rev Log: Add experimental support for masks in betawidget. This allows for non-rectangular widgets. Modified: trunk/lib/betawidget/geom.c trunk/lib/betawidget/geom.h

[Warzone-commits] r5412 - /trunk/src/frontend.c

2008-07-07 Thread Freddie Witherden
Author: evilguru Date: Mon Jul 7 17:36:55 2008 New Revision: 5412 URL: http://svn.gna.org/viewcvs/warzone?rev=5412&view=rev Log: Make it possible to translate Video Options Modified: trunk/src/frontend.c ___ Warzone-commits mailing list Warzone-c

[Warzone-commits] r5411 - /trunk/src/droid.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 15:11:27 2008 New Revision: 5411 URL: http://svn.gna.org/viewcvs/warzone?rev=5411&view=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 shou

[Warzone-commits] r5410 - /trunk/src/droid.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 14:58:18 2008 New Revision: 5410 URL: http://svn.gna.org/viewcvs/warzone?rev=5410&view=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:

[Warzone-commits] r5405 - /trunk/src/droid.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 14:21:26 2008 New Revision: 5405 URL: http://svn.gna.org/viewcvs/warzone?rev=5405&view=rev Log: vtolHappy (what IDIOT wrote this btw??): only construct a bitmask once to increase readability/maintainability Modified: trunk/src/droid.c

[Warzone-commits] r5409 - /trunk/src/droid.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 14:51:57 2008 New Revision: 5409 URL: http://svn.gna.org/viewcvs/warzone?rev=5409&view=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. ma

[Warzone-commits] r5408 - /trunk/src/droid.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 14:47:04 2008 New Revision: 5408 URL: http://svn.gna.org/viewcvs/warzone?rev=5408&view=rev Log: Improve readability/maintainability of function vtolHappy by using an array of bools instead of abusing a bitmask Modified: trunk/src/droid.c _

[Warzone-commits] r5407 - /trunk/src/droid.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 14:44:00 2008 New Revision: 5407 URL: http://svn.gna.org/viewcvs/warzone?rev=5407&view=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

[Warzone-commits] r5406 - /trunk/src/droid.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 14:31:06 2008 New Revision: 5406 URL: http://svn.gna.org/viewcvs/warzone?rev=5406&view=rev Log: vtolHappy: move the body-health check outside of the weapon check Modified: trunk/src/droid.c ___ Warzone-commits ma

[Warzone-commits] r5404 - in /trunk/src: action.c ai.c combat.c display.c display3d.c droid.c droid.h fpath.c geometry.c move.c multisync.c order.c projectile.c scriptfuncs.c structure.c

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 12:15:00 2008 New Revision: 5404 URL: http://svn.gna.org/viewcvs/warzone?rev=5404&view=rev Log: Rename function vtolDroid to isVtolDroid: * This name more clearly describes what it does: determine whether the given droid has VTOL propulsion Modified: trunk

[Warzone-commits] r5403 - in /trunk/src: droid.c droid.h

2008-07-07 Thread Giel van Schijndel
Author: muggenhor Date: Mon Jul 7 11:38:55 2008 New Revision: 5403 URL: http://svn.gna.org/viewcvs/warzone?rev=5403&view=rev Log: Proper constness: make vtolDroid and vtolHappy take their DROID* parameter as const Modified: trunk/src/droid.c trunk/src/droid.h _