Searched refs:destinationPlanet (Results 1 – 6 of 6) sorted by relevance
/dports/games/qonk/qonk-0.3.1/src/ |
H A D | ships.cpp | 32 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 D | players.cpp | 349 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 D | intermission.c | 213 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 D | game.h | 71 int destinationPlanet; member
|
H A D | save.c | 208 game.destinationPlanet = game.stationedPlanet; in save_load()
|
H A D | game.c | 106 game.destinationPlanet = -1; in game_init()
|