X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=world.h;h=01968a0a2a1dac72f080f3df1cb2be805983c4e2;hb=6eaa7786b5d46e771154ebd7fdd23d53ba7e6265;hp=e43ebd142c6ffc99f7fcfa01a5badb0baa86966d;hpb=a51a70c2254b27a68e5fe74cc5985b02dc36e1e9;p=xonotic%2Fdarkplaces.git diff --git a/world.h b/world.h index e43ebd14..01968a0a 100644 --- a/world.h +++ b/world.h @@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef WORLD_H #define WORLD_H +#include "qtypes.h" +#include "com_list.h" #include "collision.h" #define MOVE_NORMAL 0 @@ -35,14 +37,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;