29 unsigned static const int MAP_WIDTH
= 40;
30 unsigned static const int MAP_HEIGHT
= 28;
32 unsigned static const int MAP_SHIFT
= 2 * Tileset::TILE_HEIGHT
;
36 std::vector
<std::vector
<Tile
> > tiles
; // ( MAP_WIDTH, std::vector<Tile>( MAP_HEIGHT ) );
37 std::vector
<Robot
*> robots
;
44 bool load( const char *fmap
);
52 Tile
*tileAt( Uint8 mapX
, Uint8 mapY
);
54 bool PushPushable( Uint8 fromX
, Uint8 fromY
, Uint8 dirX
, Uint8 dirY
);
56 void RemoveTile( Uint8 mapX
, Uint8 mapY
);
58 bool isRobotOn( Uint8 mapX
, Uint8 mapY
);
60 void Acid( Uint8 cX
, Uint8 cY
);
62 void Explode( Uint8 X
, Uint8 Y
);
64 static void transformM2S( Uint8 mapX
, Uint8 mapY
, Sint16
&x
, Sint16
&y
); //MapCoordinates to ScreenC.