#include "base.hh"
#include "gfx.hh"
#include "eng.hh"
#include "eng_misc.hh"
#include "mod_base.hh"
#include "mod_sim.hh"
#include "mod_sim_hud.hh"
#include "mod_sim_game.hh"
Namespaces | |
| namespace | mod_sim |
Defines | |
| #define | MOD_SIM_HUD_CC 1 |
| #define | PIXEL(PIXEL) (PIXEL) |
| #define | ALTITUDE_CHAR_CNT_STRING "5" |
| #define | SPEED_CHAR_CNT_STRING "2" |
| #define | COMPUTE_SPEED_TEXT_Y(SPEED) ladderPos.y + ((SPEED) - speed) * (mAltSpeedHeight/SPEED_RANGE) - yOffset |
| #define | COMPUTE_ALTITUDE_TEXT_Y(ALT) ladderPos.y + ((ALT) - alt) * (mAltSpeedHeight/ALTITUDE_RANGE) - yOffset |
| #define | HUD_PNT(IDX, VEC2A, VEC2B, VEC2C, VEC2D) |
Functions | |
| static fp | mod_sim::VectorFontWidth (const uint charCnt) |
Variables | |
| static const fp | mod_sim::VECTOR_FONT_SCALE = 8.0 |
| static const fp | mod_sim::VECTOR_FONT_MARGIN = 1.5 |
| static const fp | mod_sim::VECTOR_FONT_HEIGHT = VECTOR_FONT_SCALE * VECTOR_FONT_MARGIN |
| static const fp | mod_sim::VECTOR_FONT_HALF_HEIGHT = VECTOR_FONT_HEIGHT * 0.5 |
| static const fp | mod_sim::HUD_Y = ( 260.0 ) |
| static const fp | mod_sim::HUD_HEIGHT = ( 160.0 ) |
| static const fp | mod_sim::OUTLINE_X = ( 200.0 ) |
| static const fp | mod_sim::OUTLINE_Y = ( 32.0 ) |
| static const uint | mod_sim::ALTITUDE_CHAR_CNT = 5 |
| static const fp | mod_sim::ALTITUDE_RANGE = 8000.0 |
| static const fp | mod_sim::ALTITUDE_INC = 2000.0 |
| static const fp | mod_sim::ALTITUDE_MINOR_LADDER_STEP_CNT = 4 |
| static const fp | mod_sim::ALTITUDE_LADDER_X = ( 30 ) |
| static const fp | mod_sim::ALTITUDE_LADDER_Y = HUD_Y |
| static const uint | mod_sim::SPEED_CHAR_CNT = 3 |
| static const fp | mod_sim::SPEED_RANGE = 3.0 |
| static const fp | mod_sim::SPEED_INC = ( 0.5 ) |
| static const fp | mod_sim::SPEED_MINOR_LADDER_STEP_CNT = 2 |
| static const fp | mod_sim::SPEED_LADDER_X = ( 30.0 ) |
| static const fp | mod_sim::SPEED_LADDER_Y = HUD_Y |
| static const RGBA | mod_sim::sColorRed (1.00, 0.10, 0.10, 1.00) |
| static char | mod_sim::sTemp [512] |
| #define ALTITUDE_CHAR_CNT_STRING "5" |
| #define COMPUTE_ALTITUDE_TEXT_Y | ( | ALT | ) | ladderPos.y + ((ALT) - alt) * (mAltSpeedHeight/ALTITUDE_RANGE) - yOffset |
| #define COMPUTE_SPEED_TEXT_Y | ( | SPEED | ) | ladderPos.y + ((SPEED) - speed) * (mAltSpeedHeight/SPEED_RANGE) - yOffset |
| #define HUD_PNT | ( | IDX, | |||
| VEC2A, | |||||
| VEC2B, | |||||
| VEC2C, | |||||
| VEC2D | ) |
| #define MOD_SIM_HUD_CC 1 |
| #define PIXEL | ( | PIXEL | ) | (PIXEL) |
| #define SPEED_CHAR_CNT_STRING "2" |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:16 2007