mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
47 lines
829 B
C
47 lines
829 B
C
|
#include "function.h"
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#define LOOK_MODE_MOUSE 0
|
||
|
#define LOOK_MODE_ABSOLUTE 1
|
||
|
#define LOOK_MODE_JOYSTICK 2
|
||
|
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
int PortableKeyEvent(int state, int code, int unicode);
|
||
|
void PortableAction(int state, int action);
|
||
|
|
||
|
void PortableMove(float fwd, float strafe);
|
||
|
void PortableMoveFwd(float fwd);
|
||
|
void PortableMoveSide(float strafe);
|
||
|
void PortableLookPitch(int mode, float pitch);
|
||
|
void PortableLookYaw(int mode, float pitch);
|
||
|
void PortableCommand(const char * cmd);
|
||
|
|
||
|
void PortableInit(int argc,const char ** argv);
|
||
|
void PortableFrame();
|
||
|
|
||
|
int PortableInMenu();
|
||
|
int PortableShowKeyboard();
|
||
|
int PortableInAutomap();
|
||
|
|
||
|
unsigned int PortableGetWeapons();
|
||
|
|
||
|
int getLastWeapon();
|
||
|
|
||
|
int isPaused();
|
||
|
|
||
|
|
||
|
//check mode, so touch graphcics can adapt
|
||
|
int PortableIsSoftwareMode();
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|