Classes | |
| class | ChasePlane |
| Chase-plane Mediator class. More... | |
| class | Module |
| Module base class. More... | |
| class | VisitorClonePartitionNodes |
| Clone PartitionNodes. More... | |
| class | Craft |
| Craft class. More... | |
| class | EyeCraft |
| Craft-derivative to control first-persion view. More... | |
| class | Dyna |
| Dyna class. More... | |
| class | Events |
| Module event nexus. More... | |
| class | Guidance |
| Missile guidance. More... | |
| class | Joystick |
| Joystick control of a Dyna, joystick calibration. More... | |
| class | Keyboard |
| Mid-level keyboard class. More... | |
| class | ModuleMode |
| Base class for a "module mode" (demo mode, free-flight mode, etc). More... | |
| class | Particle |
| Particle. More... | |
| class | ParticleSystem |
| Particle system. More... | |
| class | Physics |
| Physics model. More... | |
| class | Settings |
| Global program settings. More... | |
| class | VisitorFindPartitionNode |
| Visitor that finds a PartitionNode. More... | |
| class | VisitorFindNode |
| Visitor template class that finds a Node under a PartitionNode. More... | |
Namespaces | |
| namespace | defs |
Enumerations | |
| enum | { TYPESIG_CRAFT = TYPESIG_AFTER_ENGINE, TYPESIG_PARTICLE, TYPESIG_AFTER_MOD_BASE } |
| Type signatures. More... | |
Functions | |
| INLINE uint8 | f2ub (fp f) |
| INLINE uint8 | ui2ub (uint i) |
| static Radian | OrientMatrix_CalcAngleYaw (Matrix &m, const Vector3 &targetLocal) |
| static Radian | OrientMatrix_CalcAnglePitch (Matrix &m, const Vector3 &targetLocal) |
| static bool | OrientMatrix_Check (const Matrix &m, const Vector3 &targetLocal) |
| void | OrientMatrix (Matrix &m, const Vector3 &targetWorld) |
| void | OrientMatrix (Matrix &m, const Vector3 &targetWorld) |
| static void | ReadControlResponse (TinyArray< 3, Degree > &arr3, ifstream &conf) |
| ostream & | operator<< (ostream &strm, const Settings &settings) |
Variables | |
| string | cfgkey_joystick = "joystick" |
| string | cfgkey_joystick_axis3 = "joystick_axis3" |
| string | cfgkey_joy_left_min = "joy_left_min" |
| string | cfgkey_joy_left_max = "joy_left_max" |
| string | cfgkey_joy_right_min = "joy_right_min" |
| string | cfgkey_joy_right_max = "joy_right_max" |
| string | cfgkey_joy_up_min = "joy_up_min" |
| string | cfgkey_joy_up_max = "joy_up_max" |
| string | cfgkey_joy_down_min = "joy_down_min" |
| string | cfgkey_joy_down_max = "joy_down_max" |
| string | cfgkey_joy_slow_min = "joy_axis3_slow_min" |
| string | cfgkey_joy_slow_max = "joy_axis3_slow_max" |
| string | cfgkey_joy_fast_min = "joy_axis3_fast_min" |
| string | cfgkey_joy_fast_max = "joy_axis3_fast_max" |
| string | cfgkey_response = "v2_response" |
| SafePtr< ConfigFile > | sConfig = NULL |
| const string | cfgkey_module = "module" |
| string | cfgkey_joystick |
| string | cfgkey_joystick_axis3 |
| string | cfgkey_joy_left_min |
| string | cfgkey_joy_left_max |
| string | cfgkey_joy_right_min |
| string | cfgkey_joy_right_max |
| string | cfgkey_joy_up_min |
| string | cfgkey_joy_up_max |
| string | cfgkey_joy_down_min |
| string | cfgkey_joy_down_max |
| string | cfgkey_joy_slow_min |
| string | cfgkey_joy_slow_max |
| string | cfgkey_joy_fast_min |
| string | cfgkey_joy_fast_max |
| string | cfgkey_response |
| const fp | THROTTLE_THRESHOLD = 0.01 |
| const fp | FENCE_MARGIN = WORLD(500.0) |
| const fp | HIT_DISTANCE = WORLD(150.0) |
| Settings | gSettings |
| INLINE uint8 mod_base::f2ub | ( | fp | f | ) |
Convert float to unsigned byte.
| ostream & mod_base::operator<< | ( | ostream & | strm, | |
| const Settings & | settings | |||
| ) |
Print Settings configuration.
| void mod_base::OrientMatrix | ( | Matrix & | m, | |
| const Vector3 & | targetWorld | |||
| ) |
Orient a matrix so that the matrix -Z axis is pointing at a 3D point (target). Only the matrix axis coefficients are changed (not the matrix origin). Orient means a combination of rotations.
| static Radian mod_base::OrientMatrix_CalcAnglePitch | ( | Matrix & | m, | |
| const Vector3 & | targetLocal | |||
| ) | [static] |
Calculate radian to pitch a matrix towards a target vertex.
| m | matrix (in/out) | |
| targetLocal | Target translated relative to matrix space. |
| static Radian mod_base::OrientMatrix_CalcAngleYaw | ( | Matrix & | m, | |
| const Vector3 & | targetLocal | |||
| ) | [static] |
Calculate radian to yaw a matrix towards a target vertex.
| m | matrix (in/out) | |
| targetLocal | Target translated relative to matrix space. |
Check 3D angle between matrix Z axis and target.
| static void mod_base::ReadControlResponse | ( | TinyArray< 3, Degree > & | arr3, | |
| ifstream & | conf | |||
| ) | [static] |
Read keyboard/joystick response setting.
| INLINE uint8 mod_base::ui2ub | ( | uint | i | ) |
Limit uint to {0,...,0xff}.
| string mod_base::cfgkey_joy_down_max = "joy_down_max" |
| string mod_base::cfgkey_joy_down_min = "joy_down_min" |
| string mod_base::cfgkey_joy_fast_max = "joy_axis3_fast_max" |
| string mod_base::cfgkey_joy_fast_min = "joy_axis3_fast_min" |
| string mod_base::cfgkey_joy_left_max = "joy_left_max" |
| string mod_base::cfgkey_joy_left_min = "joy_left_min" |
| string mod_base::cfgkey_joy_right_max = "joy_right_max" |
| string mod_base::cfgkey_joy_right_min = "joy_right_min" |
| string mod_base::cfgkey_joy_slow_max = "joy_axis3_slow_max" |
| string mod_base::cfgkey_joy_slow_min = "joy_axis3_slow_min" |
| string mod_base::cfgkey_joy_up_max |
| string mod_base::cfgkey_joy_up_max = "joy_up_max" |
| string mod_base::cfgkey_joy_up_min |
| string mod_base::cfgkey_joy_up_min = "joy_up_min" |
| string mod_base::cfgkey_joystick |
| string mod_base::cfgkey_joystick = "joystick" |
| string mod_base::cfgkey_joystick_axis3 = "joystick_axis3" |
| const string mod_base::cfgkey_module = "module" |
| string mod_base::cfgkey_response |
| string mod_base::cfgkey_response = "v2_response" |
| const fp mod_base::FENCE_MARGIN = WORLD(500.0) |
| const fp mod_base::HIT_DISTANCE = WORLD(150.0) |
SafePtr<ConfigFile> mod_base::sConfig = NULL [static] |
| const fp mod_base::THROTTLE_THRESHOLD = 0.01 |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:28 2007