22#ifndef TRECISION_DIALOG_H
23#define TRECISION_DIALOG_H
25#include "common/scummsys.h"
26#include "common/serializer.h"
27#include "common/stream.h"
32#define MAXDISPCHOICES 5
33#define MAXSUBTITLES 1500
36#define MAXNEWSMKPAL 40
45 uint16 _newPal[MAXNEWSMKPAL];
52 uint16 _x, _y, _color;
53 uint16 _startFrame, _length;
60 uint16 _sentenceIndex;
61 uint16 _firstSubTitle, _subTitleNumb;
62 uint16 _on[MAXDISPCHOICES], _off[MAXDISPCHOICES];
72 void showChoices(uint16 i);
73 void playChoice(uint16 i,
bool singleChoice);
80 uint16 _dispChoice[MAXDISPCHOICES];
81 uint16 _curDispChoice;
92 void updateChoices(int16 dmx, int16 dmy);
93 void selectChoice(int16 dmx, int16 dmy);
94 void playDialog(uint16 i);
95 void toggleChoice(uint16 choice,
bool enable);
96 void clearExitFlag(uint16 choice);
97 bool isChoiceVisible(uint16 choice)
const;
98 bool isDialogFinished(uint16 choice)
const;
100 void dialogHandler(
int numFrame);
102 bool showCharacterAfterDialog()
const;
103 bool handleShopKeeperDialog(uint16 curObj);
104 uint16 getCurDialog()
const {
return _curDialog; }
105 uint16 getCurChoice()
const {
return _curChoice; }
Definition: serializer.h:80
Definition: trecision.h:112