ScummVM
kyra_mr.h
Go to the documentation of this file.
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  *
21  */
22 
23 #ifndef KYRA_KYRA_MR_H
24 #define KYRA_KYRA_MR_H
25 
26 #include "kyra/engine/kyra_v2.h"
28 #include "kyra/script/script.h"
29 #include "kyra/gui/gui_mr.h"
30 
31 #include "common/hashmap.h"
32 #include "common/list.h"
33 
34 namespace Kyra {
35 
36 class SoundDigital_MR;
37 class Screen_MR;
38 class MainMenu;
39 class WSAMovie_v2;
40 class TextDisplayer_MR;
41 struct Button;
42 
43 class KyraEngine_MR : public KyraEngine_v2 {
44 friend class TextDisplayer_MR;
45 friend class GUI_MR;
46 public:
47  KyraEngine_MR(OSystem *system, const GameFlags &flags);
48  ~KyraEngine_MR() override;
49 
50  // Regarding pausing of the engine:
51  // Idle animation time, item animations and album animations should be taken
52  // care of, but since those would just produce minor glitches it's not that
53  // important.
54 
55  Screen *screen() override { return _screen; }
56  Screen_v2 *screen_v2() const override { return _screen; }
57  GUI *gui() const override { return _gui; }
59  int language() const { return _lang; }
60  bool heliumMode() const { return _configHelium; }
61 
62  Common::Error go() override;
63 
64  void playVQA(const char *name);
65 
66 private:
67  static const EngineDesc _mrEngineDesc;
68 
69  // config
74 
75  void registerDefaultSettings() override;
76  void writeSettings() override;
77  void readSettings() override;
78 
79  void initStaticResource();
80 
81  // --
84 
85  Common::Error init() override;
86 
87  void preinit();
88  void startup();
89  void runStartupScript(int script, int unk1);
90 
91  void setupOpcodeTable() override;
92 
93  // input
94  bool skipFlag() const override;
95  void resetSkipFlag(bool removeEvent = true) override;
96 
97  // run
99 
100  void runLoop();
101  void handleInput(int x, int y);
102  int inputSceneChange(int x, int y, int unk1, int unk2) override;
103 
104  void update() override;
105  void updateWithText() override;
106  void updateMouse();
107 
108  // sound specific
109 private:
110  void playMenuAudioFile();
111 
114  const char *_menuAudioFile;
115 
116  const char *const *_soundList;
118 
119  void snd_playWanderScoreViaMap(int track, int force) override;
120  void stopMusicTrack();
121 
122  void fadeOutMusic(int ticks);
123 
124  void snd_playSoundEffect(int item, int volume) override;
125 
128  const char *const *_sfxFileList;
130 
132 
133  void playVoice(int high, int low);
134  void snd_playVoiceFile(int file) override;
135  bool snd_voiceIsPlaying() override;
136  void snd_stopVoice() override;
137 
139  void playStudioSFX(const char *str);
140 
141  // gui
143 
147  void initMainButtonList(bool disable);
148 
150  int buttonInventory(Button *button);
151  int buttonMoodChange(Button *button);
152  int buttonShowScore(Button *button);
153  int buttonJesterStaff(Button *button);
154 
155  void loadButtonShapes();
156  int callbackButton1(Button *button);
157  int callbackButton2(Button *button);
158  int callbackButton3(Button *button);
159 
160  // -> main menu
161  void initMainMenu();
162  void uninitMainMenu();
163 
166 
167  // timer
168  void setupTimers() override;
169 
170  void setWalkspeed(uint8) override;
171  void setCommandLineRestoreTimer(int secs);
172 
173  void timerRestoreCommandLine(int arg);
174  void timerRunSceneScript7(int arg);
175  void timerFleaDeath(int arg);
176 
178  void setNextIdleAnimTimer();
179 
180  // pathfinder
181  bool lineIsPassable(int x, int y) override;
182 
183 private:
184  // main menu
185  const char *const *_mainMenuStrings;
187 
188  static const char *const _mainMenuSpanishFan[];
189  static const char *const _mainMenuItalianFan[];
190 
191  // animator
193  void restorePage3() override;
194 
195  void clearAnimObjects() override;
196 
197  void animSetupPaletteEntry(AnimObj *anim) override;
198 
199  void drawAnimObjects() override;
200  void drawSceneAnimObject(AnimObj *obj, int x, int y, int drawLayer) override;
201  void drawCharacterAnimObject(AnimObj *obj, int x, int y, int drawLayer) override;
202 
203  void refreshAnimObjects(int force) override;
204 
206  void updateItemAnimations();
207  void updateCharacterAnim(int charId) override;
208 
209  void updateSceneAnim(int anim, int newFrame) override;
210  void setupSceneAnimObject(int anim, uint16 flags, int x, int y, int x2, int y2, int w, int h, int unk10, int specialSize, int unk14, int shape, const char *filename);
211  void removeSceneAnimObject(int anim, int refresh);
212 
215 
216  void setCharacterAnimDim(int w, int h) override;
217  void resetCharacterAnimDim() override;
218 
220  void showIdleAnim();
221 
225 
226  // interface
229 
230  void loadInterfaceShapes();
231  void loadInterface();
232 
233  void showMessage(const char *string, uint8 c0, uint8 c1);
234  void showMessageFromCCode(int string, uint8 c0, int);
235  void updateItemCommand(Item item, int str, uint8 c0);
236 
237  void updateCommandLine();
238  void restoreCommandLine();
239  void updateCLState();
240 
242  const char *_shownMessage;
246 
247  void showInventory();
248  void hideInventory();
249 
250  void drawMalcolmsMoodText();
251  void drawMalcolmsMoodPointer(int frame, int page);
252  void drawJestersStaff(int type, int page);
253 
254  void drawScore(int page, int x, int y);
255  void drawScoreCounting(int oldScore, int newScore, int drawOld, const int x);
256  int getScoreX(const char *str);
257 
258  static const uint8 _inventoryX[];
259  static const uint8 _inventoryY[];
260  void redrawInventory(int page);
261  void clearInventorySlot(int slot, int page);
262  void drawInventorySlot(int page, Item item, int slot);
263 
266 
267  // localization
276 
277  uint8 *getTableEntry(uint8 *buffer, int id);
278  void getTableEntry(Common::SeekableReadStream *stream, int id, char *dst);
279 
280  // items
283 
284  static const Item _trashItemList[];
285  void removeTrashItems();
286 
287  void initItems();
288 
289  int checkItemCollision(int x, int y);
290 
291  bool dropItem(int unk1, Item item, int x, int y, int unk2);
292  bool processItemDrop(uint16 sceneId, Item item, int x, int y, int unk1, int unk2);
293  void itemDropDown(int startX, int startY, int dstX, int dstY, int itemSlot, Item item, int remove);
294  void exchangeMouseItem(int itemPos, int runScript);
295  bool pickUpItem(int x, int y, int runScript);
296 
297  bool isDropable(int x, int y);
298 
300  bool itemListMagic(Item handItem, int itemSlot);
301  bool itemInventoryMagic(Item handItem, int invSlot);
302 
305  static const uint8 _itemStringPickUp[];
306  static const uint8 _itemStringDrop[];
307  static const uint8 _itemStringInv[];
308 
312 
313  // -> hand item
314  void setItemMouseCursor();
315  void setMouseCursor(Item item) override;
316 
317  // shapes
318  void initMouseShapes();
319 
320  void loadCharacterShapes(int newShapes) override;
321  void updateMalcolmShapes();
322 
324 
325  struct ShapeDesc {
328  };
329  static const ShapeDesc _shapeDescs[];
330  static const int _shapeDescsSize;
331 
332  // scene animation
334 
335  void freeSceneShapes();
336 
337  // voice
339  void openTalkFile(int file);
340 
341  // scene
343  void enterNewScene(uint16 scene, int facing, int unk1, int unk2, int unk3) override;
344  void enterNewSceneUnk1(int facing, int unk1, int unk2);
345  void enterNewSceneUnk2(int unk1);
347 
348  void unloadScene();
349 
350  void loadScenePal();
351  void loadSceneMsc();
352  void initSceneScript(int unk1);
353  void initSceneAnims(int unk1);
354  void initSceneScreen(int unk1);
355 
356  int runSceneScript1(int x, int y);
357  int runSceneScript2();
359  void runSceneScript4(int unk1);
360  void runSceneScript8();
361 
364 
365  int trySceneChange(int *moveTable, int unk1, int unk2) override;
366  int checkSceneChange();
367 
370  struct SceneShapeDesc {
371  // the original saves those variables, we don't, since
372  // they are just needed on scene load
373  /*int x, y;
374  int w, h;*/
375  int drawX, drawY;
376  };
378 
379  int getDrawLayer(int x, int y);
380 
381  int getScale(int x, int y) override;
382  int _scaleTable[15];
383 
384  // character
385  int getCharacterWalkspeed() const override;
386  void updateCharAnimFrame(int *table) override;
388  static const uint8 _characterFrameTable[];
389 
390  void updateCharPal(int unk1);
393 
394  bool checkCharCollision(int x, int y);
395 
397 
398  void makeCharFacingMouse();
399 
400  int findFreeInventorySlot();
401 
402  // talk object
403  struct TalkObject {
404  char filename[13];
410  };
411 
413 
414  bool talkObjectsInCurScene();
415 
416  // chat
417  int chatGetType(const char *text);
418  int chatCalcDuration(const char *text);
419 
420  void objectChat(const char *text, int object, int vocHigh, int vocLow);
421  void objectChatInit(const char *text, int object, int vocHigh, int vocLow);
422  void objectChatPrintText(const char *text, int object);
423  void objectChatProcess(const char *script);
424  void objectChatWaitToFinish();
425 
426  void badConscienceChat(const char *str, int vocHigh, int vocLow);
428 
429  void goodConscienceChat(const char *str, int vocHigh, int vocLow);
431 
433  void albumChat(const char *str, int vocHigh, int vocLow);
434  void albumChatInit(const char *str, int object, int vocHigh, int vocLow);
435  void albumChatWaitToFinish();
436 
438 
442  void setDlgIndex(int index) override;
443  void updateDlgIndex();
444 
448  void updateDlgBuffer();
449  void loadDlgHeader(int &vocHighBase, int &vocHighIndex, int &index1, int &index2);
450 
451  static const uint8 _vocHighTable[];
453  void processDialog(int vocHighIndex, int vocHighBase, int funcNum);
454 
460 
461  void dialogStartScript(int object, int funcNum);
462  void dialogEndScript(int object);
463 
464  void npcChatSequence(const char *str, int object, int vocHigh, int vocLow);
465 
467 
469  int o3d_delay(EMCState *script);
470 
471  void randomSceneChat() override;
472  void doDialog(int dlgIndex, int funcNum);
473 
474  // conscience
478 
480 
481  void showBadConscience();
482  void hideBadConscience();
483 
487 
489 
490  void showGoodConscience();
491  void hideGoodConscience();
492 
493  // special script code
495 
498 
499  // special shape code
500  int initAnimationShapes(uint8 *filedata) override;
501  void uninitAnimationShapes(int count, uint8 *filedata) override;
502 
503  // unk
507 
509  void changeChapter(int newChapter, int sceneId, int malcolmShapes, int facing);
510 
511  static const uint8 _chapterLowestScene[];
512 
513  void loadCostPal();
514  void loadShadowShape();
515  void loadExtrasShapes();
516 
518  void backUpGfxRect32x32(int x, int y);
519  void restoreGfxRect32x32(int x, int y);
520 
522 
523  int _score;
525 
528 
530  bool updateScore(int scoreId, int strId);
531  void scoreIncrease(int count, const char *str);
532 
533  void eelScript();
534 
535  // Album
536  struct Album {
541 
542  struct PageMovie {
544  int curFrame;
545  int maxFrame;
547  };
548 
550 
552  bool running;
553  bool isPage14;
554  } _album;
555 
556  static const int8 _albumWSAX[];
557  static const int8 _albumWSAY[];
558 
559  void showAlbum();
560 
561  void loadAlbumPage();
562  void loadAlbumPageWSA();
563 
564  void printAlbumPageText();
565  void printAlbumText(int page, const char *str, int x, int y, uint8 c0);
566 
567  void processAlbum();
568 
569  void albumNewPage();
570  void albumUpdateAnims();
571  void albumAnim1();
572  void albumAnim2();
573 
574  void albumBackUpRect();
575  void albumRestoreRect();
576  void albumUpdateRect();
577 
578  void albumSwitchPages(int oldPage, int newPage, int srcPage);
579 
580  int albumNextPage(Button *caller);
581  int albumPrevPage(Button *caller);
582  int albumClose(Button *caller);
583 
584  // save/load
585  Common::Error saveGameStateIntern(int slot, const char *saveName, const Graphics::Surface *thumbnail) override;
586  Common::Error loadGameState(int slot) override;
587 
588  // opcodes
654  int o3_dummy(EMCState *script);
655 
656  // misc
659 
660  // resource specific
661 private:
662  static const char *const _languageExtension[];
663  static const int _languageExtensionSize;
664 
665  int loadLanguageFile(const char *file, uint8 *&buffer);
666 };
667 
668 } // End of namespace Kyra
669 
670 #endif
Kyra::KyraEngine_MR::updateDlgIndex
void updateDlgIndex()
Definition: text_mr.cpp:660
Kyra::KyraEngine_MR::_mrEngineDesc
static const EngineDesc _mrEngineDesc
Definition: kyra_mr.h:67
Kyra::KyraEngine_MR::objectChatInit
void objectChatInit(const char *text, int object, int vocHigh, int vocLow)
Definition: text_mr.cpp:236
Kyra::KyraEngine_MR::restorePage3
void restorePage3() override
Definition: animator_mr.cpp:31
Kyra::KyraEngine_MR::loadButtonShapes
void loadButtonShapes()
Definition: gui_mr.cpp:36
Kyra::KyraEngine_MR::_configSkip
bool _configSkip
Definition: kyra_mr.h:71
Kyra::KyraEngine_MR::_talkObjectList
TalkObject * _talkObjectList
Definition: kyra_mr.h:412
Kyra
This is the namespace of the Kyra engine.
Definition: chargen.cpp:37
Kyra::KyraEngine_MR::_itemAnimDefinition
const ItemAnimDefinition * _itemAnimDefinition
Definition: kyra_mr.h:222
Kyra::KyraEngine_MR::animSetupPaletteEntry
void animSetupPaletteEntry(AnimObj *anim) override
Definition: animator_mr.cpp:70
Kyra::KyraEngine_MR::showGoodConscience
void showGoodConscience()
Definition: sequences_mr.cpp:109
Kyra::KyraEngine_MR::_conversationState
int8 _conversationState[30][30]
Definition: kyra_mr.h:440
Kyra::KyraEngine_MR::KyraEngine_MR
KyraEngine_MR(OSystem *system, const GameFlags &flags)
Definition: kyra_mr.cpp:53
Kyra::KyraEngine_MR::goodConscienceChat
void goodConscienceChat(const char *str, int vocHigh, int vocLow)
Definition: text_mr.cpp:423
Kyra::KyraEngine_MR::_charPalUpdate
bool _charPalUpdate
Definition: kyra_mr.h:392
Kyra::KyraEngine_MR::freeSceneShapes
void freeSceneShapes()
Definition: scene_mr.cpp:293
Kyra::KyraEngine_MR::_goodConscienceShown
bool _goodConscienceShown
Definition: kyra_mr.h:484
Kyra::KyraEngine_MR::clearInventorySlot
void clearInventorySlot(int slot, int page)
Definition: gui_mr.cpp:454
Kyra::KyraEngine_MR::o3_setMalcolmPos
int o3_setMalcolmPos(EMCState *script)
Definition: script_mr.cpp:695
Common::SeekableReadStream
Interface for a seekable & readable data stream.
Definition: stream.h:569
Kyra::KyraEngine_MR::fadeOutMusic
void fadeOutMusic(int ticks)
Definition: kyra_mr.cpp:432
Kyra::KyraEngine_MR::_mainMenuStrings
const char *const * _mainMenuStrings
Definition: kyra_mr.h:185
Kyra::KyraEngine_MR::getScale
int getScale(int x, int y) override
Definition: kyra_mr.cpp:1218
Kyra::KyraEngine_MR::updateCharAnimFrame
void updateCharAnimFrame(int *table) override
Definition: kyra_mr.cpp:778
Kyra::KyraEngine_MR::loadAlbumPage
void loadAlbumPage()
Definition: gui_mr.cpp:702
Kyra::KyraEngine_MR::ShapeDesc::height
uint8 height
Definition: kyra_mr.h:326
Kyra::KyraEngine_MR::playVoice
void playVoice(int high, int low)
Definition: kyra_mr.cpp:450
Kyra::KyraEngine_MR::o3_getCharacterFrameFromFacing
int o3_getCharacterFrameFromFacing(EMCState *script)
Definition: script_mr.cpp:92
Kyra::KyraEngine_MR::_commandLineY
int _commandLineY
Definition: kyra_mr.h:241
Kyra::KyraEngine_MR::_actorFile
uint8 * _actorFile
Definition: kyra_mr.h:273
Kyra::KyraEngine_MR::_menuDirectlyToLoad
bool _menuDirectlyToLoad
Definition: kyra_mr.h:98
Kyra::KyraEngine_MR::o3_showBadConscience
int o3_showBadConscience(EMCState *script)
Definition: script_mr.cpp:118
Kyra::KyraEngine_MR::SceneShapeDesc::drawX
int drawX
Definition: kyra_mr.h:375
Kyra::KyraEngine_MR::initMainButtonList
void initMainButtonList(bool disable)
Definition: staticres.cpp:1912
Kyra::KyraEngine_MR::TalkObject::filename
char filename[13]
Definition: kyra_mr.h:404
Common::Array< const Opcode * >
Kyra::KyraEngine_MR::_curStudioSFX
int _curStudioSFX
Definition: kyra_mr.h:138
Kyra::KyraEngine_MR::albumUpdateRect
void albumUpdateRect()
Definition: gui_mr.cpp:948
Kyra::KyraEngine_MR::readSettings
void readSettings() override
Definition: kyra_mr.cpp:1417
Kyra::KyraEngine_MR::_itemStringInv
static const uint8 _itemStringInv[]
Definition: kyra_mr.h:307
Kyra::KyraEngine_MR::objectChatPrintText
void objectChatPrintText(const char *text, int object)
Definition: text_mr.cpp:279
Kyra::KyraEngine_MR::drawMalcolmsMoodPointer
void drawMalcolmsMoodPointer(int frame, int page)
Definition: gui_mr.cpp:335
Kyra::KyraEngine_MR::processItemDrop
bool processItemDrop(uint16 sceneId, Item item, int x, int y, int unk1, int unk2)
Definition: items_mr.cpp:125
Kyra::Button
Definition: gui.h:39
Kyra::KyraEngine_MR::loadSceneMsc
void loadSceneMsc()
Definition: scene_mr.cpp:321
Kyra::KyraEngine_MR::o3_enableInventory
int o3_enableInventory(EMCState *script)
Definition: script_mr.cpp:660
Kyra::KyraEngine_MR::handleInput
void handleInput(int x, int y)
Definition: kyra_mr.cpp:923
Kyra::KyraEngine_MR::o3_setupSceneAnimObject
int o3_setupSceneAnimObject(EMCState *script)
Definition: script_mr.cpp:1063
Kyra::KyraEngine_MR::o3_showGoodConscience
int o3_showGoodConscience(EMCState *script)
Definition: script_mr.cpp:822
Kyra::KyraEngine_MR::screen_v2
Screen_v2 * screen_v2() const override
Definition: kyra_mr.h:56
Kyra::KyraEngine_MR::o3_removeItemSlot
int o3_removeItemSlot(EMCState *script)
Definition: script_mr.cpp:583
Kyra::KyraEngine_MR::o3_showAlbum
int o3_showAlbum(EMCState *script)
Definition: script_mr.cpp:130
Kyra::KyraEngine_MR::stopMusicTrack
void stopMusicTrack()
Definition: kyra_mr.cpp:424
Kyra::KyraEngine_MR::_nextIdleAnim
uint32 _nextIdleAnim
Definition: kyra_mr.h:177
Kyra::KyraEngine_MR::albumNextPage
int albumNextPage(Button *caller)
Definition: gui_mr.cpp:1011
Kyra::KyraEngine_MR::Album::rightPage
PageMovie rightPage
Definition: kyra_mr.h:549
Kyra::KyraEngine_MR::SceneShapeDesc::drawY
int drawY
Definition: kyra_mr.h:375
Kyra::KyraEngine_MR::_scoreMax
int _scoreMax
Definition: kyra_mr.h:524
Kyra::KyraEngine_MR::_shapeDescs
static const ShapeDesc _shapeDescs[]
Definition: kyra_mr.h:329
Kyra::KyraEngine_MR::removeSceneAnimObject
void removeSceneAnimObject(int anim, int refresh)
Definition: animator_mr.cpp:394
Kyra::KyraEngine_MR::Album::backUpPage
uint8 * backUpPage
Definition: kyra_mr.h:537
Kyra::KyraEngine_MR::checkSceneChange
int checkSceneChange()
Definition: scene_mr.cpp:658
x
x
Definition: soft_render_surface.inl:123
Kyra::KyraEngine_MR::_newSceneDlgState
byte _newSceneDlgState[40]
Definition: kyra_mr.h:439
Kyra::KyraEngine_MR::loadCharacterShapes
void loadCharacterShapes(int newShapes) override
Definition: kyra_mr.cpp:719
gui_mr.h
Kyra::KyraEngine_MR::updateWithText
void updateWithText() override
Definition: kyra_mr.cpp:1058
Kyra::KyraEngine_MR::TalkObject::x
int16 x
Definition: kyra_mr.h:407
Kyra::KyraEngine_MR::albumAnim2
void albumAnim2()
Definition: gui_mr.cpp:927
Kyra::KyraEngine_MR::_useFrameTable
bool _useFrameTable
Definition: kyra_mr.h:494
Kyra::KyraEngine_MR::lineIsPassable
bool lineIsPassable(int x, int y) override
Definition: scene_mr.cpp:761
Kyra::KyraEngine_MR::o3_setCharacterPos
int o3_setCharacterPos(EMCState *script)
Definition: script_mr.cpp:36
Kyra::KyraEngine_MR::callbackButton1
int callbackButton1(Button *button)
Definition: gui_mr.cpp:60
Kyra::KyraEngine_MR::_scoreTableSize
int _scoreTableSize
Definition: kyra_mr.h:527
Kyra::KyraEngine_MR::preinit
void preinit()
Definition: kyra_mr.cpp:489
Kyra::KyraEngine_MR::_sfxFileMapSize
int _sfxFileMapSize
Definition: kyra_mr.h:127
Kyra::KyraEngine_MR::loadInterface
void loadInterface()
Definition: kyra_mr.cpp:642
Kyra::KyraEngine_MR::o3_countInventoryItemInstances
int o3_countInventoryItemInstances(EMCState *script)
Definition: script_mr.cpp:215
Kyra::KyraEngine_MR::clearAnimObjects
void clearAnimObjects() override
Definition: animator_mr.cpp:35
Kyra::KyraEngine_MR::registerDefaultSettings
void registerDefaultSettings() override
Definition: kyra_mr.cpp:1377
Kyra::KyraEngine_MR::_opcodesDialog
Common::Array< const Opcode * > _opcodesDialog
Definition: kyra_mr.h:466
Kyra::KyraEngine_MR::Album::PageMovie::timer
uint32 timer
Definition: kyra_mr.h:546
Kyra::KyraEngine_MR::update
void update() override
Definition: kyra_mr.cpp:1046
Kyra::KyraEngine_MR::exchangeMouseItem
void exchangeMouseItem(int itemPos, int runScript)
Definition: items_mr.cpp:313
Kyra::GameFlags
Definition: kyra_v1.h:110
Kyra::KyraEngine_MR::_inventoryScrollSpeed
int _inventoryScrollSpeed
Definition: kyra_mr.h:245
Kyra::KyraEngine_MR::makeCharFacingMouse
void makeCharFacingMouse()
Definition: kyra_mr.cpp:1199
Kyra::KyraEngine_MR
Definition: kyra_mr.h:43
Kyra::KyraEngine_MR::buttonInventory
int buttonInventory(Button *button)
Definition: gui_mr.cpp:474
Kyra::KyraEngine_MR::refreshAnimObjects
void refreshAnimObjects(int force) override
Definition: animator_mr.cpp:142
Kyra::SoundDigital_MR
Digital audio output device.
Definition: sound_digital_mr.h:47
Kyra::KyraEngine_MR::ShapeDesc
Definition: kyra_mr.h:325
Kyra::KyraEngine_MR::o3a_playSoundEffect
int o3a_playSoundEffect(EMCState *script)
Definition: script_mr.cpp:1100
Kyra::KyraEngine_MR::callbackButton3
int callbackButton3(Button *button)
Definition: gui_mr.cpp:90
int8
signed char int8
Definition: cdtypes.h:31
Kyra::KyraEngine_MR::TalkObject::sceneAnim
int8 sceneAnim
Definition: kyra_mr.h:405
Kyra::KyraEngine_MR::itemInventoryMagic
bool itemInventoryMagic(Item handItem, int invSlot)
Definition: items_mr.cpp:460
Kyra::KyraEngine_MR::_cCodeFile
uint8 * _cCodeFile
Definition: kyra_mr.h:269
Kyra::KyraEngine_MR::go
Common::Error go() override
Definition: kyra_mr.cpp:234
Button
Definition: input.h:70
Kyra::KyraEngine_MR::callbackButton2
int callbackButton2(Button *button)
Definition: gui_mr.cpp:75
Kyra::KyraEngine_MR::timerFleaDeath
void timerFleaDeath(int arg)
Definition: timer_mr.cpp:60
Kyra::KyraEngine_MR::_itemStringMapSize
int _itemStringMapSize
Definition: kyra_mr.h:304
Kyra::KyraEngine_MR::updateItemAnimations
void updateItemAnimations()
Definition: animator_mr.cpp:185
Kyra::KyraEngine_MR::initSceneScreen
void initSceneScreen(int unk1)
Definition: scene_mr.cpp:561
Kyra::KyraEngine_MR::_curDlgIndex
int _curDlgIndex
Definition: kyra_mr.h:447
Kyra::KyraEngine_MR::_enterNewSceneLock
int _enterNewSceneLock
Definition: kyra_mr.h:346
Kyra::KyraEngine_MR::o3_setInventorySlot
int o3_setInventorySlot(EMCState *script)
Definition: script_mr.cpp:136
Kyra::KyraEngine_MR::o3_updateSceneAnim
int o3_updateSceneAnim(EMCState *script)
Definition: script_mr.cpp:892
Kyra::KyraEngine_MR::unloadScene
void unloadScene()
Definition: scene_mr.cpp:285
Kyra::KyraEngine_MR::_dlgBuffer
Common::SeekableReadStream * _dlgBuffer
Definition: kyra_mr.h:446
uint32
unsigned int uint32
Definition: cdtypes.h:26
Kyra::KyraEngine_MR::updateScore
bool updateScore(int scoreId, int strId)
Definition: kyra_mr.cpp:1289
Kyra::KyraEngine_MR::o3_getMalcolmsMood
int o3_getMalcolmsMood(EMCState *script)
Definition: script_mr.cpp:87
Kyra::KyraEngine_MR::objectChat
void objectChat(const char *text, int object, int vocHigh, int vocLow)
Definition: text_mr.cpp:193
Kyra::KyraEngine_MR::gui
GUI * gui() const override
Definition: kyra_mr.h:57
Kyra::Screen
Definition: screen.h:352
index
SceneIndex index
Definition: action.cpp:432
Kyra::KyraEngine_MR::SceneShapeDesc
Definition: kyra_mr.h:370
Common::Error
An Error instance pairs an error code with string description providing more details about the error.
Definition: error.h:77
Kyra::KyraEngine_MR::_noStartupChat
bool _noStartupChat
Definition: kyra_mr.h:358
Kyra::KyraEngine_MR::albumChatWaitToFinish
void albumChatWaitToFinish()
Definition: text_mr.cpp:557
Glk::Alan3::newFrame
void newFrame(Stack theStack, Aint noOfLocals)
Definition: stack.cpp:111
Kyra::KyraEngine_MR::o3_addItemToCurScene
int o3_addItemToCurScene(EMCState *script)
Definition: script_mr.cpp:159
Kyra::KyraEngine_MR::runSceneScript2
int runSceneScript2()
Definition: scene_mr.cpp:728
Kyra::KyraEngine_MR::o3_switchScene
int o3_switchScene(EMCState *script)
Definition: script_mr.cpp:684
Kyra::KyraEngine_MR::Album::running
bool running
Definition: kyra_mr.h:552
Kyra::KyraEngine_MR::_itemBuffer1
int8 * _itemBuffer1
Definition: kyra_mr.h:281
Kyra::KyraEngine_MR::_goodConsciencePosition
bool _goodConsciencePosition
Definition: kyra_mr.h:486
Kyra::KyraEngine_MR::_scoreTable
const uint8 * _scoreTable
Definition: kyra_mr.h:526
Kyra::KyraEngine_MR::o3_customChatFinish
int o3_customChatFinish(EMCState *script)
Definition: script_mr.cpp:1055
Kyra::KyraEngine_MR::_gamePlayBuffer
uint8 * _gamePlayBuffer
Definition: kyra_mr.h:192
Kyra::MainMenu
Definition: gui_v1.h:146
Kyra::KyraEngine_MR::_screen
Screen_MR * _screen
Definition: kyra_mr.h:82
Kyra::KyraEngine_MR::o3_daggerWarning
int o3_daggerWarning(EMCState *script)
Definition: script_mr.cpp:725
Kyra::KyraEngine_MR::drawScore
void drawScore(int page, int x, int y)
Definition: gui_mr.cpp:366
Kyra::KyraEngine_MR::_soundList
const char *const * _soundList
Definition: kyra_mr.h:116
Kyra::KyraEngine_MR::chatCalcDuration
int chatCalcDuration(const char *text)
Definition: text_mr.cpp:189
Kyra::KyraEngine_MR::_chapterLowestScene
static const uint8 _chapterLowestScene[]
Definition: kyra_mr.h:511
Glk::AGT::buffer
static uchar * buffer
Definition: util.cpp:518
Kyra::KyraEngine_MR::changeChapter
void changeChapter(int newChapter, int sceneId, int malcolmShapes, int facing)
Definition: kyra_mr.cpp:1342
Kyra::KyraEngine_MR::screen
Screen * screen() override
Definition: kyra_mr.h:55
Kyra::KyraEngine_MR::_mainButtonList
Button * _mainButtonList
Definition: kyra_mr.h:145
Kyra::KyraEngine_MR::TalkObject::color
uint8 color
Definition: kyra_mr.h:408
Kyra::KyraEngine_MR::o3_runActorScript
int o3_runActorScript(EMCState *script)
Definition: script_mr.cpp:899
Kyra::KyraEngine_MR::_scenesFile
uint8 * _scenesFile
Definition: kyra_mr.h:270
Kyra::KyraEngine_MR::_maskPageMaxY
int _maskPageMaxY
Definition: kyra_mr.h:363
Kyra::KyraEngine_MR::_albumWSAY
static const int8 _albumWSAY[]
Definition: kyra_mr.h:557
Kyra::KyraEngine_MR::_sceneMinX
int _sceneMinX
Definition: kyra_mr.h:362
Kyra::KyraEngine_MR::_characterAnimTable
int8 _characterAnimTable[2]
Definition: kyra_mr.h:387
Kyra::KyraEngine_MR::drawMalcolmsMoodText
void drawMalcolmsMoodText()
Definition: gui_mr.cpp:303
Kyra::KyraEngine_MR::drawInventorySlot
void drawInventorySlot(int page, Item item, int slot)
Definition: gui_mr.cpp:464
Kyra::KyraEngine_MR::o3_wipeDownMouseItem
int o3_wipeDownMouseItem(EMCState *script)
Definition: script_mr.cpp:248
Kyra::KyraEngine_MR::_optionsFile
uint8 * _optionsFile
Definition: kyra_mr.h:272
Kyra::KyraEngine_MR::dropItem
bool dropItem(int unk1, Item item, int x, int y, int unk2)
Definition: items_mr.cpp:102
Kyra::KyraEngine_MR::o3_disguiseMalcolm
int o3_disguiseMalcolm(EMCState *script)
Definition: script_mr.cpp:318
Kyra::KyraEngine_MR::objectChatProcess
void objectChatProcess(const char *script)
Definition: text_mr.cpp:298
Kyra::KyraEngine_MR::_menuAudioFile
const char * _menuAudioFile
Definition: kyra_mr.h:114
Kyra::KyraEngine_MR::getDrawLayer
int getDrawLayer(int x, int y)
Definition: kyra_mr.cpp:1212
Kyra::KyraEngine_MR::setCommandLineRestoreTimer
void setCommandLineRestoreTimer(int secs)
Definition: timer_mr.cpp:91
Kyra::KyraEngine_MR::o3_setSceneAnimPosAndFrame
int o3_setSceneAnimPosAndFrame(EMCState *script)
Definition: script_mr.cpp:597
list.h
Kyra::KyraEngine_MR::_configHelium
bool _configHelium
Definition: kyra_mr.h:72
Kyra::KyraEngine_MR::Album::PageMovie::wsa
WSAMovie_v2 * wsa
Definition: kyra_mr.h:543
Kyra::KyraEngine_MR::buttonShowScore
int buttonShowScore(Button *button)
Definition: gui_mr.cpp:588
Kyra::KyraEngine_MR::resetSkipFlag
void resetSkipFlag(bool removeEvent=true) override
Definition: kyra_mr.cpp:1366
Kyra::KyraEngine_MR::_charBackUpWidth
int _charBackUpWidth
Definition: kyra_mr.h:214
Kyra::KyraEngine_MR::_interface
uint8 * _interface
Definition: kyra_mr.h:227
Kyra::KyraEngine_MR::o3_showSceneFileMessage
int o3_showSceneFileMessage(EMCState *script)
Definition: script_mr.cpp:103
Kyra::KyraEngine_MR::drawScoreCounting
void drawScoreCounting(int oldScore, int newScore, int drawOld, const int x)
Definition: gui_mr.cpp:383
Kyra::KyraEngine_MR::_itemStringDrop
static const uint8 _itemStringDrop[]
Definition: kyra_mr.h:306
uint8
unsigned char uint8
Definition: cdtypes.h:28
Kyra::KyraEngine_MR::loadShadowShape
void loadShadowShape()
Definition: kyra_mr.cpp:623
Kyra::KyraEngine_MR::setCharacterAnimDim
void setCharacterAnimDim(int w, int h) override
Definition: animator_mr.cpp:409
hashmap.h
Kyra::KyraEngine_MR::initStaticResource
void initStaticResource()
Definition: staticres.cpp:1016
Kyra::KyraEngine_MR::doDialog
void doDialog(int dlgIndex, int funcNum)
Definition: text_mr.cpp:850
Kyra::KyraEngine_MR::setupOpcodeTable
void setupOpcodeTable() override
Definition: script_mr.cpp:1127
Kyra::KyraEngine_MR::_soundDigital
SoundDigital_MR * _soundDigital
Definition: kyra_mr.h:83
Kyra::KyraEngine_MR::_sceneStrings
uint8 * _sceneStrings
Definition: kyra_mr.h:275
Kyra::KyraEngine_MR::Album
Definition: kyra_mr.h:536
Kyra::KyraEngine_MR::o3_stopMusic
int o3_stopMusic(EMCState *script)
Definition: script_mr.cpp:708
Kyra::KyraEngine_MR::talkObjectsInCurScene
bool talkObjectsInCurScene()
Definition: kyra_mr.cpp:1278
Kyra::Screen_v2
Definition: screen_v2.h:31
Kyra::KyraEngine_MR::initMainMenu
void initMainMenu()
Definition: kyra_mr.cpp:326
Kyra::KyraEngine_MR::hideGoodConscience
void hideGoodConscience()
Definition: sequences_mr.cpp:162
Kyra::KyraEngine_MR::setupTimers
void setupTimers() override
Definition: timer_mr.cpp:32
Kyra::KyraEngine_MR::~KyraEngine_MR
~KyraEngine_MR() override
Definition: kyra_mr.cpp:150
frame
ShapeFrame * frame
Definition: soft_render_surface.inl:184
Kyra::KyraEngine_MR::objectChatWaitToFinish
void objectChatWaitToFinish()
Definition: text_mr.cpp:320
Kyra::KyraEngine_MR::_badConscienceShown
bool _badConscienceShown
Definition: kyra_mr.h:475
Kyra::KyraEngine_MR::_gui
GUI_MR * _gui
Definition: kyra_mr.h:142
Kyra::KyraEngine_MR::o3_drawSceneShapeOnPage
int o3_drawSceneShapeOnPage(EMCState *script)
Definition: script_mr.cpp:347
Kyra::KyraEngine_MR::_albumWSAX
static const int8 _albumWSAX[]
Definition: kyra_mr.h:556
Kyra::KyraEngine_MR::updateMalcolmShapes
void updateMalcolmShapes()
Definition: kyra_mr.cpp:764
Kyra::KyraEngine_MR::o3_objectChat
int o3_objectChat(EMCState *script)
Definition: script_mr.cpp:188
Kyra::KyraEngine_MR::badConscienceChat
void badConscienceChat(const char *str, int vocHigh, int vocLow)
Definition: text_mr.cpp:367
Kyra::KyraEngine_MR::o3_drawSceneShape
int o3_drawSceneShape(EMCState *script)
Definition: script_mr.cpp:325
Kyra::KyraEngine_MR::_album
struct Kyra::KyraEngine_MR::Album _album
Kyra::KyraEngine_MR::resetCharacterAnimDim
void resetCharacterAnimDim() override
Definition: animator_mr.cpp:422
Graphics::Surface
An arbitrary graphics surface, which can be the target (or source) of blit operations,...
Definition: surface.h:42
Kyra::KyraEngine_MR::_lastCharPalLayer
int _lastCharPalLayer
Definition: kyra_mr.h:391
Kyra::KyraEngine_MR::_musicSoundChannel
int _musicSoundChannel
Definition: kyra_mr.h:112
Kyra::KyraEngine_MR::o3_badConscienceChat
int o3_badConscienceChat(EMCState *script)
Definition: script_mr.cpp:240
Kyra::KyraEngine_MR::Album::PageMovie::maxFrame
int maxFrame
Definition: kyra_mr.h:545
Kyra::KyraEngine_MR::heliumMode
bool heliumMode() const
Definition: kyra_mr.h:60
Kyra::KyraEngine_MR::updateCharacterAnim
void updateCharacterAnim(int charId) override
Definition: animator_mr.cpp:233
Kyra::KyraEngine_MR::o3_defineObject
int o3_defineObject(EMCState *script)
Definition: script_mr.cpp:52
Kyra::KyraEngine_MR::o3_removeInventoryItemInstances
int o3_removeInventoryItemInstances(EMCState *script)
Definition: script_mr.cpp:205
Kyra::KyraEngine_MR::albumPrevPage
int albumPrevPage(Button *caller)
Definition: gui_mr.cpp:1020
Kyra::KyraEngine_MR::showIdleAnim
void showIdleAnim()
Definition: animator_mr.cpp:432
Kyra::KyraEngine_MR::_characterFrameTable
static const uint8 _characterFrameTable[]
Definition: kyra_mr.h:388
Kyra::KyraEngine_MR::enterNewSceneUnk2
void enterNewSceneUnk2(int unk1)
Definition: scene_mr.cpp:266
Kyra::KyraEngine_MR::_badConscienceAnim
int _badConscienceAnim
Definition: kyra_mr.h:476
Kyra::KyraEngine_MR::_wasPlayingVQA
bool _wasPlayingVQA
Definition: kyra_mr.h:658
Kyra::KyraEngine_MR::processAlbum
void processAlbum()
Definition: gui_mr.cpp:785
Kyra::KyraEngine_MR::initSceneAnims
void initSceneAnims(int unk1)
Definition: scene_mr.cpp:443
Kyra::KyraEngine_MR::o3_goodConscienceChat
int o3_goodConscienceChat(EMCState *script)
Definition: script_mr.cpp:828
Kyra::KyraEngine_MR::setMouseCursor
void setMouseCursor(Item item) override
Definition: items_mr.cpp:78
Kyra::KyraEngine_MR::_scoreFile
uint8 * _scoreFile
Definition: kyra_mr.h:268
Kyra::KyraEngine_MR::o3_dialogEndScript
int o3_dialogEndScript(EMCState *script)
Definition: script_mr.cpp:1031
Kyra::KyraEngine_MR::o3_updateScore
int o3_updateScore(EMCState *script)
Definition: script_mr.cpp:280
Kyra::KyraEngine_MR::_voiceSoundChannel
int _voiceSoundChannel
Definition: kyra_mr.h:131
Kyra::KyraEngine_MR::showMessage
void showMessage(const char *string, uint8 c0, uint8 c1)
Definition: gui_mr.cpp:105
Kyra::KyraEngine_MR::initSceneScript
void initSceneScript(int unk1)
Definition: scene_mr.cpp:350
Kyra::KyraEngine_MR::checkCharCollision
bool checkCharCollision(int x, int y)
Definition: kyra_mr.cpp:868
Kyra::KyraEngine_MR::o3_addItemToInventory
int o3_addItemToInventory(EMCState *script)
Definition: script_mr.cpp:147
Kyra::KyraEngine_MR::showMessageFromCCode
void showMessageFromCCode(int string, uint8 c0, int)
Definition: gui_mr.cpp:122
Kyra::KyraEngine_MR::albumSwitchPages
void albumSwitchPages(int oldPage, int newPage, int srcPage)
Definition: gui_mr.cpp:953
Kyra::KyraEngine_MR::init
Common::Error init() override
Definition: kyra_mr.cpp:203
Kyra::KyraEngine_MR::_maskPageMinY
int _maskPageMinY
Definition: kyra_mr.h:363
Kyra::KyraEngine_MR::Album::PageMovie
Definition: kyra_mr.h:542
Kyra::KyraEngine_MR::getItemCommandStringDrop
int getItemCommandStringDrop(uint16 item)
Definition: items_mr.cpp:518
Kyra::KyraEngine_MR::setupSceneAnimObject
void setupSceneAnimObject(int anim, uint16 flags, int x, int y, int x2, int y2, int w, int h, int unk10, int specialSize, int unk14, int shape, const char *filename)
Definition: animator_mr.cpp:315
Kyra::KyraEngine_MR::o3_doDialog
int o3_doDialog(EMCState *script)
Definition: script_mr.cpp:933
Kyra::KyraEngine_MR::snd_voiceIsPlaying
bool snd_voiceIsPlaying() override
Definition: kyra_mr.cpp:461
Kyra::TextDisplayer_MR
Definition: text_mr.h:32
Kyra::KyraEngine_MR::_dialogSceneAnim
int _dialogSceneAnim
Definition: kyra_mr.h:457
Kyra::KyraEngine_MR::startup
void startup()
Definition: kyra_mr.cpp:506
Kyra::KyraEngine_MR::loadScenePal
void loadScenePal()
Definition: scene_mr.cpp:300
Kyra::KyraEngine_MR::_invWsa
WSAMovie_v2 * _invWsa
Definition: kyra_mr.h:264
Kyra::KyraEngine_MR::runLoop
void runLoop()
Definition: kyra_mr.cpp:885
OPL::DOSBox::DBOPL::volume
Bitu volume
Definition: dbopl.h:66
Kyra::KyraEngine_MR::o3_defineSceneAnim
int o3_defineSceneAnim(EMCState *script)
Definition: script_mr.cpp:842
Kyra::KyraEngine_MR::getCharacterWalkspeed
int getCharacterWalkspeed() const override
Definition: kyra_mr.cpp:774
Kyra::KyraEngine_MR::getItemCommandStringInv
int getItemCommandStringInv(uint16 item)
Definition: items_mr.cpp:530
Kyra::KyraEngine_MR::TalkObject::sceneId
uint8 sceneId
Definition: kyra_mr.h:409
Kyra::KyraEngine_MR::_mainMenuSpanishFan
static const char *const _mainMenuSpanishFan[]
Definition: kyra_mr.h:188
Kyra::KyraEngine_MR::_nextIdleType
bool _nextIdleType
Definition: kyra_mr.h:219
Kyra::KyraEngine_MR::_dialogSceneScript
int _dialogSceneScript
Definition: kyra_mr.h:458
Kyra::KyraEngine_MR::_trashItemList
static const Item _trashItemList[]
Definition: kyra_mr.h:284
Neverhood::x2
int16 x2
Definition: module1400_sprites.cpp:667
Kyra::KyraEngine_MR::writeSettings
void writeSettings() override
Definition: kyra_mr.cpp:1390
Kyra::KyraEngine_MR::_text
TextDisplayer_MR * _text
Definition: kyra_mr.h:657
Kyra::KyraEngine_MR::updateSceneAnim
void updateSceneAnim(int anim, int newFrame) override
Definition: animator_mr.cpp:278
Kyra::KyraEngine_MR::_noScriptEnter
bool _noScriptEnter
Definition: kyra_mr.h:342
Kyra::KyraEngine_MR::TalkObject::y
int16 y
Definition: kyra_mr.h:407
Kyra::KyraEngine_MR::_shownMessage
const char * _shownMessage
Definition: kyra_mr.h:242
Kyra::KyraEngine_MR::_sceneDatLayerTable
int8 _sceneDatLayerTable[15]
Definition: kyra_mr.h:369
Kyra::KyraEngine_MR::dialogEndScript
void dialogEndScript(int object)
Definition: text_mr.cpp:779
Kyra::KyraEngine_MR::_dialogScriptFuncStart
int _dialogScriptFuncStart
Definition: kyra_mr.h:459
Kyra::KyraEngine_MR::_mainButtonData
Button * _mainButtonData
Definition: kyra_mr.h:144
Kyra::KyraEngine_MR::_inventoryY
static const uint8 _inventoryY[]
Definition: kyra_mr.h:259
Kyra::KyraEngine_MR::Album::leftPage
PageMovie leftPage
Definition: kyra_mr.h:549
Kyra::KyraEngine_MR::_languageExtension
static const char *const _languageExtension[]
Definition: kyra_mr.h:662
Kyra::Screen_MR
Definition: screen_mr.h:32
Kyra::KyraEngine_MR::o3_disableInventory
int o3_disableInventory(EMCState *script)
Definition: script_mr.cpp:654
GUI
Definition: cloudmanager.h:34
int16
signed short int16
Definition: cdtypes.h:30
Kyra::KyraEngine_MR::loadInterfaceShapes
void loadInterfaceShapes()
Definition: kyra_mr.cpp:636
Kyra::KyraEngine_MR::Album::wsa
WSAMovie_v2 * wsa
Definition: kyra_mr.h:539
Kyra::KyraEngine_MR::loadExtrasShapes
void loadExtrasShapes()
Definition: kyra_mr.cpp:628
Kyra::KyraEngine_MR::hideInventory
void hideInventory()
Definition: gui_mr.cpp:240
Kyra::KyraEngine_MR::o3_hideBadConscience
int o3_hideBadConscience(EMCState *script)
Definition: script_mr.cpp:124
Kyra::KyraEngine_MR::playStudioSFX
void playStudioSFX(const char *str)
Definition: kyra_mr.cpp:470
Kyra::KyraEngine_MR::_configStudio
bool _configStudio
Definition: kyra_mr.h:70
Glk::Alan2::low
static CodeValue low
Definition: decode.cpp:56
Kyra::KyraEngine_MR::updateCommandLine
void updateCommandLine()
Definition: gui_mr.cpp:143
Kyra::KyraEngine_MR::albumChatInit
void albumChatInit(const char *str, int object, int vocHigh, int vocLow)
Definition: text_mr.cpp:498
Kyra::KyraEngine_MR::o3_removeSceneAnimObject
int o3_removeSceneAnimObject(EMCState *script)
Definition: script_mr.cpp:1072
Kyra::KyraEngine_MR::_sfxFileList
const char *const * _sfxFileList
Definition: kyra_mr.h:128
Kyra::Item
int16 Item
Definition: item.h:30
Kyra::KyraEngine_MR::_cnvFile
Common::SeekableReadStream * _cnvFile
Definition: kyra_mr.h:445
Kyra::KyraEngine_MR::drawSceneAnimObject
void drawSceneAnimObject(AnimObj *obj, int x, int y, int drawLayer) override
Definition: animator_mr.cpp:104
Kyra::KyraEngine_MR::_fadeOutMusicChannel
int _fadeOutMusicChannel
Definition: kyra_mr.h:113
Kyra::KyraEngine_MR::setItemMouseCursor
void setItemMouseCursor()
Definition: items_mr.cpp:94
Kyra::KyraEngine_MR::_dialogScriptFuncEnd
int _dialogScriptFuncEnd
Definition: kyra_mr.h:459
Kyra::ItemAnimDefinition
Definition: kyra_v2.h:41
Kyra::KyraEngine_MR::_isStartupDialog
bool _isStartupDialog
Definition: kyra_mr.h:452
Kyra::KyraEngine_MR::badConscienceChatWaitToFinish
void badConscienceChatWaitToFinish()
Definition: text_mr.cpp:384
Kyra::KyraEngine_MR::_shapeDescsSize
static const int _shapeDescsSize
Definition: kyra_mr.h:330
Kyra::KyraEngine_MR::Album::file
uint8 * file
Definition: kyra_mr.h:538
Kyra::KyraEngine_MR::o3_countItemInstances
int o3_countItemInstances(EMCState *script)
Definition: script_mr.cpp:1004
Kyra::KyraEngine_MR::_languageExtensionSize
static const int _languageExtensionSize
Definition: kyra_mr.h:663
Kyra::EMCState
Definition: script.h:47
Kyra::KyraEngine_MR::dialogStartScript
void dialogStartScript(int object, int funcNum)
Definition: text_mr.cpp:759
Kyra::KyraEngine_MR::scoreIncrease
void scoreIncrease(int count, const char *str)
Definition: kyra_mr.cpp:1311
Kyra::KyraEngine_MR::backUpGfxRect32x32
void backUpGfxRect32x32(int x, int y)
Definition: kyra_mr.cpp:1224
Kyra::KyraEngine_MR::o3_setMalcolmsMood
int o3_setMalcolmsMood(EMCState *script)
Definition: script_mr.cpp:275
Kyra::KyraEngine_MR::_nextAnimItem
int _nextAnimItem
Definition: kyra_mr.h:224
Kyra::KyraEngine_MR::updateItemCommand
void updateItemCommand(Item item, int str, uint8 c0)
Definition: gui_mr.cpp:126
Kyra::KyraEngine_MR::showAlbum
void showAlbum()
Definition: gui_mr.cpp:638
Kyra::KyraEngine_MR::_curDlgLang
int _curDlgLang
Definition: kyra_mr.h:447
screen_mr.h
Kyra::KyraEngine_MR::_menu
MainMenu * _menu
Definition: kyra_mr.h:164
Kyra::KyraEngine_MR::snd_playSoundEffect
void snd_playSoundEffect(int item, int volume) override
Definition: kyra_mr.cpp:440
Kyra::KyraEngine_MR::o3_getConversationState
int o3_getConversationState(EMCState *script)
Definition: script_mr.cpp:969
Kyra::KyraEngine_MR::malcolmSceneStartupChat
void malcolmSceneStartupChat()
Definition: text_mr.cpp:599
Kyra::KyraEngine_MR::o3_getScore
int o3_getScore(EMCState *script)
Definition: script_mr.cpp:720
Kyra::KyraEngine_MR::loadAlbumPageWSA
void loadAlbumPageWSA()
Definition: gui_mr.cpp:720
Kyra::KyraEngine_MR::Album::isPage14
bool isPage14
Definition: kyra_mr.h:553
Kyra::KyraEngine_MR::_itemStringMap
const uint8 * _itemStringMap
Definition: kyra_mr.h:303
Kyra::KyraEngine_MR::hideBadConscience
void hideBadConscience()
Definition: sequences_mr.cpp:91
Kyra::KyraEngine_MR::updateCLState
void updateCLState()
Definition: gui_mr.cpp:155
Kyra::KyraEngine_MR::_sfxFileListSize
int _sfxFileListSize
Definition: kyra_mr.h:129
Kyra::KyraEngine_MR::_invWsaFrame
int _invWsaFrame
Definition: kyra_mr.h:265
Kyra::KyraEngine_MR::_curDlgChapter
int _curDlgChapter
Definition: kyra_mr.h:447
Kyra::KyraEngine_MR::o3_removeItemsFromScene
int o3_removeItemsFromScene(EMCState *script)
Definition: script_mr.cpp:298
Kyra::KyraEngine_MR::timerRestoreCommandLine
void timerRestoreCommandLine(int arg)
Definition: timer_mr.cpp:43
Kyra::KyraEngine_MR::o3_checkInRect
int o3_checkInRect(EMCState *script)
Definition: script_mr.cpp:357
Kyra::KyraEngine_MR::o3_setSceneDim
int o3_setSceneDim(EMCState *script)
Definition: script_mr.cpp:590
Kyra::KyraEngine_MR::redrawInventory
void redrawInventory(int page)
Definition: gui_mr.cpp:429
Kyra::KyraEngine_MR::o3_playSoundEffect
int o3_playSoundEffect(EMCState *script)
Definition: script_mr.cpp:714
Kyra::KyraEngine_MR::skipFlag
bool skipFlag() const override
Definition: kyra_mr.cpp:1360
Kyra::KyraEngine_MR::_itemFile
uint8 * _itemFile
Definition: kyra_mr.h:271
Kyra::KyraEngine_MR::enterNewScene
void enterNewScene(uint16 scene, int facing, int unk1, int unk2, int unk3) override
Definition: scene_mr.cpp:32
Kyra::KyraEngine_MR::ShapeDesc::yOffset
int8 yOffset
Definition: kyra_mr.h:327
Kyra::KyraEngine_MR::npcChatSequence
void npcChatSequence(const char *str, int object, int vocHigh, int vocLow)
Definition: text_mr.cpp:794
Kyra::KyraEngine_MR::runStartupScript
void runStartupScript(int script, int unk1)
Definition: kyra_mr.cpp:672
Kyra::KyraEngine_MR::_enableInventory
bool _enableInventory
Definition: kyra_mr.h:149
Kyra::KyraEngine_MR::playMenuAudioFile
void playMenuAudioFile()
Definition: kyra_mr.cpp:397
Kyra::KyraEngine_MR::_itemBuffer2
int8 * _itemBuffer2
Definition: kyra_mr.h:282
Kyra::KyraEngine_MR::buttonJesterStaff
int buttonJesterStaff(Button *button)
Definition: gui_mr.cpp:611
flags
u16 flags
Definition: zipreader.h:215
type
uint32 type
Definition: mididrv.cpp:83
Kyra::KyraEngine_MR::Album::nextPage
int nextPage
Definition: kyra_mr.h:551
Kyra::KyraEngine_MR::playVQA
void playVQA(const char *name)
Definition: kyra_mr.cpp:363
Kyra::KyraEngine_MR::showInventory
void showInventory()
Definition: gui_mr.cpp:162
Kyra::KyraEngine_MR::_currentChapter
int _currentChapter
Definition: kyra_mr.h:508
Kyra::KyraEngine_MR::_interfaceCommandLine
uint8 * _interfaceCommandLine
Definition: kyra_mr.h:228
Kyra::KyraEngine_MR::_currentTalkFile
int _currentTalkFile
Definition: kyra_mr.h:338
Kyra::KyraEngine_MR::removeTrashItems
void removeTrashItems()
Definition: items_mr.cpp:30
Kyra::KyraEngine_MR::o3_customChat
int o3_customChat(EMCState *script)
Definition: script_mr.cpp:1037
Kyra::KyraEngine_MR::_sceneDatPalette
int8 _sceneDatPalette[45]
Definition: kyra_mr.h:368
Kyra::KyraEngine_MR::runSceneScript4
void runSceneScript4(int unk1)
Definition: scene_mr.cpp:741
Glk::AGT::script
void script(uchar onp)
Definition: interface.cpp:962
Kyra::KyraEngine_MR::showBadConscience
void showBadConscience()
Definition: sequences_mr.cpp:28
Kyra::KyraEngine_MR::o3_getMalcolmShapes
int o3_getMalcolmShapes(EMCState *script)
Definition: script_mr.cpp:31
Kyra::KyraEngine_MR::_malcolmShapeXOffset
int _malcolmShapeXOffset
Definition: kyra_mr.h:323
Kyra::KyraEngine_MR::buttonMoodChange
int buttonMoodChange(Button *button)
Definition: gui_mr.cpp:521
Kyra::KyraEngine_MR::Album::backUpRect
uint8 * backUpRect
Definition: kyra_mr.h:540
Kyra::KyraEngine_MR::_configVQAQuality
int _configVQAQuality
Definition: kyra_mr.h:73
Kyra::KyraEngine_MR::_itemMagicTable
const uint8 * _itemMagicTable
Definition: kyra_mr.h:299
Kyra::KyraEngine_MR::_dialogScriptData
EMCData _dialogScriptData
Definition: kyra_mr.h:455
Kyra::KyraEngine_MR::loadDlgHeader
void loadDlgHeader(int &vocHighBase, int &vocHighIndex, int &index1, int &index2)
Definition: text_mr.cpp:643
Kyra::KyraEngine_MR::loadGameState
Common::Error loadGameState(int slot) override
Load a game state.
Definition: saveload_mr.cpp:122
Kyra::KyraEngine_MR::_itemStringPickUp
static const uint8 _itemStringPickUp[]
Definition: kyra_mr.h:305
Kyra::KyraEngine_MR::setNextIdleAnimTimer
void setNextIdleAnimTimer()
Definition: timer_mr.cpp:97
Kyra::KyraEngine_MR::_malcolmShapeYOffset
int _malcolmShapeYOffset
Definition: kyra_mr.h:323
Kyra::KyraEngine_MR::_dialogScriptState
EMCState _dialogScriptState
Definition: kyra_mr.h:456
Kyra::KyraEngine_MR::getItemCommandStringPickUp
int getItemCommandStringPickUp(uint16 item)
Definition: items_mr.cpp:524
Kyra::KyraEngine_MR::_charBackUpHeight2
int _charBackUpHeight2
Definition: kyra_mr.h:213
Kyra::KyraEngine_MR::goodConscienceChatWaitToFinish
void goodConscienceChatWaitToFinish()
Definition: text_mr.cpp:440
Kyra::KyraEngine_MR::saveGameStateIntern
Common::Error saveGameStateIntern(int slot, const char *saveName, const Graphics::Surface *thumbnail) override
Definition: saveload_mr.cpp:33
Kyra::KyraEngine_MR::_albumChatActive
bool _albumChatActive
Definition: kyra_mr.h:432
Kyra::KyraEngine_MR::snd_playVoiceFile
void snd_playVoiceFile(int file) override
Definition: kyra_mr.cpp:454
Kyra::KyraEngine_MR::timerRunSceneScript7
void timerRunSceneScript7(int arg)
Definition: timer_mr.cpp:48
Kyra::KyraEngine_MR::_sceneShapes
uint8 * _sceneShapes[20]
Definition: kyra_mr.h:333
Kyra::KyraEngine_MR::_loadingState
bool _loadingState
Definition: kyra_mr.h:205
y
y
Definition: soft_render_surface.inl:124
Kyra::KyraEngine_MR::initMouseShapes
void initMouseShapes()
Definition: kyra_mr.cpp:498
Kyra::KyraEngine_MR::o3_refreshCharacter
int o3_refreshCharacter(EMCState *script)
Definition: script_mr.cpp:66
Kyra::KyraEngine_MR::restoreGfxRect32x32
void restoreGfxRect32x32(int x, int y)
Definition: kyra_mr.cpp:1228
Kyra::KyraEngine_MR::albumChat
void albumChat(const char *str, int vocHigh, int vocLow)
Definition: text_mr.cpp:479
Kyra::KyraEngine_MR::o3_resetInventory
int o3_resetInventory(EMCState *script)
Definition: script_mr.cpp:199
Kyra::KyraEngine_MR::_activeItemAnim
ActiveItemAnim _activeItemAnim[10]
Definition: kyra_mr.h:223
Kyra::KyraEngine_MR::o3_hideGoodConscience
int o3_hideGoodConscience(EMCState *script)
Definition: script_mr.cpp:836
Kyra::KyraEngine_MR::o3_removeItemInstances
int o3_removeItemInstances(EMCState *script)
Definition: script_mr.cpp:626
Kyra::KyraEngine_MR::o3d_updateAnim
int o3d_updateAnim(EMCState *script)
Definition: script_mr.cpp:1108
Kyra::KyraEngine_MR::_goodConscienceAnim
int _goodConscienceAnim
Definition: kyra_mr.h:485
Kyra::KyraEngine_MR::loadLanguageFile
int loadLanguageFile(const char *file, uint8 *&buffer)
Definition: kyra_mr.cpp:1234
Kyra::KyraEngine_MR::drawCharacterAnimObject
void drawCharacterAnimObject(AnimObj *obj, int x, int y, int drawLayer) override
Definition: animator_mr.cpp:126
Kyra::KyraEngine_MR::runSceneScript8
void runSceneScript8()
Definition: scene_mr.cpp:755
count
u32 count
Definition: disc_io.c:107
Kyra::KyraEngine_MR::snd_playWanderScoreViaMap
void snd_playWanderScoreViaMap(int track, int force) override
Definition: kyra_mr.cpp:404
Kyra::KyraEngine_MR::albumRestoreRect
void albumRestoreRect()
Definition: gui_mr.cpp:944
Kyra::KyraEngine_MR::isDropable
bool isDropable(int x, int y)
Definition: items_mr.cpp:371
Kyra::KyraEngine_MR::_paletteOverlay
uint8 * _paletteOverlay
Definition: kyra_mr.h:505
OSystem
Interface for ScummVM backends.
Definition: system.h:114
Kyra::KyraEngine_MR::trySceneChange
int trySceneChange(int *moveTable, int unk1, int unk2) override
Definition: scene_mr.cpp:599
Kyra::KyraEngine_MR::o3_setConversationState
int o3_setConversationState(EMCState *script)
Definition: script_mr.cpp:939
Kyra::KyraEngine_MR::_mainButtonListInitialized
bool _mainButtonListInitialized
Definition: kyra_mr.h:146
Kyra::KyraEngine_MR::eelScript
void eelScript()
Definition: sequences_mr.cpp:180
Kyra::KyraEngine_MR::snd_stopVoice
void snd_stopVoice() override
Definition: kyra_mr.cpp:465
Kyra::KyraEngine_MR::ShapeDesc::width
uint8 width
Definition: kyra_mr.h:326
Kyra::KyraEngine_MR::_sceneShapeDescs
SceneShapeDesc _sceneShapeDescs[20]
Definition: kyra_mr.h:377
Kyra::KyraEngine_MR::TalkObject
Definition: kyra_mr.h:403
Kyra::KyraEngine_MR::o3_changeChapter
int o3_changeChapter(EMCState *script)
Definition: script_mr.cpp:998
Kyra::KyraEngine_MR::_mainMenuItalianFan
static const char *const _mainMenuItalianFan[]
Definition: kyra_mr.h:189
Kyra::KyraEngine_MR::_useActorBuffer
bool _useActorBuffer
Definition: kyra_mr.h:506
Kyra::KyraEngine_MR::_chatAltFlag
bool _chatAltFlag
Definition: kyra_mr.h:441
Kyra::KyraEngine_MR::_badConscienceFrameTable
static const uint8 _badConscienceFrameTable[]
Definition: kyra_mr.h:479
Kyra::KyraEngine_MR::chatGetType
int chatGetType(const char *text)
Definition: text_mr.cpp:169
Kyra::KyraEngine_MR::_scoreFlagTable
int8 _scoreFlagTable[26]
Definition: kyra_mr.h:529
Kyra::KyraEngine_MR::albumNewPage
void albumNewPage()
Definition: gui_mr.cpp:847
Kyra::KyraEngine_MR::o3_setSceneFilename
int o3_setSceneFilename(EMCState *script)
Definition: script_mr.cpp:291
Kyra::KyraEngine_MR::_malcolmsMood
int _malcolmsMood
Definition: kyra_mr.h:396
Kyra::WSAMovie_v2
Definition: wsamovie.h:113
Kyra::KyraEngine_MR::updateMouse
void updateMouse()
Definition: kyra_mr.cpp:1079
Kyra::KyraEngine_MR::language
int language() const
Definition: kyra_mr.h:59
Kyra::KyraEngine_MR::pickUpItem
bool pickUpItem(int x, int y, int runScript)
Definition: items_mr.cpp:342
Kyra::KyraEngine_MR::itemDropDown
void itemDropDown(int startX, int startY, int dstX, int dstY, int itemSlot, Item item, int remove)
Definition: items_mr.cpp:229
Glk::Alan2::high
static CodeValue high
Definition: decode.cpp:56
Kyra::GUI_MR
Definition: gui_mr.h:33
Kyra::KyraEngine_v2::EngineDesc
Definition: kyra_v2.h:58
Kyra::KyraEngine_v2::AnimObj
Definition: kyra_v2.h:101
Kyra::KyraEngine_v1::text
virtual TextDisplayer * text()
Definition: kyra_v1.h:197
Kyra::KyraEngine_MR::_badConsciencePosition
bool _badConsciencePosition
Definition: kyra_mr.h:477
script.h
Kyra::KyraEngine_MR::albumAnim1
void albumAnim1()
Definition: gui_mr.cpp:913
Kyra::KyraEngine_MR::Album::PageMovie::curFrame
int curFrame
Definition: kyra_mr.h:544
Kyra::KyraEngine_MR::o3a_setCharacterFrame
int o3a_setCharacterFrame(EMCState *script)
Definition: script_mr.cpp:1085
kyra_v2.h
Kyra::KyraEngine_MR::runSceneScript1
int runSceneScript1(int x, int y)
Definition: scene_mr.cpp:709
Kyra::KyraEngine_MR::_stringBuffer
char * _stringBuffer
Definition: kyra_mr.h:521
Kyra::KyraEngine_MR::findFreeInventorySlot
int findFreeInventorySlot()
Definition: items_mr.cpp:41
Kyra::KyraEngine_MR::o3_setCharacterFacing
int o3_setCharacterFacing(EMCState *script)
Definition: script_mr.cpp:97
Kyra::KyraEngine_MR::_scaleTable
int _scaleTable[15]
Definition: kyra_mr.h:382
uint16
unsigned short uint16
Definition: cdtypes.h:27
Kyra::KyraEngine_MR::albumUpdateAnims
void albumUpdateAnims()
Definition: gui_mr.cpp:871
Kyra::KyraEngine_MR::_menuAnim
WSAMovie_v2 * _menuAnim
Definition: kyra_mr.h:165
Kyra::KyraEngine_MR::processDialog
void processDialog(int vocHighIndex, int vocHighBase, int funcNum)
Definition: text_mr.cpp:699
Kyra::KyraEngine_MR::_restoreCommandLine
bool _restoreCommandLine
Definition: kyra_mr.h:243
Kyra::KyraEngine_MR::o3_dialogStartScript
int o3_dialogStartScript(EMCState *script)
Definition: script_mr.cpp:1025
Kyra::KyraEngine_MR::_vocHighTable
static const uint8 _vocHighTable[]
Definition: kyra_mr.h:451
Kyra::KyraEngine_MR::_soundListSize
int _soundListSize
Definition: kyra_mr.h:117
Kyra::KyraEngine_MR::soundDigital
SoundDigital_MR * soundDigital()
Definition: kyra_mr.h:58
Kyra::KyraEngine_MR::TalkObject::sceneScript
int8 sceneScript
Definition: kyra_mr.h:406
Kyra::KyraEngine_MR::o3_dummy
int o3_dummy(EMCState *script)
Definition: script_mr.cpp:1078
Kyra::KyraEngine_MR::_costPalBuffer
uint8 * _costPalBuffer
Definition: kyra_mr.h:504
Kyra::KyraEngine_MR::_charBackUpHeight
int _charBackUpHeight
Definition: kyra_mr.h:214
Kyra::KyraEngine_MR::inputSceneChange
int inputSceneChange(int x, int y, int unk1, int unk2) override
Definition: kyra_mr.cpp:995
Kyra::KyraEngine_MR::o3d_delay
int o3d_delay(EMCState *script)
Definition: script_mr.cpp:1115
Kyra::KyraEngine_MR::updateCharPal
void updateCharPal(int unk1)
Definition: kyra_mr.cpp:833
Glk::JACL::file
FILE * file
Kyra::KyraEngine_MR::setDlgIndex
void setDlgIndex(int index) override
Definition: text_mr.cpp:651
Kyra::KyraEngine_MR::setWalkspeed
void setWalkspeed(uint8) override
Definition: timer_mr.cpp:82
Kyra::KyraEngine_MR::uninitAnimationShapes
void uninitAnimationShapes(int count, uint8 *filedata) override
Definition: sequences_mr.cpp:231
Kyra::KyraEngine_MR::_sfxFileMap
const uint8 * _sfxFileMap
Definition: kyra_mr.h:126
Kyra::KyraEngine_MR::albumBackUpRect
void albumBackUpRect()
Definition: gui_mr.cpp:940
Kyra::KyraEngine_MR::printAlbumPageText
void printAlbumPageText()
Definition: gui_mr.cpp:744
Kyra::KyraEngine_MR::_gfxBackUpRect
uint8 * _gfxBackUpRect
Definition: kyra_mr.h:517
Kyra::KyraEngine_MR::uninitMainMenu
void uninitMainMenu()
Definition: kyra_mr.cpp:356
name
char name[4]
Definition: cdaudio.cpp:37
Kyra::KyraEngine_MR::ShapeDesc::xOffset
int8 xOffset
Definition: kyra_mr.h:327
Kyra::EMCData
Definition: script.h:36
Kyra::KyraEngine_MR::o3_makeSecondChanceSave
int o3_makeSecondChanceSave(EMCState *script)
Definition: script_mr.cpp:285
Kyra::KyraEngine_MR::getTableEntry
uint8 * getTableEntry(uint8 *buffer, int id)
Definition: kyra_mr.cpp:1246
Kyra::KyraEngine_MR::_inventoryState
bool _inventoryState
Definition: kyra_mr.h:244
Kyra::KyraEngine_MR::_charBackUpWidth2
int _charBackUpWidth2
Definition: kyra_mr.h:213
Kyra::KyraEngine_MR::o3_updateConversations
int o3_updateConversations(EMCState *script)
Definition: script_mr.cpp:379
Kyra::KyraEngine_MR::drawJestersStaff
void drawJestersStaff(int type, int page)
Definition: gui_mr.cpp:355
Kyra::KyraEngine_MR::_actorFileSize
uint32 _actorFileSize
Definition: kyra_mr.h:274
Kyra::KyraEngine_MR::_goodConscienceFrameTable
static const uint8 _goodConscienceFrameTable[]
Definition: kyra_mr.h:488
Kyra::KyraEngine_MR::_mainMenuStringsSize
int _mainMenuStringsSize
Definition: kyra_mr.h:186
Kyra::KyraEngine_MR::o3_getInventorySlot
int o3_getInventorySlot(EMCState *script)
Definition: script_mr.cpp:142
Kyra::KyraEngine_MR::enterNewSceneUnk1
void enterNewSceneUnk1(int facing, int unk1, int unk2)
Definition: scene_mr.cpp:170
Kyra::KyraEngine_MR::_score
int _score
Definition: kyra_mr.h:523
Kyra::KyraEngine_MR::o3_showSceneStringsMessage
int o3_showSceneStringsMessage(EMCState *script)
Definition: script_mr.cpp:816
Kyra::KyraEngine_MR::o3_setCharacterAnimFrameFromFacing
int o3_setCharacterAnimFrameFromFacing(EMCState *script)
Definition: script_mr.cpp:109
filename
Common::String filename
Definition: action.cpp:1197
Kyra::KyraEngine_MR::itemListMagic
bool itemListMagic(Item handItem, int itemSlot)
Definition: items_mr.cpp:385
Kyra::KyraEngine_MR::initAnimationShapes
int initAnimationShapes(uint8 *filedata) override
Definition: sequences_mr.cpp:224
Kyra::KyraEngine_MR::o3_blockOutWalkableRegion
int o3_blockOutWalkableRegion(EMCState *script)
Definition: script_mr.cpp:800
Kyra::ActiveItemAnim
Definition: kyra_v2.h:47
Kyra::KyraEngine_v2::_lang
int _lang
Definition: kyra_v2.h:95
Kyra::KyraEngine_MR::_dialogScriptFuncProc
int _dialogScriptFuncProc
Definition: kyra_mr.h:459
Kyra::KyraEngine_MR::drawAnimObjects
void drawAnimObjects() override
Definition: animator_mr.cpp:81
Kyra::KyraEngine_MR::printAlbumText
void printAlbumText(int page, const char *str, int x, int y, uint8 c0)
Definition: gui_mr.cpp:768
Kyra::KyraEngine_MR::randomSceneChat
void randomSceneChat() override
Definition: text_mr.cpp:831
Kyra::KyraEngine_MR::getScoreX
int getScoreX(const char *str)
Definition: gui_mr.cpp:417
Kyra::KyraEngine_MR::checkItemCollision
int checkItemCollision(int x, int y)
Definition: items_mr.cpp:49
Kyra::KyraEngine_MR::_inventoryX
static const uint8 _inventoryX[]
Definition: kyra_mr.h:258
Kyra::KyraEngine_MR::loadCostPal
void loadCostPal()
Definition: kyra_mr.cpp:615
Kyra::KyraEngine_MR::initItems
void initItems()
Definition: kyra_mr.cpp:648
Kyra::KyraEngine_MR::Album::curPage
int curPage
Definition: kyra_mr.h:551
Kyra::KyraEngine_MR::openTalkFile
void openTalkFile(int file)
Definition: kyra_mr.cpp:692
Kyra::KyraEngine_v2
Definition: kyra_v2.h:54
Kyra::KyraEngine_MR::albumClose
int albumClose(Button *caller)
Definition: gui_mr.cpp:1029
Kyra::KyraEngine_MR::o3_npcChatSequence
int o3_npcChatSequence(EMCState *script)
Definition: script_mr.cpp:231
Kyra::KyraEngine_MR::updateDlgBuffer
void updateDlgBuffer()
Definition: text_mr.cpp:622
Kyra::KyraEngine_MR::_sceneMaxX
int _sceneMaxX
Definition: kyra_mr.h:362
Kyra::KyraEngine_MR::o3_enterNewScene
int o3_enterNewScene(EMCState *script)
Definition: script_mr.cpp:666
Kyra::KyraEngine_MR::restoreCommandLine
void restoreCommandLine()
Definition: gui_mr.cpp:150