Subversion Repositories eduke32

Rev

Rev 4433 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4386 terminx 1
#include "function.h"
2
 
3
 
4
 
5
 
6
#define LOOK_MODE_MOUSE    0
7
#define LOOK_MODE_ABSOLUTE 1
8
#define LOOK_MODE_JOYSTICK 2
9
 
10
 
11
 
12
#ifdef __cplusplus
13
extern "C"
14
{
15
#endif
16
int PortableKeyEvent(int state, int code, int unicode);
17
void PortableAction(int state, int action);
18
 
19
void PortableMove(float fwd, float strafe);
20
void PortableMoveFwd(float fwd);
21
void PortableMoveSide(float strafe);
22
void PortableLookPitch(int mode, float pitch);
23
void PortableLookYaw(int mode, float pitch);
24
void PortableCommand(const char * cmd);
25
 
26
void PortableInit(int argc,const char ** argv);
27
void PortableFrame();
28
 
29
int PortableInMenu();
30
int PortableShowKeyboard();
31
int PortableInAutomap();
32
 
33
unsigned int PortableGetWeapons();
34
 
35
int getLastWeapon();
36
 
37
int isPaused();
38
 
39
 
40
//check mode, so touch graphcics can adapt
41
int PortableIsSoftwareMode();
42
 
43
 
44
#ifdef __cplusplus
45
}
46
#endif