22 #ifndef SWORD25_MICROTILES_H 23 #define SWORD25_MICROTILES_H 25 #include "common/scummsys.h" 26 #include "common/list.h" 27 #include "common/util.h" 28 #include "common/rect.h" 32 typedef uint32 BoundingBox;
34 const BoundingBox FullBoundingBox = 0x00001F1F;
35 const BoundingBox EmptyBoundingBox = 0x00000000;
36 const int TileSize = 32;
50 int16 _tilesW, _tilesH;
51 byte TileX0(
const BoundingBox &boundingBox);
52 byte TileY0(
const BoundingBox &boundingBox);
53 byte TileX1(
const BoundingBox &boundingBox);
54 byte TileY1(
const BoundingBox &boundingBox);
55 bool isBoundingBoxEmpty(
const BoundingBox &boundingBox);
56 bool isBoundingBoxFull(
const BoundingBox &boundingBox);
57 void setBoundingBox(BoundingBox &boundingBox, byte x0, byte y0, byte x1, byte y1);
58 void updateBoundingBox(BoundingBox &boundingBox, byte x0, byte y0, byte x1, byte y1);
63 #endif // SWORD25_MICROTILES_H
Definition: microtiles.h:38
Definition: microtiles.h:41
void clear()
Definition: list.h:206