#ifndef WORLD_H
#define WORLD_H
+#include "qtypes.h"
+#include "qdefs.h"
+#include "cvar.h"
+#include "com_list.h"
#include "collision.h"
+#include "matrixlib.h"
+#include "r_textures.h"
+typedef struct model_s dp_model_t;
#define MOVE_NORMAL 0
#define MOVE_NOMONSTERS 1
typedef struct link_s
{
+ llist_t list;
int entitynumber;
- struct link_s *prev, *next;
} link_t;
typedef struct world_physics_s
{
// for ODE physics engine
- qboolean ode; // if true then ode is activated
+ qbool ode; // if true then ode is activated
void *ode_world;
void *ode_space;
void *ode_contactgroup;
int ode_iterations;
// actual step (server frametime / ode_iterations)
vec_t ode_step;
+ // time we need to simulate, for constantstep
+ vec_t ode_time;
// stats
int ode_numobjects; // total objects cound
int ode_activeovjects; // active objects count