]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world.h
Attempt to stabilize ODE. Now using constant step (sys_ticrate set steptime) - on...
[xonotic/darkplaces.git] / world.h
diff --git a/world.h b/world.h
index 2f2c8a787f2494d49191fd86b2a40f6f074581d4..fbf9e8351381ec7cb28cc8fb119ab36513554648 100644 (file)
--- a/world.h
+++ b/world.h
@@ -50,6 +50,9 @@ typedef struct world_physics_s
        int ode_iterations;
        // actual step (server frametime / ode_iterations)
        vec_t ode_step;
+       // stats
+       int ode_numobjects; // total objects cound
+       int ode_activeovjects; // active objects count
        // max velocity for a 1-unit radius object at current step to prevent
        // missed collisions
        vec_t ode_movelimit;