mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 10:11:50 +00:00
3fd83632fb
git-svn-id: https://svn.eduke32.com/eduke32@4386 1a8010ca-5511-0410-912e-c29ae57300e0
46 lines
829 B
C
46 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
|