|
|
|
@ -28,7 +28,7 @@ static const Ogre::Vector3 halfExtents(14.64f * 2, 14.24f * 2, 33.25f * 2);
|
|
|
|
|
#define MAX_CLIP_PLANES 5
|
|
|
|
|
#define OVERCLIP 1.001f
|
|
|
|
|
//#define STEPSIZE 18 // 18 is way too much
|
|
|
|
|
#define STEPSIZE (13.5)
|
|
|
|
|
#define STEPSIZE (9)
|
|
|
|
|
#ifndef M_PI
|
|
|
|
|
#define M_PI 3.14159265358979323846f
|
|
|
|
|
#endif
|
|
|
|
@ -42,7 +42,7 @@ static const Ogre::Vector3 halfExtents(14.64f * 2, 14.24f * 2, 33.25f * 2);
|
|
|
|
|
#define ENTITYNUM_NONE (MAX_GENTITIES - 1)
|
|
|
|
|
#define ENTITYNUM_WORLD (MAX_GENTITIES - 2)
|
|
|
|
|
#define MIN_WALK_NORMAL .7f // can't walk on very steep slopes
|
|
|
|
|
#define JUMP_VELOCITY (270)
|
|
|
|
|
#define JUMP_VELOCITY (540)
|
|
|
|
|
#define PS_PMOVEFRAMECOUNTBITS 6
|
|
|
|
|
#define MINS_Z -24
|
|
|
|
|
#define DEFAULT_VIEWHEIGHT 26
|
|
|
|
@ -90,7 +90,7 @@ struct playerMove
|
|
|
|
|
{
|
|
|
|
|
struct playerStruct
|
|
|
|
|
{
|
|
|
|
|
playerStruct() : gravity(800.0f), speed(480.0f), pmove_framecount(20), groundEntityNum(ENTITYNUM_NONE), commandTime(40), move_type(PM_NOCLIP), pm_time(0), snappingImplemented(true), bSnap(false), counter(-1)
|
|
|
|
|
playerStruct() : gravity(800.0f), speed(2000.0f), pmove_framecount(20), groundEntityNum(ENTITYNUM_NONE), commandTime(40), move_type(PM_NOCLIP), pm_time(0), snappingImplemented(true), bSnap(false), counter(-1)
|
|
|
|
|
{
|
|
|
|
|
origin = Ogre::Vector3(733.164f,900.0f, 839.432f);
|
|
|
|
|
velocity = Ogre::Vector3(0.0f, 0.0f, 0.0f);
|
|
|
|
|