X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollision_grid.h;h=abb2ef1682ebafd0cbea305e321eff8223321323;hb=c62a9b627722f6371877c4dcbc218c60edb58559;hp=10275628f646000b2fa809bc12d353e949f5ef37;hpb=c0093d25093395cb62fc2526ab42be65a9f015b8;p=supertux.git diff --git a/src/collision_grid.h b/src/collision_grid.h index 10275628f..abb2ef168 100644 --- a/src/collision_grid.h +++ b/src/collision_grid.h @@ -17,15 +17,12 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. - #ifndef __COLLISION_GRID_H__ #define __COLLISION_GRID_H__ #include #include "moving_object.h" -using namespace SuperTux; - class CollisionGridIterator; /** @@ -49,7 +46,7 @@ private: struct ObjectWrapper { MovingObject* object; - Rectangle dest; + Rect dest; /** (pseudo) timestamp. When reading from the grid the timestamp is * changed so that you can easily avoid reading an object multiple times * when it is in several cells that you check.