]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world.h
Initialize console commands and cvars before anything else
[xonotic/darkplaces.git] / world.h
diff --git a/world.h b/world.h
index 122b9c708a635d959f66780fd8bf6857ad31c612..54d5447778e51b0a5918e9025bf4edae70b98ee5 100644 (file)
--- a/world.h
+++ b/world.h
@@ -50,6 +50,8 @@ typedef struct world_physics_s
        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);