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"
32typedef uint32 BoundingBox;
34const BoundingBox FullBoundingBox = 0x00001F1F;
35const BoundingBox EmptyBoundingBox = 0x00000000;
36const int TileSize = 32;
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);
Definition: microtiles.h:40