#include <C4KeyboardInput.h>
Public Types | |
enum | { KeyPos_None = 0x7fffff } |
Public Member Functions | |
C4KeyEventData ()=default | |
C4KeyEventData (int32_t iStrength, int32_t game_x, int32_t game_y, int32_t vp_x, int32_t vp_y) | |
void | CompileFunc (StdCompiler *pComp) |
bool | operator== (const struct C4KeyEventData &cmp) const |
Public Attributes | |
int32_t | iStrength {0} |
int32_t | game_x {KeyPos_None} |
int32_t | game_y {KeyPos_None} |
int32_t | vp_x {KeyPos_None} |
int32_t | vp_y {KeyPos_None} |
Definition at line 243 of file C4KeyboardInput.h.
anonymous enum |
|
default |
|
inline |
Definition at line 249 of file C4KeyboardInput.h.
void C4KeyEventData::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 590 of file C4KeyboardInput.cpp.
References game_x, game_y, iStrength, StdCompiler::Separator(), StdCompiler::Value(), vp_x, and vp_y.
bool C4KeyEventData::operator== | ( | const struct C4KeyEventData & | cmp | ) | const |
int32_t C4KeyEventData::game_x {KeyPos_None} |
Definition at line 247 of file C4KeyboardInput.h.
Referenced by CompileFunc(), C4KeyboardInput::DoInput(), C4PlayerControl::DoMouseInput(), operator==(), and C4PlayerControl::PrepareInput().
int32_t C4KeyEventData::game_y {KeyPos_None} |
Definition at line 247 of file C4KeyboardInput.h.
Referenced by CompileFunc(), C4KeyboardInput::DoInput(), C4PlayerControl::DoMouseInput(), operator==(), and C4PlayerControl::PrepareInput().
int32_t C4KeyEventData::iStrength {0} |
Definition at line 246 of file C4KeyboardInput.h.
Referenced by CompileFunc(), C4KeyboardInput::DoInput(), C4PlayerControl::DoMouseInput(), C4PlayerControl::CSync::ControlDownState::IsDown(), operator==(), C4PlayerControl::PrepareInput(), and C4PlayerControl::CSync::ResetControlDownState().
int32_t C4KeyEventData::vp_x {KeyPos_None} |
Definition at line 247 of file C4KeyboardInput.h.
Referenced by CompileFunc(), C4KeyboardInput::DoInput(), C4PlayerControl::DoMouseInput(), operator==(), and C4PlayerControl::PrepareInput().
int32_t C4KeyEventData::vp_y {KeyPos_None} |
Definition at line 247 of file C4KeyboardInput.h.
Referenced by CompileFunc(), C4KeyboardInput::DoInput(), C4PlayerControl::DoMouseInput(), operator==(), and C4PlayerControl::PrepareInput().