Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <queue>
#include <list>
#include "in_kb.h"
#include "in_mouse.h"
#include "in_joystick.h"
#include "in_handler.h"
Go to the source code of this file.
Functions | |
void | AddListener (InputListener *il) |
void | ActivateListener (InputListener *il) |
void | RemoveListener (InputListener *il) |
void | ProcessInput (size_t whichplayer) |
void | InitInput () |
void | DeInitInput () |
Variables | |
KBSTATE | keyState [LAST_MODIFIER][KEYMAP_SIZE] |
queue< InputListener * > | activationreqqueue |
list< InputListener * > | listeners |
InputListener * | activelistener |
void ActivateListener | ( | InputListener * | il) |
Definition at line 45 of file in_main.cpp.
References activationreqqueue.
void AddListener | ( | InputListener * | il) |
Definition at line 37 of file in_main.cpp.
References keyState, InputListener::keystate, listeners, InputListener::mousex, mousex, InputListener::mousey, and mousey.
void DeInitInput | ( | ) |
Definition at line 70 of file in_main.cpp.
References DeInitJoystick().
Referenced by GameUniverse::~GameUniverse().
void InitInput | ( | ) |
Definition at line 64 of file in_main.cpp.
References InitJoystick(), InitKB(), and InitMouse().
Referenced by GameUniverse::Init().
void ProcessInput | ( | size_t | whichplayer) |
Definition at line 55 of file in_main.cpp.
References i, joystick, MAX_JOYSTICKS, ProcessJoystick(), ProcessKB(), and ProcessMouse().
Referenced by GameUniverse::StartDraw().
void RemoveListener | ( | InputListener * | il) |
Definition at line 50 of file in_main.cpp.
References listeners.
queue< InputListener* > activationreqqueue |
Definition at line 33 of file in_main.cpp.
Referenced by ActivateListener().
InputListener* activelistener |
Definition at line 35 of file in_main.cpp.
KBSTATE keyState[LAST_MODIFIER][KEYMAP_SIZE] |
list< InputListener* > listeners |
Definition at line 34 of file in_main.cpp.
Referenced by AddListener(), and RemoveListener().