elio. Circle now has correct tooltip and uses old patrol icon. Some
spelling issues also fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5565 4a71c877-e1ca-e34f-864e-861f7616d084
was that they would pursue the enemy on another person's computer, but not on
yours. Now your droids only decide to pursue on your computer, and sends updates
to other people about such decisions over the network. WARNING: Increases network
usage by unknown amount. Network sync rates could be lowered.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5507 4a71c877-e1ca-e34f-864e-861f7616d084
* This name more clearly describes what it does: determine whether the given droid has VTOL propulsion
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5404 4a71c877-e1ca-e34f-864e-861f7616d084
Still has a little global hole in it to transfer wall-locations out of the callback without cluttering the helper struct or the visibleObject() API.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5272 4a71c877-e1ca-e34f-864e-861f7616d084
blocking functions so that we do not have to set global state to know
which kind of propulsion we are testing. This change is experimental,
and may break VTOL behaviour subtly, please do not backport.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4960 4a71c877-e1ca-e34f-864e-861f7616d084
* Huge simplification due to not needing to handle other derivatives of BASE_OBJECT than DROID anymore (also a huge reduction in the amount of casting)
* Don't check whether a DROID has -> type == OBJ_DROID anymore (fpath.c left-over)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4652 4a71c877-e1ca-e34f-864e-861f7616d084
* return a pointer instead of a BOOL (will be a NULL pointer on failure)
* don't `goto` the end of the function when we've found a blocking wall, just return the pointer instead
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4569 4a71c877-e1ca-e34f-864e-861f7616d084
* return a pointer instead of writing it to an output parameter
* return NULL on failure instead of FALSE (and as such the above pointer on success)
This removes some type-punning warnings
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4009 4a71c877-e1ca-e34f-864e-861f7616d084
- Use new NULL_ID instead of UDWORD_MAX to indicate invalid ids.
- Fix if-complication
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3323 4a71c877-e1ca-e34f-864e-861f7616d084
dead droid is references as a target. We check the order for a dead target,
and ignore it. Should fix properly later.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3231 4a71c877-e1ca-e34f-864e-861f7616d084
psDroid->psTarget is only used for orders, where multiweapon has no meaning.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2797 4a71c877-e1ca-e34f-864e-861f7616d084
is no need to store multiple targets in order code. Reverting this addition.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2795 4a71c877-e1ca-e34f-864e-861f7616d084
attacking ourselves, since when auto-repair is researched, we will have ourselves
as a repair target. The result was that droids on guard or idle would not attack
at all. This fixes bug #9665. Also remove unused function orderGroupHealthCheck().
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2369 4a71c877-e1ca-e34f-864e-861f7616d084
missing checks for dead targets. Patch by me and Watermelon.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1995 4a71c877-e1ca-e34f-864e-861f7616d084
* remove commented out functions (which where only used by commented out code if they where used at all, removed that code as well)
* movement stuff:
- moveShuffleInit (// Initialize a droid for a shuffle move)
- moveCalcVector (// Calculate the normalised vector between a droid and a point)
* waypoint stuff:
- orderAddWayPoint (// Append a new waypoint to a droid's list)
- orderSelectedWaypoint (// Add a new waypoint to selected droid set)
- SendSingleDroidWaypoint (// Occasionally need to send non selected waypoints ??)
- recvDroidWayPoint (// recv)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1738 4a71c877-e1ca-e34f-864e-861f7616d084