Home
last modified time | relevance | path

Searched refs:destinationPlanet (Results 1 – 6 of 6) sorted by relevance

/dports/games/qonk/qonk-0.3.1/src/
H A Dships.cpp32 Ship::moveTo( Uint32 time, Planet* destinationPlanet, ActionQueue* actionQueue ) { in moveTo() argument
35 if( planet != destinationPlanet ) { in moveTo()
66 Coordinate destinationLocation = destinationPlanet->getLocation(); in moveTo()
73 planet = destinationPlanet; in moveTo()
74 destinationPlanet->addResident( this, time ); in moveTo()
86 ShipMovementAction* shipMovementAction = new ShipMovementAction( this, destinationPlanet ); in moveTo()
196 Ships::moveTo( Uint32 time, Planet* destinationPlanet, ActionQueue* actionQueue ) { in moveTo() argument
199 (*i)->moveTo( time + rand() % 500, destinationPlanet, actionQueue ); in moveTo()
H A Dplayers.cpp349 Planet* destinationPlanet; in action() local
359 destinationPlanet = getRandomNearbyPlanet( sourcePlanet ); in action()
360 …if( ( destinationPlanet->getOwner() == this ) && ( destinationPlanet->numberOfResidentShips() > so… in action()
361 destinationPlanet = sourcePlanet; in action()
363 if( !isAPreferredPlanet( destinationPlanet ) ) in action()
364 if( destinationPlanet->getOwner() != this ) in action()
365 preferredPlanets.push_back( destinationPlanet ); in action()
377 nextShip->moveTo( time + rand() % 500, destinationPlanet, universe->actionQueue ); in action()
/dports/games/starfighter/starfighter-2.4/src/
H A Dintermission.c213 game.destinationPlanet = game.stationedPlanet; in intermission_updateSystemStatus()
708 game.destinationPlanet = planet; in intermission_showSystem()
1532 if (game.destinationPlanet > -1) in intermission()
1603 if (game.stationedPlanet == game.destinationPlanet) in intermission()
1611 distance = abs(game.stationedPlanet - game.destinationPlanet); in intermission()
1656 if (game.stationedPlanet != game.destinationPlanet) in intermission()
1708 game.stationedPlanet = game.destinationPlanet; in intermission()
1740 if ((game.stationedPlanet == game.destinationPlanet) in intermission()
1743 else if (game.stationedPlanet != game.destinationPlanet) in intermission()
1755 && ((game.stationedPlanet != game.destinationPlanet) in intermission()
[all …]
H A Dgame.h71 int destinationPlanet; member
H A Dsave.c208 game.destinationPlanet = game.stationedPlanet; in save_load()
H A Dgame.c106 game.destinationPlanet = -1; in game_init()