-#ifndef COMMON_PHYSICS_H
-#define COMMON_PHYSICS_H
+#pragma once
// Client/server mappings
.vector v_angle_old;
.string lastclassname;
-.float(entity) PlayerPhysplug;
+.float(entity,float) PlayerPhysplug;
float AdjustAirAccelQW(float accelqw, float factor);
bool IsFlying(entity a);
#ifdef CSQC
#define PHYS_FIXANGLE(s) ('0 0 0')
- #define PHYS_MOVETYPE(s) ((s).move_movetype)
string autocvar_cl_jumpspeedcap_min;
string autocvar_cl_jumpspeedcap_max;
#elif defined(SVQC)
#define PHYS_FIXANGLE(s) ((s).fixangle)
- #define PHYS_MOVETYPE(s) ((s).movetype)
bool Physics_Valid(string thecvar);
return true;
}
#endif
-
-#endif