StarTrekV3_Linux
Version3
|
#include <KeyMapper.h>
Public Member Functions | |
TKeyMapper (ALLEGRO_COLOR a_ColorMapped, ALLEGRO_COLOR a_ColorMapping, ALLEGRO_FONT *a_pFont) | |
void | SetDefaultMapping () |
bool | MapKey (int a_nKey) |
void | DrawMapping () |
bool | IsKey (int a_nKeyNr, KEYS a_MappedKey) |
void | Save (ofstream &a_SaveStream) |
void | Load (ifstream &a_LoadStream) |
TKeyMapper::TKeyMapper | ( | ALLEGRO_COLOR | a_ColorMapped, |
ALLEGRO_COLOR | a_ColorMapping, | ||
ALLEGRO_FONT * | a_pFont | ||
) |
void TKeyMapper::DrawMapping | ( | ) |
bool TKeyMapper::IsKey | ( | int | a_nKeyNr, |
KEYS | a_MappedKey | ||
) |
void TKeyMapper::Load | ( | ifstream & | a_LoadStream | ) |
bool TKeyMapper::MapKey | ( | int | a_nKey | ) |
void TKeyMapper::Save | ( | ofstream & | a_SaveStream | ) |
void TKeyMapper::SetDefaultMapping | ( | ) |