aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.h
diff options
context:
space:
mode:
authorDavid Eriksson2003-10-18 12:18:43 +0000
committerDavid Eriksson2003-10-18 12:18:43 +0000
commit935a476a29a8f045e54e1556e1c25ff76d9b942b (patch)
treed3805951fac43d5c958353be52a54eb84d9d38f3 /queen/graphics.h
parentde37ee0c3e064b61b26207b9da3175a477399013 (diff)
downloadscummvm-rg350-935a476a29a8f045e54e1556e1c25ff76d9b942b.tar.gz
scummvm-rg350-935a476a29a8f045e54e1556e1c25ff76d9b942b.tar.bz2
scummvm-rg350-935a476a29a8f045e54e1556e1c25ff76d9b942b.zip
Moved function from Talk to Graphics because Cutaway need it too.
svn-id: r10891
Diffstat (limited to 'queen/graphics.h')
-rw-r--r--queen/graphics.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/queen/graphics.h b/queen/graphics.h
index f6580096ea..6fe656e3cc 100644
--- a/queen/graphics.h
+++ b/queen/graphics.h
@@ -137,6 +137,12 @@ public:
BobSlot *bob(int index);
void bobCustomParallax(uint16 roomNum);
+ void bobSetText(
+ BobSlot *bob,
+ const char *text,
+ int textX, int textY,
+ int color, int flags); // MAKE_SPEAK_BOB
+
void textCurrentColor(uint8 color); // ink()
void textSet(uint16 x, uint16 y, const char *text, bool outlined = true); // text()
void textSetCentered(uint16 y, const char *text, bool outlined = true);
@@ -163,9 +169,11 @@ public:
private:
enum {
+ MAX_STRING_LENGTH = 255,
+ MAX_STRING_SIZE = (MAX_STRING_LENGTH + 1),
BOB_SHRINK_BUF_SIZE = 60000
};
-
+
struct PackedBank {
uint32 indexes[MAX_BANK_SIZE];
uint8 *data;