Classes | |
| class | ModuleSim |
| ModuleSim class. More... | |
| class | Cloud |
| Cloud class. More... | |
| class | VisitorChangeFlameColor |
| Change color of polygons of jet flame. More... | |
| class | JetFlame |
| Jet flame animation. More... | |
| class | Aircraft |
| Base class specialized for aircraft. More... | |
| class | F14Tomcat |
| Twin-engine variable-sweep interceptor for US Navy. More... | |
| class | ProxyCraft |
| Proxy Craft object that orchestrates and switches multiple models of F-14 Crafts. More... | |
| class | Global |
| Global class collects globals as members to determine their order of construction. More... | |
| class | ModuleSimGui |
| Module GUI screens. More... | |
| class | Hud |
| HUD. More... | |
| class | MissileActor |
| Missile. More... | |
| class | DemoMode |
| Demo mode. More... | |
| class | FlightMode |
| Flight mode. More... | |
| class | Settings |
| Global program settings. More... | |
| class | Sky |
| Sky class (special 3D object in itself and an Object factor). More... | |
| class | Sound |
| High-level Sound class. More... | |
| class | Terrain |
| Creates a quadrant of a terrain model. More... | |
| class | Heightmap |
| Heightmap. More... | |
| class | TileFactory |
| Makes drawable Tile objects from a section of heightmap. More... | |
| class | Tile |
| Drawable Object of a terrain tile composed paired triangles in a rectangle. More... | |
| class | SimWorld |
| SimWorld. More... | |
Namespaces | |
| namespace | defs |
| namespace | game |
| namespace | terrain_defs |
Enumerations | |
| enum | eCraftModel { eCraftModel_F14_TOMCAT } |
| enum | { TYPESIG_ACTOR = TYPESIG_AFTER_MOD_BASE, TYPESIG_MISSILE, TYPESIG_END } |
| Type signatures. More... | |
Functions | |
| SharedPtr< F14Tomcat > | MakeF14Tomcat (const WorldVertex &pos, const string &modelName, const bool visible) |
| const list< string > & | GetF14TomcatModelNames (void) |
| void | ConfigureF14Physics (Physics &physics) |
| SharedPtr< F14Tomcat > | MakeF14Tomcat (const WorldVertex &pos, const string &modelName, const bool visible) |
| void | ConfigureF14Physics (Physics &physics) |
| void | ModuleSimGui_GuiButtonCallback (GuiObject *obj, uint buttons) |
| static fp | VectorFontWidth (const uint charCnt) |
| static void | PrintHelpConsole (void) |
| static void | SplashHeader (void) |
| void | Splash (void) |
| bool | KeyboardCommonHandler (const inp::Keyboard::Event &keyEvent) |
| static void | TranslateLight (uint axis, fp inc) |
| void | KeyboardTranslateEye (uint axis, fp inc) |
| void | KeyboardRotateEye (uint axis, Radian rad) |
| template<typename T> | |
| SharedPtr< Array< T > > | NewFlatArray (const Array2D< T > &array2d) |
| Return a flat Array<> from Array2D<>. | |
| template<typename T> | |
| SharedPtr< Array< T > > | NewFlatArray (const Array2D< T > &array2d_0, const Array2D< T > &array2d_1) |
| Return a flat Array<> from a pair of Array2D<>. | |
| void | FireMissile (SharedPtr< Craft > craftLauncher) |
| static Sprite::Textures | GetSmokeTrailTextures (void) |
| static WorldVertex | ComputeParticlePosition (const WorldVertex &pos) |
| static uint8 | CLAMP_COLOR (int i) |
| void | FireMissile (shptr< Craft > craftLauncher) |
| ostream & | operator<< (ostream &strm, const Settings &settings) |
| const string | GetTextureDir (void) |
| const string | GetModelPathname (const string &modelName) |
| ostream & | operator<< (ostream &strm, const SimWorld::Conf &conf) |
Variables | |
| static const RGBA | CLOUD_COLOR (0xff, 0xff, 0xff, 0xff) |
| string | cfgkey_gui_zoom = "v2_gui_zoom" |
| string | cfgkey_fog_density = "v2_fog_density" |
| string | cfgkey_fov = "v2_fov" |
| string | cfgkey_gui_zoom |
| string | cfgkey_fog_density |
| string | cfgkey_fov |
| const fp | F14_MAX_SWEEP_DEG = 45.0 |
| const fp | F14_MAX_VANE_DEG = 30.0 |
| Global | global |
| const RGBA | sColorText (0.10, 0.40, 0.50, 0.45) |
| const RGBA | sColorGauges (0.10, 0.10, 0.80, 0.70) |
| const RGBA | sColorGray (0.40, 0.40, 0.40, 0.70) |
| const RGBA | sColorRed (1.00, 0.10, 0.10, 0.70) |
| const RGBA | sColorBlue (0.10, 0.20, 0.80, 0.70) |
| const RGBA | sColorBlue2 (0.20, 0.40, 0.70, 0.70) |
| const RGBA | sColorBlue3 (0.15, 0.30, 0.60, 0.70) |
| const RGBA | sColorPink (0.60, 0.10, 0.10, 0.70) |
| const RGBA | sColorGreen (0.15, 0.60, 0.30, 0.70) |
| Zoom | sZoom = { 1.0, 0.10, 0.50, 2.00 } |
| const char | JOYCAL_SET_LEFT_MAX_STR [] = "SET ROLL LEFT MAX" |
| const char | JOYCAL_SET_LEFT_MIN_STR [] = "MIN" |
| const char | JOYCAL_SET_RIGHT_MAX_STR [] = "SET ROLL RIGHT MAX" |
| const char | JOYCAL_SET_RIGHT_MIN_STR [] = "MIN" |
| const char | JOYCAL_SET_UP_MAX_STR [] = "SET PITCH UP MAX" |
| const char | JOYCAL_SET_UP_MIN_STR [] = "MIN" |
| const char | JOYCAL_SET_DOWN_MAX_STR [] = "SET PITCH DOWN MAX" |
| const char | JOYCAL_SET_DOWN_MIN_STR [] = "MIN" |
| const char | JOYCAL_SET_SLOW_MAX_STR [] = "SET AXIS3 SLOW MAX" |
| const char | JOYCAL_SET_SLOW_MIN_STR [] = "MIN" |
| const char | JOYCAL_SET_FAST_MAX_STR [] = "SET AXIS3 FAST MAX" |
| const char | JOYCAL_SET_FAST_MIN_STR [] = "MIN" |
| const fp | GUI_PERSPECTIVE_INC = 0.5 |
| const fp | GUI_PERSPECTIVE_MIN = 1.0 |
| const fp | GUI_PERSPECTIVE_MAX = 30.0 |
| const fp | GUI_FOG_DENSITY_INC = 0.05 |
| const fp | GUI_FOG_DENSITY_MIN = 0.0 |
| const fp | GUI_FOG_DENSITY_MAX = 1.0 |
| uint | sTempLen |
| char | sTemp [512] |
| static const fp | VECTOR_FONT_SCALE = 8.0 |
| static const fp | VECTOR_FONT_MARGIN = 1.5 |
| static const fp | VECTOR_FONT_HEIGHT = VECTOR_FONT_SCALE * VECTOR_FONT_MARGIN |
| static const fp | VECTOR_FONT_HALF_HEIGHT = VECTOR_FONT_HEIGHT * 0.5 |
| static const fp | HUD_Y = ( 260.0 ) |
| static const fp | HUD_HEIGHT = ( 160.0 ) |
| static const fp | OUTLINE_X = ( 200.0 ) |
| static const fp | OUTLINE_Y = ( 32.0 ) |
| static const uint | ALTITUDE_CHAR_CNT = 5 |
| static const fp | ALTITUDE_RANGE = 8000.0 |
| static const fp | ALTITUDE_INC = 2000.0 |
| static const fp | ALTITUDE_MINOR_LADDER_STEP_CNT = 4 |
| static const fp | ALTITUDE_LADDER_X = ( 30 ) |
| static const fp | ALTITUDE_LADDER_Y = HUD_Y |
| static const uint | SPEED_CHAR_CNT = 3 |
| static const fp | SPEED_RANGE = 3.0 |
| static const fp | SPEED_INC = ( 0.5 ) |
| static const fp | SPEED_MINOR_LADDER_STEP_CNT = 2 |
| static const fp | SPEED_LADDER_X = ( 30.0 ) |
| static const fp | SPEED_LADDER_Y = HUD_Y |
| static const RGBA | sColorRed (1.00, 0.10, 0.10, 1.00) |
| static char | sTemp [512] |
| static const Milliseconds | MISSILE_LIFETIME = 20 * 1000 |
| static const Milliseconds | MISSILE_PARTICLE_LIFETIME = 6 * 1000 |
| static const RGBA | MISSILE_COLOR (0xff, 0xa0, 0x40, 0xff) |
| static const RGBA | MISSILE_LIGHT_COLOR_AMBIENT_DIFFUSE (0xdf, 0xb0, 0x00, 0x80) |
| const fp | INITIAL_MACH = 0.5 |
| const fp | INITIAL_THROTTLE = 0.20 |
| const fp | KEYBOARD_THROTTLE_INC = 0.025 |
| const Vector3 | LIGHT_POS (((-9000.0)),((18000.0)),((18000.0))) |
| Settings | gSettings |
| static const fp | SKY_SQUARE_WIDTH_FACTOR = 0.70 |
| static const fp | SUN_LARGE_AURA_FACTOR = 0.40 |
| static const fp | SUN_SMALL_AURA_FACTOR = 0.08 |
| static const fp | SUN_CORE_FACTOR = 0.0075 |
| static const RGBA | SUN_LARGE_AURA_COLOR = RGBA( 1.0, 1.0, 0.80, 0.35 ) |
| static const RGBA | SUN_SMALL_AURA_COLOR = RGBA( 1.0, 1.0, 0.60, 0.45 ) |
| static const RGBA | SUN_CORE_COLOR = RGBA( 1.0, 1.0, 0.90, 0.60 ) |
| static const fp | MOON_FACTOR = 0.0065 |
| static const RGBA | MOON_COLOR = RGBA( 1.0, 1.0, 1.0, 0.60 ) |
| static const fp | CUMULUS_CLOUD_BOX_WIDTH_FACTOR = 0.65 |
| const fp | THROTTLE_VOLUME_THRESHOLD = 0.1 |
| const Milliseconds | TICKS_BETWEEN_BREAKING_SOUND_BARRIER = 10000 |
| const fp | MACH_SOUND_BARRIER_LOW = 0.95 |
| const fp | MACH_SOUND_BARRIER_HIGH = 1.05 |
| static const fp | TCB = 0.20 |
| static const RGBA | COLOR_WATER1 = RGBA( 0.00+TCB, 0.10+TCB, 0.45+TCB, 1.00 ) |
| static const RGBA | COLOR_WATER2 = RGBA( 0.05+TCB, 0.20+TCB, 0.55+TCB, 1.00 ) |
| static const RGBA | COLOR_SAND = RGBA( 0.42+TCB, 0.45+TCB, 0.55+TCB, 1.00 ) |
| static const RGBA | COLOR_GRASS = RGBA( 0.10+TCB, 0.39+TCB, 0.05+TCB, 1.00 ) |
| static const RGBA | COLOR_TUNDRA = RGBA( 0.30+TCB, 0.27+TCB, 0.15+TCB, 1.00 ) |
| static const RGBA | COLOR_ROCK = RGBA( 0.33+TCB, 0.37+TCB, 0.40+TCB, 1.00 ) |
| static const RGBA | COLOR_SNOW = RGBA( 1.00+TCB, 1.00+TCB, 1.00+TCB, 1.00 ) |
| static const fp | HEIGHT_WATER = 0.05 |
| static const fp | HEIGHT_SAND = 0.10 |
| static const fp | HEIGHT_GRASS = 0.20 |
| static const fp | HEIGHT_TUNDRA = 0.65 |
| static const fp | HEIGHT_ROCK = 0.90 |
| static const fp | HEIGHT_SNOW = 1.00 |
| static const ColorsNode::Value | sColorsNodeValue (RGBA(1.0, 1.0, 1.0, 0.7)) |
| enum mod_sim::eCraftModel |
| static uint8 mod_sim::CLAMP_COLOR | ( | int | i | ) | [inline, static] |
Animate particle.
| static WorldVertex mod_sim::ComputeParticlePosition | ( | const WorldVertex & | pos | ) | [inline, static] |
Creates randomness to smoke trail by adding slight random offsets to position of particles.
| void mod_sim::ConfigureF14Physics | ( | Physics & | physics | ) |
| void mod_sim::ConfigureF14Physics | ( | Physics & | physics | ) |
Configure F-14 physics. Separate function for configuring EyeCraft as an F-14.
| void mod_sim::FireMissile | ( | shptr< Craft > | craftLauncher | ) |
Interface to fire a missile from a Craft.
| const list< string > & mod_sim::GetF14TomcatModelNames | ( | void | ) |
Get list of F-14 Tomcat model names.
| const string mod_sim::GetModelPathname | ( | const string & | modelName | ) |
| static Sprite::Textures mod_sim::GetSmokeTrailTextures | ( | void | ) | [static] |
Get textures for smoke trail.
| const string mod_sim::GetTextureDir | ( | void | ) |
| bool mod_sim::KeyboardCommonHandler | ( | const inp::Keyboard::Event & | keyEvent | ) |
Common keyboard handler.
| void mod_sim::KeyboardRotateEye | ( | uint | axis, | |
| Radian | rad | |||
| ) |
DEPRECATED (needed by mod_sim_test.cc). Rotate Eye.
DEPRECATED (needed by mod_sim_test.cc). Translate Eye.
| SharedPtr<F14Tomcat> mod_sim::MakeF14Tomcat | ( | const WorldVertex & | pos, | |
| const string & | modelName, | |||
| const bool | visible | |||
| ) |
| SharedPtr<F14Tomcat> mod_sim::MakeF14Tomcat | ( | const WorldVertex & | pos, | |
| const string & | modelName, | |||
| const bool | visible | |||
| ) |
Helper to make an F-14 Tomcat.
| pos | ||
| modelName | Laetitia Casta, Kathy Ireland, Daniela Pestova. Passing Hillary Clinton will cause SIGSEGV. HUMOR | |
| visible |
Called by underlying gfx Gui class when a Gui button was clicked.
| SharedPtr< Array<T> > mod_sim::NewFlatArray | ( | const Array2D< T > & | array2d_0, | |
| const Array2D< T > & | array2d_1 | |||
| ) | [inline] |
Return a flat Array<> from a pair of Array2D<>.
| SharedPtr< Array<T> > mod_sim::NewFlatArray | ( | const Array2D< T > & | array2d | ) | [inline] |
Return a flat Array<> from Array2D<>.
| ostream & mod_sim::operator<< | ( | ostream & | strm, | |
| const SimWorld::Conf & | conf | |||
| ) |
Print terrain configuration.
| ostream & mod_sim::operator<< | ( | ostream & | strm, | |
| const Settings & | settings | |||
| ) |
Print Settings configuration.
| static void mod_sim::PrintHelpConsole | ( | void | ) | [static] |
Help.
| void mod_sim::Splash | ( | void | ) |
| static void mod_sim::SplashHeader | ( | void | ) | [static] |
Startup splash screen.
const uint mod_sim::ALTITUDE_CHAR_CNT = 5 [static] |
const fp mod_sim::ALTITUDE_INC = 2000.0 [static] |
const fp mod_sim::ALTITUDE_LADDER_X = ( 30 ) [static] |
const fp mod_sim::ALTITUDE_LADDER_Y = HUD_Y [static] |
const fp mod_sim::ALTITUDE_MINOR_LADDER_STEP_CNT = 4 [static] |
const fp mod_sim::ALTITUDE_RANGE = 8000.0 [static] |
| string mod_sim::cfgkey_fog_density |
| string mod_sim::cfgkey_fog_density = "v2_fog_density" |
| string mod_sim::cfgkey_fov |
| string mod_sim::cfgkey_fov = "v2_fov" |
| string mod_sim::cfgkey_gui_zoom |
| string mod_sim::cfgkey_gui_zoom = "v2_gui_zoom" |
const RGBA mod_sim::CLOUD_COLOR(0xff, 0xff, 0xff, 0xff) [static] |
const fp mod_sim::CUMULUS_CLOUD_BOX_WIDTH_FACTOR = 0.65 [static] |
| const fp mod_sim::F14_MAX_SWEEP_DEG = 45.0 |
| const fp mod_sim::F14_MAX_VANE_DEG = 30.0 |
const fp mod_sim::GUI_FOG_DENSITY_INC = 0.05 [static] |
const fp mod_sim::GUI_FOG_DENSITY_MAX = 1.0 [static] |
const fp mod_sim::GUI_FOG_DENSITY_MIN = 0.0 [static] |
const fp mod_sim::GUI_PERSPECTIVE_INC = 0.5 [static] |
const fp mod_sim::GUI_PERSPECTIVE_MAX = 30.0 [static] |
const fp mod_sim::GUI_PERSPECTIVE_MIN = 1.0 [static] |
const fp mod_sim::HEIGHT_GRASS = 0.20 [static] |
const fp mod_sim::HEIGHT_ROCK = 0.90 [static] |
const fp mod_sim::HEIGHT_SAND = 0.10 [static] |
const fp mod_sim::HEIGHT_SNOW = 1.00 [static] |
const fp mod_sim::HEIGHT_TUNDRA = 0.65 [static] |
const fp mod_sim::HEIGHT_WATER = 0.05 [static] |
const fp mod_sim::HUD_HEIGHT = ( 160.0 ) [static] |
const fp mod_sim::HUD_Y = ( 260.0 ) [static] |
| const fp mod_sim::INITIAL_MACH = 0.5 |
| const fp mod_sim::INITIAL_THROTTLE = 0.20 |
const char mod_sim::JOYCAL_SET_DOWN_MAX_STR[] = "SET PITCH DOWN MAX" [static] |
const char mod_sim::JOYCAL_SET_DOWN_MIN_STR[] = "MIN" [static] |
const char mod_sim::JOYCAL_SET_FAST_MAX_STR[] = "SET AXIS3 FAST MAX" [static] |
const char mod_sim::JOYCAL_SET_FAST_MIN_STR[] = "MIN" [static] |
const char mod_sim::JOYCAL_SET_LEFT_MAX_STR[] = "SET ROLL LEFT MAX" [static] |
const char mod_sim::JOYCAL_SET_LEFT_MIN_STR[] = "MIN" [static] |
const char mod_sim::JOYCAL_SET_RIGHT_MAX_STR[] = "SET ROLL RIGHT MAX" [static] |
const char mod_sim::JOYCAL_SET_RIGHT_MIN_STR[] = "MIN" [static] |
const char mod_sim::JOYCAL_SET_SLOW_MAX_STR[] = "SET AXIS3 SLOW MAX" [static] |
const char mod_sim::JOYCAL_SET_SLOW_MIN_STR[] = "MIN" [static] |
const char mod_sim::JOYCAL_SET_UP_MAX_STR[] = "SET PITCH UP MAX" [static] |
const char mod_sim::JOYCAL_SET_UP_MIN_STR[] = "MIN" [static] |
| const fp mod_sim::KEYBOARD_THROTTLE_INC = 0.025 |
| const Vector3 mod_sim::LIGHT_POS(((-9000.0)),((18000.0)),((18000.0))) |
| const fp mod_sim::MACH_SOUND_BARRIER_HIGH = 1.05 |
| const fp mod_sim::MACH_SOUND_BARRIER_LOW = 0.95 |
const RGBA mod_sim::MISSILE_COLOR(0xff, 0xa0, 0x40, 0xff) [static] |
const Milliseconds mod_sim::MISSILE_LIFETIME = 20 * 1000 [static] |
const RGBA mod_sim::MISSILE_LIGHT_COLOR_AMBIENT_DIFFUSE(0xdf, 0xb0, 0x00, 0x80) [static] |
const Milliseconds mod_sim::MISSILE_PARTICLE_LIFETIME = 6 * 1000 [static] |
const RGBA mod_sim::MOON_COLOR = RGBA( 1.0, 1.0, 1.0, 0.60 ) [static] |
const fp mod_sim::MOON_FACTOR = 0.0065 [static] |
const fp mod_sim::OUTLINE_X = ( 200.0 ) [static] |
const fp mod_sim::OUTLINE_Y = ( 32.0 ) [static] |
const RGBA mod_sim::sColorBlue(0.10, 0.20, 0.80, 0.70) [static] |
const RGBA mod_sim::sColorBlue2(0.20, 0.40, 0.70, 0.70) [static] |
const RGBA mod_sim::sColorBlue3(0.15, 0.30, 0.60, 0.70) [static] |
const RGBA mod_sim::sColorGauges(0.10, 0.10, 0.80, 0.70) [static] |
const RGBA mod_sim::sColorGray(0.40, 0.40, 0.40, 0.70) [static] |
const RGBA mod_sim::sColorGreen(0.15, 0.60, 0.30, 0.70) [static] |
const RGBA mod_sim::sColorPink(0.60, 0.10, 0.10, 0.70) [static] |
const RGBA mod_sim::sColorRed(1.00, 0.10, 0.10, 1.00) [static] |
const RGBA mod_sim::sColorRed(1.00, 0.10, 0.10, 0.70) [static] |
const ColorsNode::Value mod_sim::sColorsNodeValue(RGBA(1.0, 1.0, 1.0, 0.7)) [static] |
const RGBA mod_sim::sColorText(0.10, 0.40, 0.50, 0.45) [static] |
const fp mod_sim::SKY_SQUARE_WIDTH_FACTOR = 0.70 [static] |
const uint mod_sim::SPEED_CHAR_CNT = 3 [static] |
const fp mod_sim::SPEED_INC = ( 0.5 ) [static] |
const fp mod_sim::SPEED_LADDER_X = ( 30.0 ) [static] |
const fp mod_sim::SPEED_LADDER_Y = HUD_Y [static] |
const fp mod_sim::SPEED_MINOR_LADDER_STEP_CNT = 2 [static] |
const fp mod_sim::SPEED_RANGE = 3.0 [static] |
char mod_sim::sTemp[512] [static] |
char mod_sim::sTemp[512] [static] |
uint mod_sim::sTempLen [static] |
const RGBA mod_sim::SUN_CORE_COLOR = RGBA( 1.0, 1.0, 0.90, 0.60 ) [static] |
const fp mod_sim::SUN_CORE_FACTOR = 0.0075 [static] |
const RGBA mod_sim::SUN_LARGE_AURA_COLOR = RGBA( 1.0, 1.0, 0.80, 0.35 ) [static] |
const fp mod_sim::SUN_LARGE_AURA_FACTOR = 0.40 [static] |
const RGBA mod_sim::SUN_SMALL_AURA_COLOR = RGBA( 1.0, 1.0, 0.60, 0.45 ) [static] |
const fp mod_sim::SUN_SMALL_AURA_FACTOR = 0.08 [static] |
Zoom mod_sim::sZoom = { 1.0, 0.10, 0.50, 2.00 } [static] |
const fp mod_sim::TCB = 0.20 [static] |
| const fp mod_sim::THROTTLE_VOLUME_THRESHOLD = 0.1 |
| const Milliseconds mod_sim::TICKS_BETWEEN_BREAKING_SOUND_BARRIER = 10000 |
const fp mod_sim::VECTOR_FONT_HALF_HEIGHT = VECTOR_FONT_HEIGHT * 0.5 [static] |
const fp mod_sim::VECTOR_FONT_HEIGHT = VECTOR_FONT_SCALE * VECTOR_FONT_MARGIN [static] |
const fp mod_sim::VECTOR_FONT_MARGIN = 1.5 [static] |
const fp mod_sim::VECTOR_FONT_SCALE = 8.0 [static] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:30 2007