22#ifndef CHAMBER_DIALOG_H
23#define CHAMBER_DIALOG_H
27extern uint16 cur_str_index;
28extern uint16 cur_dlg_index;
46#define MAX_DIRTY_RECT 10
50#define SPIKE_MASK 0xE0
52#define SPIKE_UPRIGHT 0x20
53#define SPIKE_DNRIGHT 0x80
54#define SPIKE_DNLEFT 0xA0
55#define SPIKE_BUBBLES 0x40
56#define SPIKE_BUBRIGHT 0xC0
57#define SPIKE_BUBLEFT 0xE0
59void addDirtyRect(
byte kind,
byte x,
byte y,
byte w,
byte h, uint16 offs);
60void getDirtyRectAndFree(int16 index,
byte *kind,
byte *x,
byte *y,
byte *w,
byte *h, uint16 *offs);
61void getDirtyRectAndSetSprite(int16 index,
byte *kind,
byte *x,
byte *y,
byte *w,
byte *h, uint16 *offs);
63void popDirtyRects(
byte kind);
64void drawPersonBubble(
byte x,
byte y,
byte flags,
byte *msg);
65void desciTextBox(uint16 x, uint16 y, uint16 width,
byte *msg);
69byte *seekToString(
byte *bank, uint16 num);
70byte *seekToStringScr(
byte *bank, uint16 num,
byte **ptr);