25 #include "common/str.h" 26 #include "common/types.h" 27 #include "common/ptr.h" 28 #include "common/array.h" 30 #include "graphics/managed_surface.h" 32 #include "dgds/dgds_rect.h" 33 #include "dgds/image.h" 57 kHeadFlagFinished = 1,
62 kHeadFlagVisible = 0x20,
63 kHeadFlagOpening = 0x40,
71 TalkDataHead() : _num(0), _drawType(0), _drawCol(0), _flags(kHeadFlagNone) {}
104 void clearVisibleHeads();
106 bool hasVisibleHead()
const;
128 CDSTTMEnviro() : _cdsPlayedSound(
false), _cdsFrame(-1), _cdsJumped(
false), _cdsDelay(0),
132 bool _cdsPlayedSound;
136 bool _cdsDidStoreArea;
143 Conversation() : _thisFrameMs(0), _nextExecMs(0), _runTempFrame(-1), _tempFrameNum(0), _stopScript(
false), _loadState(0),
144 _dlgNum(-1), _dlgFileNum(-1), _subNum(-1), _finished(
false), _haveHeadData(
false) {}
149 void loadData(uint16 num, uint16 num2, int16 sub,
bool haveHeadData);
150 bool isForDlg(
const Dialog *dlg)
const;
151 bool isFinished()
const {
return _finished; }
156 static enum ImageFlipMode _lastHeadFrameFlipMode;
157 static int16 _lastHeadFrameX;
158 static int16 _lastHeadFrameY;
166 bool runScriptFrame(int16 frameNum);
167 void checkAndRunScript();
168 void incrementFrame();
169 bool isScriptRunning();
172 void runScriptExclusive();
173 void runScriptStep();
191 #endif // DGDS_HEAD_H Definition: managed_surface.h:51
Definition: dgds_rect.h:32
Definition: movie_decoder.h:32