Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <star_system_generic.h>
Classes | |
struct | StarXML |
Starsystem XML Struct For use with XML loading. More... | |
struct | Statistics |
Public Member Functions | |
StarSystem () | |
StarSystem (const char *filename, const Vector ¢roid=Vector(0, 0, 0), const float timeofyear=0) | |
virtual | ~StarSystem () |
void | SetZone (unsigned int zonenum) |
unsigned int | GetZone () |
virtual void | AddMissileToQueue (class MissileEffect *) |
virtual void | UpdateMissiles () |
void | UpdateUnitPhysics (bool firstframe) |
void | RequestPhysics (Unit *un, unsigned int queue) |
Requeues the unit so that it is simulated ASAP. More... | |
virtual void | activateLightMap (int stage=1) |
virtual Texture * | getLightMap () |
virtual unsigned int | numTerrain () |
activates the light map texture More... | |
virtual unsigned int | numContTerrain () |
virtual void | Draw (bool DrawCockpit=true) |
Draws a frame of action, interpolating between physics frames. More... | |
void | Update (float priority, bool executeDirector) |
update a simulation atom ExecuteDirector must be false if star system is just loaded before mission is loaded More... | |
void | Update (float priority) |
virtual void | SwapIn () |
re-enables the included lights and terrains More... | |
virtual void | SwapOut () |
Disables included lights and terrains. More... | |
virtual Terrain * | getTerrain (unsigned int which) |
virtual ContinuousTerrain * | getContTerrain (unsigned int which) |
virtual Background * | getBackground () |
virtual ClickList * | getClickList () |
unsigned int | getCurrentSimFrame () const |
Gets the current simulation frame. More... | |
void | ExecuteUnitAI () |
std::string | getFileName () const |
std::string | getName () |
UnitCollection & | getUnitList () |
Loads the star system from an XML file. More... | |
UnitCollection & | gravitationalUnits () |
Unit * | nextSignificantUnit () |
void | AddUnit (Unit *unit) |
bool | RemoveUnit (Unit *unit) |
Removes from draw list. More... | |
bool | JumpTo (Unit *unit, Unit *jumppoint, const std::string &system, bool force=false, bool save_coordinates=false) |
virtual void | VolitalizeJumpAnimation (const int ani) |
virtual void | DoJumpingComeSightAndSound (Unit *un) |
virtual int | DoJumpingLeaveSightAndSound (Unit *un) |
virtual void | createBackground (StarSystem::StarXML *xml) |
Static Public Member Functions | |
static void | beginElement (void *userData, const XML_Char *name, const XML_Char **atts) |
static void | endElement (void *userData, const XML_Char *name) |
static void | ProcessPendingJumps () |
Public Attributes | |
struct StarSystem::Statistics | stats |
std::multimap< Unit *, Unit * > | last_collisions |
class CollideTable * | collidetable |
CollideMap * | collidemap [2] |
class bolt_draw * | bolts |
Protected Types | |
enum | PHYSICS_STAGE { MISSION_SIMULATION, PROCESS_UNIT, PHY_NUM } |
Physics is divided into 3 stages spread over 3 frames. More... | |
Protected Member Functions | |
void | LoadXML (const char *, const Vector ¢roid, const float timeofyear) |
void | beginElement (const std::string &name, const AttributeList &attributes) |
void | endElement (const std::string &name) |
void | AddStarsystemToUniverse (const std::string &filename) |
The Light Map corresponding for the BP for spheremapping. More... | |
void | RemoveStarsystemFromUniverse () |
Protected Attributes | |
struct StarSystem::StarXML * | xml |
enum StarSystem::PHYSICS_STAGE | current_stage |
std::vector< Terrain * > | terrains |
Stars, planets, etc. Orbital mechanics precalculated. More... | |
std::vector< ContinuousTerrain * > | contterrains |
UnitCollection | drawList |
Everything to be drawn. Folded missiles in here oneday. More... | |
UnitCollection | GravitationalUnits |
UnitCollection | physics_buffer [SIM_QUEUE_SIZE+1] |
unsigned int | current_sim_location |
unsigned char | no_collision_time |
Objects subject to global gravitron physics (disabled) More... | |
char * | name |
system name More... | |
std::string | filename |
un_iter | sigIter |
double | time |
to track the next given physics frame More... | |
Stars * | stars |
The background associated with this system. More... | |
int | lightcontext |
std::vector< class MissileEffect * > | dischargedMissiles |
unsigned int | zone |
Friends | |
class | Universe |
Definition at line 53 of file star_system_generic.h.
|
protected |
Physics is divided into 3 stages spread over 3 frames.
Enumerator | |
---|---|
MISSION_SIMULATION | |
PROCESS_UNIT | |
PHY_NUM |
Definition at line 113 of file star_system_generic.h.
StarSystem::StarSystem | ( | ) |
adds to jumping table;
Definition at line 73 of file star_system_generic.cpp.
References bolts, collidemap, collidetable, UnitCollection::createIterator(), current_sim_location, current_stage, drawList, MISSION_SIMULATION, name, no_collision_time, sigIter, stars, time, Unit::UNIT_BOLT, Unit::UNIT_ONLY, and zone.
Referenced by Universe::GenerateStarSystem().
StarSystem::StarSystem | ( | const char * | filename, |
const Vector & | centroid = Vector( 0, 0, 0 ) , |
||
const float | timeofyear = 0 |
||
) |
adds to jumping table;
Definition at line 91 of file star_system_generic.cpp.
References _Universe, AddStarsystemToUniverse(), bolts, collidemap, collidetable, UnitCollection::createIterator(), current_sim_location, current_stage, drawList, filename, LoadXML(), MISSION_SIMULATION, name, no_collision_time, Universe::popActiveStarSystem(), Universe::pushActiveStarSystem(), sigIter, time, Unit::UNIT_BOLT, Unit::UNIT_ONLY, and zone.
|
virtual |
Definition at line 117 of file star_system_generic.cpp.
References _Universe, Universe::activeStarSystem(), ClientServerSetLightContext(), collidemap, collidetable, UnitCollection::createIterator(), drawList, fprintf, getFileName(), Universe::getNumActiveStarSystem(), Unit::Kill(), lightcontext, name, Universe::popActiveStarSystem(), Universe::pushActiveStarSystem(), RemoveStarsystemFromUniverse(), SwapIn(), SwapOut(), Unit::UNIT_BOLT, and Unit::UNIT_ONLY.
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 163 of file star_system_generic.h.
Referenced by GameUniverse::activateLightMap(), and RestoreFirstPassState().
|
virtual |
Definition at line 67 of file missile_generic.cpp.
References dischargedMissiles.
Referenced by Missile::Discharge(), and GameUnit< UnitType >::Explode().
|
protected |
The Light Map corresponding for the BP for spheremapping.
Definition at line 775 of file star_system_generic.cpp.
References Hashtable< KEY, VALUE, SIZ >::Put().
Referenced by GameStarSystem::GameStarSystem(), and StarSystem().
void StarSystem::AddUnit | ( | Unit * | unit) |
returns xy sorted bounding spheres of all units in current view Adds to draw list
Definition at line 230 of file star_system_generic.cpp.
References Unit::activeStarSystem, StarSystem::Statistics::AddUnit(), ASTEROIDPTR, UnitFactory::broadcastUnit(), StarSystem::Statistics::CheckVitals(), UnitCollection::createIterator(), current_sim_location, drawList, VSRandom::genrand_int32(), FactionUtil::GetNeutralFaction(), UnitUtil::getPhysicsPriority(), GetZone(), gravitationalUnits(), i, int, Unit::isJumppoint(), Unit::isPlanet(), Unit::isUnit(), physics_buffer, UnitCollection::prepend(), SIM_QUEUE_SIZE, Unit::specInterdiction, stats, StarSystem::Statistics::system_faction, and vsrandom.
Referenced by ZoneMgr::addClient(), NetClient::AddClientObject(), AddUnitToSystem(), buyShip(), Mission::call_unit_launch(), StarSystem::Statistics::CheckVitals(), createObjects(), Unit::EjectCargo(), LoadMission(), LoadXML(), Mount::PhysicsAlignedFire(), NetClient::Respawn(), Unit::TransferUnitToSystem(), and Cockpit::Update().
|
protected |
Referenced by LoadXML().
|
static |
Definition at line 209 of file star_system_generic.cpp.
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 242 of file star_system_generic.h.
Referenced by LoadXML().
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 236 of file star_system_generic.h.
Referenced by ProcessPendingJumps().
Reimplemented in GameStarSystem.
Definition at line 237 of file star_system_generic.h.
Referenced by JumpTo().
|
inlinevirtual |
Draws a frame of action, interpolating between physics frames.
Reimplemented in GameStarSystem.
Definition at line 178 of file star_system_generic.h.
Referenced by GameUniverse::StartDraw().
|
protected |
Referenced by LoadXML().
|
static |
Definition at line 214 of file star_system_generic.cpp.
void StarSystem::ExecuteUnitAI | ( | ) |
Definition at line 300 of file star_system_generic.cpp.
References Unit::ExecuteAI(), getUnitList(), and Unit::ResetThreatLevel().
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 195 of file star_system_generic.h.
Referenced by CockpitKeys::Inside(), NetClient::Respawn(), and Cockpit::Update().
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 199 of file star_system_generic.h.
Referenced by createObjects().
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 191 of file star_system_generic.h.
Referenced by createObjects().
|
inline |
Gets the current simulation frame.
Definition at line 204 of file star_system_generic.h.
References current_sim_location.
Referenced by GameStarSystem::Draw(), GameUnit< UnitType >::Draw(), UnitDrawer::draw(), Unit::UpdatePhysics(), and Unit::UpdateSubunitPhysics().
string StarSystem::getFileName | ( | ) | const |
Definition at line 220 of file star_system_generic.cpp.
References filename, getStarSystemName(), getStarSystemSector(), and RemoveDotSystem().
Referenced by StarSystem::Statistics::CheckVitals(), ChooseNavPoint(), CompareDest(), CreateCargoForOwnerStarship(), ZoneInfo::display(), GameCockpit::Draw(), NavigationSystem::DrawSystem(), Universe::Generate2(), NavigationSystem::getCurrentSystem(), NavigationSystem::getDestinationSystem(), NavigationSystem::getFocusedSystem(), SaveNetUtil::GetSaveStrings(), NavigationSystem::getSelectedSystem(), UnitUtil::getUnitSystemFile(), JumpTo(), sellShip(), NetServer::sendJump(), NetServer::sendNewUnitQueue(), NavigationSystem::Setup(), SwapInNewShipName(), Unit::Target(), Unit::TransferUnitToSystem(), Cockpit::Update(), Unit::UpdatePhysics(), WarpPursuit(), GameUniverse::WriteSaveGame(), WriteSaveGame(), and ~StarSystem().
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 164 of file star_system_generic.h.
Referenced by GameUniverse::getLightMap().
string StarSystem::getName | ( | ) |
Definition at line 225 of file star_system_generic.cpp.
References name.
Referenced by ZoneMgr::displayStats(), NavigationSystem::DrawSystem(), and Universe::getStarSystem().
Reimplemented in GameStarSystem.
Definition at line 187 of file star_system_generic.h.
Referenced by createObjects().
|
inline |
Loads the star system from an XML file.
Definition at line 219 of file star_system_generic.h.
References drawList.
Referenced by AllUnitsCloseAndEngage(), Arrested(), Unit::AutoPilotToErrorMessage(), ZoneMgr::broadcastDamage(), ZoneMgr::broadcastSnapshots(), StarSystem::Statistics::CheckVitals(), ChooseNearNavPoint(), ChooseTargets(), Terrain::Collide(), compute_light_dot(), ZoneInfo::display(), DockToSavedBases(), DoDockingOps(), FireKeyboard::Execute(), ExecuteUnitAI(), findUnitInStarsystem(), getAtmospheric(), getNearestTarget(), getNearestTargetUnit(), GetThreat(), ZoneMgr::getUnit(), ZoneMgr::getZoneBuffer(), HelpOut(), KillDuplicateUnits(), Unit::ReTargetFg(), UniverseUtil::SafeStarSystemEntrancePoint(), Orders::FormUpToOwner::SetParent(), UniverseUtil::StopTargettingEachOther(), Unit::Target(), UniverseUtil::TargetEachOther(), GameUnit< UnitType >::TransferUnitToSystem(), UnDockNow(), Atmosphere::Update(), Cockpit::Update(), Cockpit::updateAttackers(), UpdateMissiles(), and UpdateUnitPhysics().
|
inline |
Definition at line 153 of file star_system_generic.h.
References zone.
Referenced by ZoneMgr::addClient(), AddUnit(), ZoneMgr::broadcast(), NetServer::sendMessage(), and NetServer::sendNewUnitQueue().
|
inline |
Definition at line 223 of file star_system_generic.h.
References GravitationalUnits.
Referenced by AddUnit(), CalculateNearestWarpUnit(), createObjects(), Radar::Sensor::FindTracksInRange(), RemoveUnit(), Unit::UpAndDownGrade(), and UpdateUnitPhysics().
bool StarSystem::JumpTo | ( | Unit * | unit, |
Unit * | jumppoint, | ||
const std::string & | system, | ||
bool | force = false , |
||
bool | save_coordinates = false |
||
) |
Definition at line 927 of file star_system_generic.cpp.
References _Universe, Universe::AccessCockpit(), ActivateAnimation(), Universe::activeStarSystem(), ComputeJumpPointArrival(), Unit::UnitJump::delay, Unit::DockedOrDocking(), DoJumpingLeaveSightAndSound(), Unit::UnitJump::drive, filename, Universe::GenerateStarSystem(), Hashtable< KEY, VALUE, SIZ >::Get(), Universe::getActiveStarSystem(), getFileName(), Unit::GetJumpStatus(), Unit::GetSerial(), isJumping(), Universe::isPlayerStarship(), Unit::jump, NetClient::jumpRequest(), Network, Cockpit::OnJumpBegin(), pendingjump, Unit::Position(), QVector, Vector, and VSFileSystem::vs_fprintf().
Referenced by Unit::jumpReactToCollision(), UnitUtil::JumpTo(), TentativeJumpTo(), Unit::UpdatePhysics(), and WarpPursuit().
|
protected |
Definition at line 1498 of file star_system_xml.cpp.
References AddUnit(), Planet::PlanetIterator::advance(), StarSystem::StarXML::backgroundColor, StarSystem::StarXML::backgroundDegamma, StarSystem::StarXML::backgroundname, beginElement(), createBackground(), StarSystem::StarXML::ct, endElement(), f, StarSystem::StarXML::fade, accountXML::file, filename, vs_options::game_speed_affects_autogen_systems, VSFileSystem::GetCorrectStarSysPath(), GetNumNearStarsScale(), GetNumStarsScale(), GetStarSpreadScale(), StarSystem::StarXML::moons, StarSystem::StarXML::numnearstars, StarSystem::StarXML::numstars, VSFileSystem::Ok, StarSystem::StarXML::parentterrain, PLANETPTR, vs_options::reflectivity, StarSystem::StarXML::reflectivity, StarSystem::StarXML::scale, vs_options::star_system_scale, StarSystem::StarXML::starsp, StarSystem::StarXML::systemcentroid, VSFileSystem::SystemFile, StarSystem::StarXML::timeofyear, StarSystem::StarXML::unitlevel, VSFileSystem::vs_dprintf(), and xml.
Referenced by GameStarSystem::GameStarSystem(), and StarSystem().
Unit * StarSystem::nextSignificantUnit | ( | ) |
Definition at line 654 of file star_system_generic.cpp.
References sigIter.
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 173 of file star_system_generic.h.
Referenced by createObjects().
|
inlinevirtual |
activates the light map texture
Reimplemented in GameStarSystem.
Definition at line 169 of file star_system_generic.h.
Referenced by createObjects().
|
static |
Definition at line 804 of file star_system_generic.cpp.
References _Universe, Universe::AccessCockpit(), Universe::activeStarSystem(), Unit::activeStarSystem, Unit::DecreaseWarpEnergy(), DoJumpingComeSightAndSound(), NetClient::downloadZoneInfo(), GetElapsedTime(), VegaConfig::getVariable(), NetClient::inGame(), Universe::isPlayerStarship(), Unit::LocalPosition(), Network, Cockpit::OnJumpEnd(), XMLSupport::parse_bool(), pendingjump, QVector, Universe::setActiveStarSystem(), Unit::SetCurPosition(), SetShieldZero(), Unit::SetVelocity(), SIMULATION_ATOM, speed, Universe::StillExists(), time, Unit::TransferUnitToSystem(), NetClient::unreadyToJump(), Vector, VolitalizeJumpAnimation(), vs_config, VSFileSystem::vs_fprintf(), and Universe::whichPlayerStarship().
Referenced by NetServer::start(), and GameUniverse::StartDraw().
|
protected |
Definition at line 780 of file star_system_generic.cpp.
References Hashtable< KEY, VALUE, SIZ >::Delete(), filename, and Hashtable< KEY, VALUE, SIZ >::Get().
Referenced by GameStarSystem::~GameStarSystem(), and ~StarSystem().
Removes from draw list.
Definition at line 258 of file star_system_generic.cpp.
References collidemap, UnitCollection::createIterator(), drawList, CollideArray::erase(), gravitationalUnits(), i, is_null(), Unit::location, Unit::NUM_COLLIDE_MAPS, physics_buffer, StarSystem::Statistics::RemoveUnit(), set_null(), SIM_QUEUE_SIZE, and stats.
Referenced by ZoneMgr::removeClient().
Requeues the unit so that it is simulated ASAP.
Definition at line 484 of file star_system_generic.cpp.
References UnitCollection::createIterator(), current_sim_location, UnitCollection::UnitIterator::moveBefore(), physics_buffer, Unit::predicted_priority, and SIM_QUEUE_SIZE.
|
inline |
Definition at line 149 of file star_system_generic.h.
References zone.
Referenced by ZoneMgr::addZone().
|
inlinevirtual |
re-enables the included lights and terrains
Reimplemented in GameStarSystem.
Definition at line 184 of file star_system_generic.h.
Referenced by GameUniverse::StartDraw(), Cockpit::Update(), and ~StarSystem().
|
inlinevirtual |
Disables included lights and terrains.
Reimplemented in GameStarSystem.
Definition at line 186 of file star_system_generic.h.
Referenced by Universe::Generate2(), GameUnit< UnitType >::TransferUnitToSystem(), Cockpit::Update(), and ~StarSystem().
update a simulation atom ExecuteDirector must be false if star system is just loaded before mission is loaded
this makes it so systems without players may be simulated less accurately
just be sure to restore this at the end
Definition at line 689 of file star_system_generic.cpp.
References _Universe, Universe::AccessCockpit(), active_missions, Cockpit::activeStarSystem, AUDRefreshSounds(), collidetable, UnitCollection::createIterator(), current_stage, Universe::CurrentCockpit(), drawList, ExecuteDirector(), Universe::getActiveStarSystem(), GetElapsedTime(), getTimeCompression(), i, UnitCollection::UnitIterator::isDone(), UnitUtil::isSignificant(), j, k, MISSION_SIMULATION, Universe::numPlayers(), PHY_NUM, Universe::popActiveStarSystem(), PROCESS_UNIT, Unit::ProcessDeleteQueue(), Universe::pushActiveStarSystem(), queryTime(), run_only_player_starsystem, Universe::SetActiveCockpit(), sigIter, SIMULATION_ATOM, TerrainCollide(), time, Cockpit::Update(), CollideTable::Update(), UpdateAnimatedTexture(), Cockpit::updateAttackers(), UpdateCameraSnds(), UpdateMissiles(), and UpdateUnitPhysics().
Referenced by Universe::Update().
void StarSystem::Update | ( | float | priority) |
Definition at line 659 of file star_system_generic.cpp.
References _Universe, collidetable, UnitCollection::createIterator(), current_stage, drawList, ExecuteDirector(), GetElapsedTime(), MISSION_SIMULATION, PHY_NUM, Universe::popActiveStarSystem(), Unit::ProcessDeleteQueue(), Universe::pushActiveStarSystem(), Unit::SetNebula(), SIMULATION_ATOM, TerrainCollide(), time, CollideTable::Update(), UpdateMissiles(), and UpdateUnitPhysics().
|
virtual |
Definition at line 14 of file missile_generic.cpp.
References UnitCollection::createIterator(), dischargedMissiles, and getUnitList().
Referenced by Update().
void StarSystem::UpdateUnitPhysics | ( | bool | firstframe) |
Definition at line 498 of file star_system_generic.cpp.
References aggfire, StarSystem::Statistics::CheckVitals(), Unit::CollideAll(), collidemap, UnitCollection::createIterator(), Unit::cumulative_transformation, Unit::curr_physical_state, current_sim_location, Unit::ExecuteAI(), CollideArray::flatten(), VSRandom::genrand_int32(), UnitUtil::getPhysicsPriority(), getUnitList(), gravitationalUnits(), identity_matrix(), identity_transformation(), int, last_collisions, Unit::NUM_COLLIDE_MAPS, numprocessed, physics_buffer, physicsframecounter, Unit::predicted_priority, queryTime(), Unit::ResetThreatLevel(), Unit::sim_atom_multiplier, SIM_QUEUE_SIZE, SIMULATION_ATOM, stats, targetpick, theunitcounter, totalprocessed, Unit::UNIT_BOLT, Unit::UNIT_ONLY, Bolt::UpdatePhysics(), Unit::UpdatePhysics(), Vector, and vsrandom.
Referenced by Universe::Generate2(), and Update().
|
inlinevirtual |
Reimplemented in GameStarSystem.
Definition at line 235 of file star_system_generic.h.
Referenced by ProcessPendingJumps().
|
friend |
Definition at line 142 of file star_system_generic.h.
class bolt_draw* StarSystem::bolts |
Definition at line 213 of file star_system_generic.h.
Referenced by Bolt::Bolt(), BoltDestroyGeneric(), Bolt::BoltFromIndex(), Bolt::Destroy(), Bolt::Draw(), GameStarSystem::GameStarSystem(), StarSystem(), and GameStarSystem::~GameStarSystem().
CollideMap* StarSystem::collidemap[2] |
Definition at line 212 of file star_system_generic.h.
Referenced by GameCockpit::AutoLanding(), Bolt::Bolt(), BoltDestroyGeneric(), CalculateNearestWarpUnit(), Mission::call_unit_launch(), CollideChecker< T, canbebolt >::CheckCollisionsInner(), StarSystem::Statistics::CheckVitals(), ChooseNearNavPoint(), Orders::FireAt::ChooseTargets(), Bolt::Collide(), Unit::CollideAll(), GameStarSystem::Draw(), Radar::Sensor::FindTracksInRange(), CommunicatingAI::GetRandomUnit(), Unit::RemoveFromSystem(), RemoveUnit(), StarSystem(), Bolt::Update(), Unit::UpdateCollideQueue(), Bolt::UpdatePhysics(), UpdateUnitPhysics(), and ~StarSystem().
class CollideTable* StarSystem::collidetable |
Definition at line 210 of file star_system_generic.h.
Referenced by AddCollideQueue(), EradicateCollideTable(), GameStarSystem::GameStarSystem(), KillCollideTable(), StarSystem(), TableLocationChanged(), Update(), and ~StarSystem().
|
protected |
Definition at line 120 of file star_system_generic.h.
Referenced by GameStarSystem::Draw(), GameStarSystem::getContTerrain(), and GameStarSystem::numContTerrain().
|
protected |
Definition at line 125 of file star_system_generic.h.
Referenced by AddUnit(), getCurrentSimFrame(), RequestPhysics(), StarSystem(), and UpdateUnitPhysics().
|
protected |
Referenced by GameStarSystem::Draw(), GameStarSystem::GameStarSystem(), StarSystem(), and Update().
|
protected |
Definition at line 144 of file star_system_generic.h.
Referenced by AddMissileToQueue(), and UpdateMissiles().
|
protected |
Everything to be drawn. Folded missiles in here oneday.
Definition at line 122 of file star_system_generic.h.
Referenced by AddUnit(), GameStarSystem::getClickList(), getUnitList(), RemoveUnit(), StarSystem(), Update(), and ~StarSystem().
|
protected |
Definition at line 130 of file star_system_generic.h.
Referenced by GameStarSystem::createBackground(), getFileName(), JumpTo(), LoadXML(), RemoveStarsystemFromUniverse(), and StarSystem().
|
protected |
Definition at line 123 of file star_system_generic.h.
Referenced by GameStarSystem::Draw(), and gravitationalUnits().
Definition at line 147 of file star_system_generic.h.
Referenced by Unit::Collide(), and UpdateUnitPhysics().
|
protected |
Definition at line 143 of file star_system_generic.h.
Referenced by GameStarSystem::GameStarSystem(), GameStarSystem::SwapIn(), and ~StarSystem().
|
protected |
system name
Definition at line 129 of file star_system_generic.h.
Referenced by GameStarSystem::GameStarSystem(), getName(), Universe::getStarSystem(), StarSystem(), and ~StarSystem().
|
protected |
Objects subject to global gravitron physics (disabled)
Definition at line 127 of file star_system_generic.h.
Referenced by GameStarSystem::GameStarSystem(), and StarSystem().
|
protected |
Definition at line 124 of file star_system_generic.h.
Referenced by AddUnit(), GameStarSystem::Draw(), RemoveUnit(), RequestPhysics(), and UpdateUnitPhysics().
|
protected |
Definition at line 131 of file star_system_generic.h.
Referenced by nextSignificantUnit(), StarSystem(), and Update().
|
protected |
The background associated with this system.
The moving, fading stars
Definition at line 137 of file star_system_generic.h.
Referenced by GameStarSystem::createBackground(), GameStarSystem::Draw(), StarSystem(), and GameStarSystem::~GameStarSystem().
struct StarSystem::Statistics StarSystem::stats |
Referenced by AddUnit(), ChooseNavPoint(), RemoveUnit(), and UpdateUnitPhysics().
|
protected |
Stars, planets, etc. Orbital mechanics precalculated.
Definition at line 119 of file star_system_generic.h.
Referenced by GameStarSystem::getTerrain(), and GameStarSystem::numTerrain().
|
protected |
to track the next given physics frame
Definition at line 133 of file star_system_generic.h.
Referenced by GameStarSystem::Draw(), GameStarSystem::GameStarSystem(), ProcessPendingJumps(), StarSystem(), and Update().
|
protected |
Referenced by LoadXML().
|
protected |
Definition at line 145 of file star_system_generic.h.
Referenced by GetZone(), SetZone(), and StarSystem().