]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world.h
client: Add r_stats.[ch]. Move render stats code to it.
[xonotic/darkplaces.git] / world.h
diff --git a/world.h b/world.h
index e43ebd142c6ffc99f7fcfa01a5badb0baa86966d..7e20c8019614a7195359139b2b0b08b23dd4adc8 100644 (file)
--- a/world.h
+++ b/world.h
@@ -22,7 +22,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #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
@@ -35,14 +42,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 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;