diff options
Diffstat (limited to 'queen/graphics.h')
-rw-r--r-- | queen/graphics.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/queen/graphics.h b/queen/graphics.h index 2b2d8a1a79..7cb84659e4 100644 --- a/queen/graphics.h +++ b/queen/graphics.h @@ -23,6 +23,7 @@ #define QUEENGRAPHICS_H #include "queen/queen.h" +#include "queen/structs.h" namespace Queen { @@ -40,15 +41,6 @@ struct BobFrame { uint8 *data; }; -// FIXME: share that with logic.h (ObjectData) ? -struct Box { - uint16 x1, y1, x2, y2; - - bool intersects(uint16 x, uint16 y, uint16 w, uint16 h) const { - return (x + w > x1) && (y + h > y1) && (x <= x2) && (y <= y2); - } -}; - struct BobSlot { bool active; |