22 #ifndef NEVERHOOD_MICROTILES_H 23 #define NEVERHOOD_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;
46 RectangleList *getRectangles();
49 int16 _tilesW, _tilesH;
50 byte TileX0(
const BoundingBox &boundingBox);
51 byte TileY0(
const BoundingBox &boundingBox);
52 byte TileX1(
const BoundingBox &boundingBox);
53 byte TileY1(
const BoundingBox &boundingBox);
54 bool isBoundingBoxEmpty(
const BoundingBox &boundingBox);
55 bool isBoundingBoxFull(
const BoundingBox &boundingBox);
56 void setBoundingBox(BoundingBox &boundingBox, byte x0, byte y0, byte x1, byte y1);
57 void updateBoundingBox(BoundingBox &boundingBox, byte x0, byte y0, byte x1, byte y1);
62 #endif // NEVERHOOD_MICROTILES_H Definition: background.h:30
Definition: microtiles.h:40