#include <mod_sim_world.hh>

Public Member Functions | |
| SimWorld (void) | |
| ~SimWorld () | |
| bool | IfMade (void) |
| ultimately determined by derived World | |
| void | Make (void) |
| fp | GetFighterAircraftWidth (void) |
| fp | GetMissileWidth (void) |
| WorldVertex | GetCenter (void) |
| bool | IfEdge (const WorldVertex &pos) |
| Conf & | GetConf (void) |
Private Types | |
| typedef World | Parent |
Private Member Functions | |
| void | Populate (SafePtr< World::Quadrant > q) |
| void | ReadWorldConf (void) |
| void | ComputeWorldConf (void) |
| void | CheckWorldConf (void) |
Private Attributes | |
| Conf | mConf |
| bool | mMade |
| if World (base+derived) is fully made | |
| WorldVertex | mCenter |
Friends | |
| class | World |
| class | Locus |
| class | Quadrant |
| class | ModuleSim |
| ostream & | operator<< (ostream &strm, const SimWorld::Conf &conf) |
Classes | |
| struct | Conf |
| World parameters read from world.conf file. More... | |
| class | WorldConfReader |
typedef World mod_sim::SimWorld::Parent [private] |
| mod_sim::SimWorld::SimWorld | ( | void | ) |
ctor/dtor.
| mod_sim::SimWorld::~SimWorld | ( | ) |
| bool mod_sim::SimWorld::IfMade | ( | void | ) | [inline, virtual] |
| void mod_sim::SimWorld::Make | ( | void | ) | [virtual] |
See World::Make().
Implements eng::World.
| fp mod_sim::SimWorld::GetFighterAircraftWidth | ( | void | ) |
Get typical widths of fighter aircraft, missiles, etc.
| fp mod_sim::SimWorld::GetMissileWidth | ( | void | ) |
| void mod_sim::SimWorld::Populate | ( | SafePtr< World::Quadrant > | q | ) | [private] |
| WorldVertex mod_sim::SimWorld::GetCenter | ( | void | ) | [inline] |
| bool mod_sim::SimWorld::IfEdge | ( | const WorldVertex & | pos | ) |
| Conf& mod_sim::SimWorld::GetConf | ( | void | ) | [inline] |
| void mod_sim::SimWorld::ReadWorldConf | ( | void | ) | [private] |
Read World parameters from a configuration file. This is called very early in startup.
Its format consists of simple lines: # comment VarName value
| void mod_sim::SimWorld::ComputeWorldConf | ( | void | ) | [private] |
| void mod_sim::SimWorld::CheckWorldConf | ( | void | ) | [private] |
Check configuration after all fields were parsed.
friend class World [friend] |
friend class Locus [friend] |
Reimplemented from eng::World.
friend class Quadrant [friend] |
Reimplemented from eng::World.
friend class ModuleSim [friend] |
| ostream& operator<< | ( | ostream & | strm, | |
| const SimWorld::Conf & | conf | |||
| ) | [friend] |
Print terrain configuration.
Conf mod_sim::SimWorld::mConf [private] |
bool mod_sim::SimWorld::mMade [private] |
if World (base+derived) is fully made
WorldVertex mod_sim::SimWorld::mCenter [private] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:31 2007