26#include "common/array.h"
27#include "common/coroutines.h"
28#include "tinsel/object.h"
41#define MAX_FONT_CHARS 256
46#define C16_FLAG_MASK (C16_240 | C16_224 | C16_MAP)
96 int xPos,
int yPos,
SCNHANDLE hFont,
int mode,
int sleepTime = 0);
102uint32 t3GetBaseColor();
uint32 SCNHANDLE
Definition: dw.h:31
@ TXT_RIGHT
right justify text
Definition: text.h:35
@ TXT_ABSOLUTE
position of text is absolute (only for object text)
Definition: text.h:37
@ TXT_SHADOW
shadow each character
Definition: text.h:36
@ TXT_CENTER
center justify text
Definition: text.h:34
OBJECT * ObjectTextOut(OBJECT **pList, char *szStr, int color, int xPos, int yPos, SCNHANDLE hFont, int mode, int sleepTime=0)
int baseColor
base color which can be replaced, specific to Tinsel 3
Definition: text.h:59
Common::Array< SCNHANDLE > fontDef
image handle array for all characters in the font
Definition: text.h:61
int spaceSize
x spacing to use for a space character
Definition: text.h:58
OBJ_INIT fontInit
structure used to init text objects
Definition: text.h:60
int xShadow
x shadow offset
Definition: text.h:56
int xSpacing
x spacing between characters
Definition: text.h:54
int yShadow
y shadow offset
Definition: text.h:57
int ySpacing
y spacing between characters
Definition: text.h:55
int xPos
x position of string
Definition: text.h:70
int color
color for monochrome text
Definition: text.h:69
int sleepTime
sleep time between each character (if non-zero)
Definition: text.h:74
OBJECT * pList
object list to add text to
Definition: text.h:67
SCNHANDLE hFont
which font to use
Definition: text.h:72
int mode
mode flags for the string
Definition: text.h:73
int yPos
y position of string
Definition: text.h:71
char * szStr
string to output
Definition: text.h:68