[Super-tux-commit] supertux/lib/special moving_object.h,1.5,1.6
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-11-29 16:04:17
|
Update of /cvsroot/super-tux/supertux/lib/special In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18135/lib/special Modified Files: moving_object.h Log Message: started work on a collision grid class to speedup collision detection. Doesn't work for moving objects yet, but brings speed in area42 from 5fps back to 100fps on my box (still I get 300-400fps in other levels) Index: moving_object.h =================================================================== RCS file: /cvsroot/super-tux/supertux/lib/special/moving_object.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- moving_object.h 27 Nov 2004 14:42:37 -0000 1.5 +++ moving_object.h 29 Nov 2004 16:03:29 -0000 1.6 @@ -26,6 +26,7 @@ #include "math/rectangle.h" class Sector; +class CollisionGrid; namespace SuperTux { |