29#define MOVE_NOMONSTERS 1
31#define MOVE_WORLDONLY 3
32#define MOVE_HITMODEL 4
35#define AREA_GRIDNODES (AREA_GRID * AREA_GRID)
43typedef struct world_physics_s
129struct edict_odefunc_s;
#define MAX_QPATH
max length of a quake game pathname
int areagrid_stats_entitychecks
struct prvm_prog_s * prog
int areagrid_stats_nodechecks
void World_Physics_ApplyCmd(struct prvm_edict_s *ed, struct edict_odefunc_s *f)
void World_Physics_RemoveJointFromEntity(world_t *world, struct prvm_edict_s *ed)
void World_PrintAreaStats(world_t *world, const char *worldname)
void World_InsertLinkBefore(link_t *l, link_t *before, int entitynumber)
int World_EntitiesInBox(world_t *world, const vec3_t mins, const vec3_t maxs, int maxlist, struct prvm_edict_s **list)
void World_ClearLink(link_t *l)
World_ClearLink is used for new headnodes.
void World_Physics_Frame(world_t *world, double frametime, double gravity)
void World_SetSize(world_t *world, const char *filename, const vec3_t mins, const vec3_t maxs, struct prvm_prog_s *prog)
called after the world model has been loaded, before linking any entities
void World_UnlinkAll(world_t *world)
unlinks all entities (used before reallocation of edicts)
void World_RemoveLink(link_t *l)
void World_UnlinkEdict(struct prvm_edict_s *ent)
call before removing an entity, and before trying to move one, so it doesn't clip against itself
void World_LinkEdict(world_t *world, struct prvm_edict_s *ent, const vec3_t mins, const vec3_t maxs, qbool link_solid_not)
Needs to be called any time an entity changes origin, mins, maxs.
void World_Start(world_t *world)
void World_End(world_t *world)
void World_Shutdown(void)
void World_Physics_RemoveFromEntity(world_t *world, struct prvm_edict_s *ed)