2018-04-13 18:23:45 +02:00
|
|
|
//========= Copyright (C) 1996-2002, Valve LLC, All rights reserved. ============
|
|
|
|
//
|
2021-01-03 02:28:45 +01:00
|
|
|
// Purpose:
|
2018-04-13 18:23:45 +02:00
|
|
|
//
|
|
|
|
// $NoKeywords: $
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
// pm_movevars.h
|
|
|
|
#if !defined( PM_MOVEVARSH )
|
|
|
|
#define PM_MOVEVARSH
|
|
|
|
|
|
|
|
// movevars_t // Physics variables.
|
|
|
|
typedef struct movevars_s movevars_t;
|
|
|
|
|
|
|
|
struct movevars_s
|
|
|
|
{
|
|
|
|
float gravity; // Gravity for map
|
|
|
|
float stopspeed; // Deceleration when not moving
|
|
|
|
float maxspeed; // Max allowed speed
|
|
|
|
float spectatormaxspeed;
|
|
|
|
float accelerate; // Acceleration factor
|
|
|
|
float airaccelerate; // Same for when in open air
|
|
|
|
float wateraccelerate; // Same for when in water
|
2021-01-03 02:28:45 +01:00
|
|
|
float friction;
|
|
|
|
float edgefriction; // Extra friction near dropofs
|
2018-04-13 18:23:45 +02:00
|
|
|
float waterfriction; // Less in water
|
|
|
|
float entgravity; // 1.0
|
|
|
|
float bounce; // Wall bounce value. 1.0
|
|
|
|
float stepsize; // sv_stepsize;
|
|
|
|
float maxvelocity; // maximum server velocity.
|
|
|
|
float zmax; // Max z-buffer range (for GL)
|
|
|
|
float waveHeight; // Water wave height (for GL)
|
|
|
|
qboolean footsteps; // Play footstep sounds
|
|
|
|
char skyName[32]; // Name of the sky map
|
|
|
|
float rollangle;
|
|
|
|
float rollspeed;
|
|
|
|
float skycolor_r; // Sky color
|
2021-01-03 02:28:45 +01:00
|
|
|
float skycolor_g; //
|
2018-04-13 18:23:45 +02:00
|
|
|
float skycolor_b; //
|
|
|
|
float skyvec_x; // Sky vector
|
2021-01-03 02:28:45 +01:00
|
|
|
float skyvec_y; //
|
|
|
|
float skyvec_z; //
|
2018-04-13 18:23:45 +02:00
|
|
|
int features; // engine features that shared across network
|
2021-01-03 02:28:45 +01:00
|
|
|
int fog_settings; // Global fog settings (packed color+density)
|
2018-04-13 18:23:45 +02:00
|
|
|
float wateralpha; // World water alpha 1.0 - solid 0.0 - transparent
|
2019-01-25 14:53:08 +01:00
|
|
|
float skydir_x; // skybox rotate direction
|
|
|
|
float skydir_y; //
|
|
|
|
float skydir_z; //
|
|
|
|
float skyangle; // skybox rotate angle
|
2018-04-13 18:23:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
extern movevars_t movevars;
|
|
|
|
|
2019-01-25 14:53:08 +01:00
|
|
|
#endif
|