X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=world.h;h=54d5447778e51b0a5918e9025bf4edae70b98ee5;hb=c29be2ab7e92f63b899fcc6ac5a2db1ac6707f12;hp=90c70884060461343cf4932f5a858c2c0d5926d2;hpb=cfee52a1ec9db338098789cae89ae5cf1f7a6fbf;p=xonotic%2Fdarkplaces.git diff --git a/world.h b/world.h index 90c70884..54d54477 100644 --- a/world.h +++ b/world.h @@ -46,10 +46,12 @@ typedef struct world_physics_s void *ode_world; void *ode_space; void *ode_contactgroup; - // number of constraint solver iterations to use (for dWorldStepFast) + // number of constraint solver iterations to use (for dWorldQuickStep) 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 @@ -94,6 +96,7 @@ 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);