Rev 4989 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4989 | Rev 5066 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | // #define BUTTONCLEAR(x) (CONTROL_ButtonState &= ~((uint64_t)1<<((uint64_t)(x))))
|
28 | // #define BUTTONCLEAR(x) (CONTROL_ButtonState &= ~((uint64_t)1<<((uint64_t)(x))))
|
29 | 29 | ||
30 | #define PRECISIONSHOOTFACTOR 0.3f
|
30 | #define PRECISIONSHOOTFACTOR 0.3f
|
31 | 31 | ||
32 | // where do these numbers come from?
|
32 | // where do these numbers come from?
|
33 | #define ANDROIDFORWARDMOVEFACTOR 5000
|
- | |
34 | #define ANDROIDSIDEMOVEFACTOR 200
|
- | |
35 | #define ANDROIDPITCHFACTOR 100000
|
33 | #define ANDROIDMOVEFACTOR 6400
|
36 | #define ANDROIDYAWFACTOR 160000
|
34 | #define ANDROIDLOOKFACTOR 160000
|
37 | 35 | ||
38 | #define ANDROIDPITCHFACTORJOYSTICK 2000
|
36 | #define ANDROIDPITCHFACTORJOYSTICK 2000
|
39 | #define ANDROIDYAWFACTORJOYSTICK 4000
|
37 | #define ANDROIDYAWFACTORJOYSTICK 4000
|
40 | 38 | ||
41 | 39 | ||
Line 110... | Line 108... | ||
110 | 108 | ||
111 | void PortableMouseMenu(float x,float y); |
109 | void PortableMouseMenu(float x,float y); |
112 | void PortableMouseMenuButton(int state,int button); |
110 | void PortableMouseMenuButton(int state,int button); |
113 | 111 | ||
114 | void PortableMove(float fwd, float strafe); |
112 | void PortableMove(float fwd, float strafe); |
115 | void PortableLook(double yaw, double pitch); |
113 | void PortableLook(float yaw, float pitch); |
116 | void PortableLookJoystick(double yaw, double pitch); |
114 | void PortableLookJoystick(float yaw, float pitch); |
117 | void PortableCommand(const char * cmd); |
115 | void PortableCommand(const char * cmd); |
118 | 116 | ||
119 | void PortableAutomapControl(float zoom,float dx,float dy); |
117 | void PortableAutomapControl(float zoom,float dx,float dy); |
120 | 118 | ||
121 | void PortableInit(int argc, const char ** argv); |
119 | void PortableInit(int argc, const char ** argv); |