X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=world.h;h=01968a0a2a1dac72f080f3df1cb2be805983c4e2;hb=7c656ac03a03a5fa910f9cad3c4735ed62f7ab69;hp=54d5447778e51b0a5918e9025bf4edae70b98ee5;hpb=c29be2ab7e92f63b899fcc6ac5a2db1ac6707f12;p=xonotic%2Fdarkplaces.git diff --git a/world.h b/world.h index 54d54477..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; @@ -96,7 +98,6 @@ void World_ClearLink(link_t *l); void World_RemoveLink(link_t *l); void World_InsertLinkBefore(link_t *l, link_t *before, int entitynumber); -void World_Init_Commands(void); void World_Init(void); void World_Shutdown(void);