aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.h
diff options
context:
space:
mode:
authorGregory Montoir2004-01-08 14:10:32 +0000
committerGregory Montoir2004-01-08 14:10:32 +0000
commit85f8b442f212e4eb1b044cc7ed23747a4ca4e76b (patch)
treefc67ec16e20bbe5d3b02f4d7553ca75e743b6b14 /queen/graphics.h
parentea154852b7f4fd6b3d6d068c18b02b988948110c (diff)
downloadscummvm-rg350-85f8b442f212e4eb1b044cc7ed23747a4ca4e76b.tar.gz
scummvm-rg350-85f8b442f212e4eb1b044cc7ed23747a4ca4e76b.tar.bz2
scummvm-rg350-85f8b442f212e4eb1b044cc7ed23747a4ca4e76b.zip
- new Grid class to handle all zones / areas stuff
- adapted Logic/Walk code to use it svn-id: r12250
Diffstat (limited to 'queen/graphics.h')
-rw-r--r--queen/graphics.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/queen/graphics.h b/queen/graphics.h
index c374bd7cfc..b0c8369119 100644
--- a/queen/graphics.h
+++ b/queen/graphics.h
@@ -29,14 +29,6 @@
namespace Queen {
-
-struct BobFrame {
- uint16 width, height;
- uint16 xhotspot, yhotspot;
- uint8 *data;
-};
-
-
struct BobSlot {
bool active;
//! current position
@@ -93,7 +85,6 @@ struct BobSlot {
void clear();
};
-
struct TextSlot {
uint16 x;
uint8 color;
@@ -101,47 +92,6 @@ struct TextSlot {
bool outlined;
};
-class Resource;
-
-class BankManager {
-public:
-
- BankManager(Resource *res);
- ~BankManager();
-
- void load(const char *bankname, uint32 bankslot);
- void unpack(uint32 srcframe, uint32 dstframe, uint32 bankslot);
- void overpack(uint32 srcframe, uint32 dstframe, uint32 bankslot);
- void close(uint32 bankslot);
-
- BobFrame *fetchFrame(uint32 index);
- void eraseFrame(uint32 index);
- void eraseAllFrames(bool joe);
-
- enum {
- MAX_BANK_SIZE = 110,
- MAX_FRAMES_NUMBER = 256,
- MAX_BANKS_NUMBER = 18
- };
-
-
-private:
-
- struct PackedBank {
- uint32 indexes[MAX_BANK_SIZE];
- uint8 *data;
- };
-
- //! unbanked bob frames
- BobFrame _frames[MAX_FRAMES_NUMBER];
-
- //! banked bob frames
- PackedBank _banks[MAX_BANKS_NUMBER];
-
- Resource *_res;
-};
-
-
class QueenEngine;
class Graphics {