#include "base.hh"
#include "base_settings.hh"
#include "gfx.hh"
#include "gfx_settings.hh"
#include "inp.hh"
#include "inp_joystick.hh"
#include "eng.hh"
#include "mod_base.hh"
#include "mod_base_joystick.hh"
Namespaces | |
| namespace | mod_base |
Defines | |
| #define | MOD_BASE_JOYSTICK_CC 1 |
Control response: ----------------- Joystick class isn't aware of which the view mode (eye or chase-plane) so it doesn't know to use which of Settings::mJoystickResponseEye/Chase. Therefore, higher-level code (Module) is expected to know which and call Joystick::SetResponseEye/Chase() accordingly.
Settings::mJoystickResponse is a base multiplier which multiplies Settings::mJoystickResponseEye/Chase/Craft. The end product, used by Joystick, is stored in Joystick::mResponse[].
Base response multiplier: ------------------------- Settings::mJoystick/KeyboardResponse are first read from settings.conf. Additionally, the GUI's RESPONSE buttton can increase/decrease a response variable stored in ~/.palomino.cfg which multiples the base multiplier.
Settings::mJoystickResponse[axis] = settings.conf Settings::mJoystickResponse[axis] *= ConfigFile.v2_response
SetResponse() vs. AdjustResponse(): ----------------------------------- SetResponse() is an absolute reassignment. AdjustResponse() is a relative reassignment. An automobile analogy:
| #define MOD_BASE_JOYSTICK_CC 1 |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:15 2007