ctrls.h keys.h datatypes.h list.h src/ctrls.cpp src/player.h OpenArena::ControlScheme OpenArena #include"keys.h" #include"datatypes.h" #include"list.h" namespaceOpenArena{ classControlScheme { public: enumAction{ACTION_FORWARD,ACTION_BACKWARD,ACTION_LOOKLEFT,ACTION_LOOKRIGHT,ACTION_LOOKUP, ACTION_LOOKDOWN,ACTION_MOVELEFT,ACTION_MOVERIGHT,ACTION_MOVEUP,ACTION_MOVEDOWN, ACTION_ROLLLEFT,ACTION_ROLLRIGHT,ACTION_FIREPRIMARY,ACTION_FIRESECONDARY, ACTION_WEAPONNEXT,ACTION_WEAPONPREV,ACTION_TOGGLE_LIGHTS,ACTION_TOGGLE_FPS, ACTION_TOGGLE_CONSOLE,ACTION_TOGGLE_MOUSELOOK,ACTION_QUICKMOUSELOOK}; voidLoadDefaultControlScheme(); voidClearControlScheme(); voidUnbind(uint8); boolBind(uint32,uint8); list<uint8>forward; list<uint8>backward; list<uint8>lookLeft; list<uint8>lookRight; list<uint8>lookUp; list<uint8>lookDown; list<uint8>moveLeft; list<uint8>moveRight; list<uint8>moveUp; list<uint8>moveDown; list<uint8>firePrimary; list<uint8>fireSecondary; list<uint8>weaponNext; list<uint8>weaponPrev; list<uint8>toggleLights; list<uint8>toggleFPS; list<uint8>toggleConsole; list<uint8>toggleMouseLook; list<uint8>quickMouseLook; list<uint8>rollLeft; list<uint8>rollRight; }; };