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: evilguru
Date: Mon Jul 7 21:10:23 2008
New Revision: 5413
URL: http://svn.gna.org/viewcvs/warzone?rev=5413view=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
Author: evilguru
Date: Mon Jul 7 23:19:58 2008
New Revision: 5414
URL: http://svn.gna.org/viewcvs/warzone?rev=5414view=rev
Log:
Add support for masking mouse click events as well as mouse movement events.
Modified:
trunk/lib/betawidget/widget.c
Author: evilguru
Date: Tue Jul 8 00:39:52 2008
New Revision: 5415
URL: http://svn.gna.org/viewcvs/warzone?rev=5415view=rev
Log:
Allow widgetResizeImpl to work with containers (by re-laying them out).
Modified:
trunk/lib/betawidget/widget.c
___
11 matches
Mail list logo