2007-05-30 21:56:52 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
2005-04-05 18:08:02 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2014-02-18 01:34:20 +00:00
|
|
|
*
|
2005-04-05 18:08:02 +00:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2008-01-05 12:45:14 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2005-04-05 18:08:02 +00:00
|
|
|
* GNU General Public License for more details.
|
2014-02-18 01:34:20 +00:00
|
|
|
*
|
2005-04-05 18:08:02 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
2005-04-09 19:19:54 +00:00
|
|
|
* along with this program; if not, write to the Free Software
|
2005-10-18 01:30:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2005-04-05 18:08:02 +00:00
|
|
|
*
|
|
|
|
*/
|
2007-03-20 14:51:57 +00:00
|
|
|
|
2007-04-05 13:37:20 +00:00
|
|
|
#ifndef GOB_INTER_H
|
|
|
|
#define GOB_INTER_H
|
2005-04-05 15:07:40 +00:00
|
|
|
|
2009-06-17 04:15:45 +00:00
|
|
|
#include "common/func.h"
|
2009-06-17 04:16:51 +00:00
|
|
|
#include "common/hashmap.h"
|
2009-06-17 04:15:45 +00:00
|
|
|
|
2006-01-10 11:30:23 +00:00
|
|
|
#include "gob/goblin.h"
|
2008-05-28 21:15:11 +00:00
|
|
|
#include "gob/variables.h"
|
2011-01-25 14:20:19 +00:00
|
|
|
#include "gob/iniconfig.h"
|
2011-01-31 10:49:43 +00:00
|
|
|
#include "gob/databases.h"
|
2006-01-10 11:30:23 +00:00
|
|
|
|
2012-05-29 12:16:31 +00:00
|
|
|
namespace Common {
|
|
|
|
class PEResources;
|
|
|
|
}
|
|
|
|
|
2005-04-05 15:07:40 +00:00
|
|
|
namespace Gob {
|
|
|
|
|
2012-01-28 23:00:04 +00:00
|
|
|
class Cheater_Geisha;
|
|
|
|
|
2011-09-03 15:24:34 +00:00
|
|
|
namespace Geisha {
|
|
|
|
class Diving;
|
|
|
|
class Penetration;
|
|
|
|
}
|
|
|
|
|
2009-06-17 04:15:45 +00:00
|
|
|
// This is to help devices with small memory (PDA, smartphones, ...)
|
2009-08-27 16:36:19 +00:00
|
|
|
// to save a bit of memory used by opcode names in the Gob engine.
|
2009-06-17 04:15:45 +00:00
|
|
|
#ifndef REDUCE_MEMORY_USAGE
|
|
|
|
#define _OPCODEDRAW(ver, x) setProc(new Common::Functor0Mem<void, ver>(this, &ver::x), #x)
|
2011-01-29 22:44:06 +00:00
|
|
|
#define _OPCODEFUNC(ver, x) setProc(new Common::Functor1Mem<OpFuncParams &, void, ver>(this, &ver::x), #x)
|
2009-06-17 04:16:51 +00:00
|
|
|
#define _OPCODEGOB(ver, x) setProc(new Common::Functor1Mem<OpGobParams &, void, ver>(this, &ver::x), #x)
|
2009-06-17 04:15:45 +00:00
|
|
|
#else
|
|
|
|
#define _OPCODEDRAW(ver, x) setProc(new Common::Functor0Mem<void, ver>(this, &ver::x), "")
|
2011-01-29 22:44:06 +00:00
|
|
|
#define _OPCODEFUNC(ver, x) setProc(new Common::Functor1Mem<OpFuncParams &, void, ver>(this, &ver::x), "")
|
2009-06-17 04:16:51 +00:00
|
|
|
#define _OPCODEGOB(ver, x) setProc(new Common::Functor1Mem<OpGobParams &, void, ver>(this, &ver::x), "")
|
2009-06-17 04:15:45 +00:00
|
|
|
#endif
|
|
|
|
|
2009-06-17 04:16:51 +00:00
|
|
|
#define CLEAROPCODEDRAW(i) _opcodesDraw[i].setProc(0, 0)
|
|
|
|
#define CLEAROPCODEFUNC(i) _opcodesFunc[i].setProc(0, 0)
|
|
|
|
#define CLEAROPCODEGOB(i) _opcodesGob.erase(i)
|
2009-06-17 04:15:45 +00:00
|
|
|
|
|
|
|
typedef Common::Functor0<void> OpcodeDraw;
|
2011-01-29 22:44:06 +00:00
|
|
|
typedef Common::Functor1<struct OpFuncParams &, void> OpcodeFunc;
|
2009-06-17 04:16:51 +00:00
|
|
|
typedef Common::Functor1<struct OpGobParams &, void> OpcodeGob;
|
2009-06-17 04:15:45 +00:00
|
|
|
|
2009-06-17 04:16:21 +00:00
|
|
|
struct OpFuncParams {
|
|
|
|
byte cmdCount;
|
|
|
|
byte counter;
|
|
|
|
int16 retFlag;
|
2011-01-29 22:44:06 +00:00
|
|
|
bool doReturn;
|
2009-06-17 04:16:21 +00:00
|
|
|
};
|
|
|
|
struct OpGobParams {
|
|
|
|
int16 extraData;
|
2009-06-19 09:43:01 +00:00
|
|
|
int16 paramCount;
|
2009-06-17 04:16:21 +00:00
|
|
|
VariableReference retVarPtr;
|
|
|
|
Goblin::Gob_Object *objDesc;
|
|
|
|
};
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
struct OpcodeEntry : Common::NonCopyable {
|
|
|
|
T *proc;
|
2009-06-17 04:15:45 +00:00
|
|
|
const char *desc;
|
|
|
|
|
2009-06-17 04:16:21 +00:00
|
|
|
OpcodeEntry() : proc(0), desc(0) {}
|
|
|
|
~OpcodeEntry() {
|
2009-06-17 04:15:45 +00:00
|
|
|
setProc(0, 0);
|
|
|
|
}
|
|
|
|
|
2009-06-17 04:16:21 +00:00
|
|
|
void setProc(T *p, const char *d) {
|
2009-06-17 04:15:45 +00:00
|
|
|
if (proc != p) {
|
|
|
|
delete proc;
|
|
|
|
proc = p;
|
|
|
|
}
|
|
|
|
desc = d;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2006-01-03 23:14:39 +00:00
|
|
|
class Inter {
|
|
|
|
public:
|
2007-03-20 14:51:57 +00:00
|
|
|
uint8 _terminate;
|
|
|
|
|
2006-01-04 01:23:20 +00:00
|
|
|
int16 *_breakFromLevel;
|
|
|
|
int16 *_nestLevel;
|
2005-04-05 15:07:40 +00:00
|
|
|
|
2007-03-20 14:51:57 +00:00
|
|
|
uint32 _soundEndTimeKey;
|
|
|
|
int16 _soundStopVal;
|
2006-11-20 13:03:30 +00:00
|
|
|
|
2008-05-28 21:15:11 +00:00
|
|
|
Variables *_variables;
|
|
|
|
|
2009-06-17 04:16:51 +00:00
|
|
|
void setupOpcodes();
|
|
|
|
|
2007-03-20 14:51:57 +00:00
|
|
|
void initControlVars(char full);
|
|
|
|
void renewTimeInVars();
|
|
|
|
void storeMouse();
|
|
|
|
void storeKey(int16 key);
|
|
|
|
|
2008-12-28 18:00:19 +00:00
|
|
|
void writeVar(uint32 offset, uint16 type, uint32 value);
|
|
|
|
|
2006-01-03 23:14:39 +00:00
|
|
|
void funcBlock(int16 retFlag);
|
|
|
|
void callSub(int16 retFlag);
|
2007-03-20 14:51:57 +00:00
|
|
|
|
2008-05-28 21:15:11 +00:00
|
|
|
void allocateVars(uint32 count);
|
|
|
|
void delocateVars();
|
|
|
|
|
2006-02-24 21:58:03 +00:00
|
|
|
virtual int16 loadSound(int16 slot) = 0;
|
2007-03-20 14:51:57 +00:00
|
|
|
virtual void animPalette() = 0;
|
2006-01-03 23:14:39 +00:00
|
|
|
|
|
|
|
Inter(GobEngine *vm);
|
2008-05-28 21:15:11 +00:00
|
|
|
virtual ~Inter();
|
2006-01-03 23:14:39 +00:00
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:16:21 +00:00
|
|
|
OpcodeEntry<OpcodeDraw> _opcodesDraw[256];
|
|
|
|
OpcodeEntry<OpcodeFunc> _opcodesFunc[256];
|
2009-06-17 04:16:51 +00:00
|
|
|
Common::HashMap<int, OpcodeEntry<OpcodeGob> > _opcodesGob;
|
2009-06-17 04:15:45 +00:00
|
|
|
|
2007-03-20 14:51:57 +00:00
|
|
|
bool _break;
|
|
|
|
|
|
|
|
int16 _animPalLowIndex[8];
|
|
|
|
int16 _animPalHighIndex[8];
|
|
|
|
int16 _animPalDir[8];
|
|
|
|
|
2011-01-17 13:37:14 +00:00
|
|
|
VariableStack _varStack;
|
2006-01-03 23:14:39 +00:00
|
|
|
|
2012-06-15 11:32:43 +00:00
|
|
|
// Busy-wait detection
|
|
|
|
bool _noBusyWait;
|
|
|
|
uint32 _lastBusyWait;
|
2007-01-31 16:23:34 +00:00
|
|
|
|
2007-03-20 14:51:57 +00:00
|
|
|
GobEngine *_vm;
|
|
|
|
|
2009-06-17 04:15:45 +00:00
|
|
|
void executeOpcodeDraw(byte i);
|
2011-01-29 22:44:06 +00:00
|
|
|
void executeOpcodeFunc(byte i, byte j, OpFuncParams ¶ms);
|
2009-06-17 04:16:51 +00:00
|
|
|
void executeOpcodeGob(int i, OpGobParams ¶ms);
|
2009-06-17 04:15:45 +00:00
|
|
|
|
|
|
|
const char *getDescOpcodeDraw(byte i);
|
2009-06-17 04:16:21 +00:00
|
|
|
const char *getDescOpcodeFunc(byte i, byte j);
|
2009-06-17 04:16:51 +00:00
|
|
|
const char *getDescOpcodeGob(int i);
|
2009-06-17 04:15:45 +00:00
|
|
|
|
|
|
|
virtual void setupOpcodesDraw() = 0;
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc() = 0;
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob() = 0;
|
2007-02-04 15:45:15 +00:00
|
|
|
|
2009-06-22 10:13:37 +00:00
|
|
|
virtual void checkSwitchTable(uint32 &offset) = 0;
|
2007-03-20 14:51:57 +00:00
|
|
|
|
|
|
|
void o_drawNOP() {}
|
2011-01-29 22:44:06 +00:00
|
|
|
void o_funcNOP(OpFuncParams ¶ms) {}
|
2007-03-20 14:51:57 +00:00
|
|
|
void o_gobNOP(OpGobParams ¶ms) {}
|
2011-02-04 15:53:44 +00:00
|
|
|
|
|
|
|
void storeValue(uint16 index, uint16 type, uint32 value);
|
|
|
|
void storeValue(uint32 value);
|
|
|
|
|
|
|
|
void storeString(uint16 index, uint16 type, const char *value);
|
|
|
|
void storeString(const char *value);
|
2011-02-04 15:54:21 +00:00
|
|
|
|
|
|
|
uint32 readValue(uint16 index, uint16 type);
|
2012-06-15 11:32:43 +00:00
|
|
|
|
|
|
|
void handleBusyWait();
|
2006-01-05 16:06:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class Inter_v1 : public Inter {
|
|
|
|
public:
|
|
|
|
Inter_v1(GobEngine *vm);
|
2007-04-25 19:52:26 +00:00
|
|
|
virtual ~Inter_v1() {}
|
2007-03-20 14:51:57 +00:00
|
|
|
|
2006-02-24 21:58:03 +00:00
|
|
|
virtual int16 loadSound(int16 slot);
|
2007-03-20 14:51:57 +00:00
|
|
|
virtual void animPalette();
|
2006-01-05 16:06:55 +00:00
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2007-03-20 14:51:57 +00:00
|
|
|
|
2009-06-22 10:13:37 +00:00
|
|
|
virtual void checkSwitchTable(uint32 &offset);
|
2007-03-20 14:51:57 +00:00
|
|
|
|
|
|
|
void o1_loadMult();
|
|
|
|
void o1_playMult();
|
|
|
|
void o1_freeMultKeys();
|
|
|
|
void o1_initCursor();
|
|
|
|
void o1_initCursorAnim();
|
|
|
|
void o1_clearCursorAnim();
|
|
|
|
void o1_setRenderFlags();
|
|
|
|
void o1_loadAnim();
|
|
|
|
void o1_freeAnim();
|
|
|
|
void o1_updateAnim();
|
|
|
|
void o1_initMult();
|
|
|
|
void o1_freeMult();
|
|
|
|
void o1_animate();
|
|
|
|
void o1_loadMultObject();
|
|
|
|
void o1_getAnimLayerInfo();
|
|
|
|
void o1_getObjAnimSize();
|
|
|
|
void o1_loadStatic();
|
|
|
|
void o1_freeStatic();
|
|
|
|
void o1_renderStatic();
|
|
|
|
void o1_loadCurLayer();
|
|
|
|
void o1_playCDTrack();
|
|
|
|
void o1_getCDTrackPos();
|
|
|
|
void o1_stopCD();
|
|
|
|
void o1_loadFontToSprite();
|
|
|
|
void o1_freeFontToSprite();
|
2011-01-29 22:44:06 +00:00
|
|
|
void o1_callSub(OpFuncParams ¶ms);
|
|
|
|
void o1_printTotText(OpFuncParams ¶ms);
|
|
|
|
void o1_loadCursor(OpFuncParams ¶ms);
|
|
|
|
void o1_switch (OpFuncParams ¶ms);
|
|
|
|
void o1_repeatUntil(OpFuncParams ¶ms);
|
|
|
|
void o1_whileDo(OpFuncParams ¶ms);
|
|
|
|
void o1_if(OpFuncParams ¶ms);
|
|
|
|
void o1_assign(OpFuncParams ¶ms);
|
|
|
|
void o1_loadSpriteToPos(OpFuncParams ¶ms);
|
|
|
|
void o1_printText(OpFuncParams ¶ms);
|
|
|
|
void o1_loadTot(OpFuncParams ¶ms);
|
|
|
|
void o1_palLoad(OpFuncParams ¶ms);
|
|
|
|
void o1_keyFunc(OpFuncParams ¶ms);
|
|
|
|
void o1_capturePush(OpFuncParams ¶ms);
|
|
|
|
void o1_capturePop(OpFuncParams ¶ms);
|
|
|
|
void o1_animPalInit(OpFuncParams ¶ms);
|
|
|
|
void o1_drawOperations(OpFuncParams ¶ms);
|
|
|
|
void o1_setcmdCount(OpFuncParams ¶ms);
|
|
|
|
void o1_return(OpFuncParams ¶ms);
|
|
|
|
void o1_renewTimeInVars(OpFuncParams ¶ms);
|
|
|
|
void o1_speakerOn(OpFuncParams ¶ms);
|
|
|
|
void o1_speakerOff(OpFuncParams ¶ms);
|
|
|
|
void o1_putPixel(OpFuncParams ¶ms);
|
|
|
|
void o1_goblinFunc(OpFuncParams ¶ms);
|
|
|
|
void o1_createSprite(OpFuncParams ¶ms);
|
|
|
|
void o1_freeSprite(OpFuncParams ¶ms);
|
|
|
|
void o1_returnTo(OpFuncParams ¶ms);
|
|
|
|
void o1_loadSpriteContent(OpFuncParams ¶ms);
|
|
|
|
void o1_copySprite(OpFuncParams ¶ms);
|
|
|
|
void o1_fillRect(OpFuncParams ¶ms);
|
|
|
|
void o1_drawLine(OpFuncParams ¶ms);
|
|
|
|
void o1_strToLong(OpFuncParams ¶ms);
|
|
|
|
void o1_invalidate(OpFuncParams ¶ms);
|
|
|
|
void o1_setBackDelta(OpFuncParams ¶ms);
|
|
|
|
void o1_playSound(OpFuncParams ¶ms);
|
|
|
|
void o1_stopSound(OpFuncParams ¶ms);
|
|
|
|
void o1_loadSound(OpFuncParams ¶ms);
|
|
|
|
void o1_freeSoundSlot(OpFuncParams ¶ms);
|
|
|
|
void o1_waitEndPlay(OpFuncParams ¶ms);
|
|
|
|
void o1_playComposition(OpFuncParams ¶ms);
|
|
|
|
void o1_getFreeMem(OpFuncParams ¶ms);
|
|
|
|
void o1_checkData(OpFuncParams ¶ms);
|
|
|
|
void o1_cleanupStr(OpFuncParams ¶ms);
|
|
|
|
void o1_insertStr(OpFuncParams ¶ms);
|
|
|
|
void o1_cutStr(OpFuncParams ¶ms);
|
|
|
|
void o1_strstr(OpFuncParams ¶ms);
|
|
|
|
void o1_istrlen(OpFuncParams ¶ms);
|
|
|
|
void o1_setMousePos(OpFuncParams ¶ms);
|
|
|
|
void o1_setFrameRate(OpFuncParams ¶ms);
|
|
|
|
void o1_animatePalette(OpFuncParams ¶ms);
|
|
|
|
void o1_animateCursor(OpFuncParams ¶ms);
|
|
|
|
void o1_blitCursor(OpFuncParams ¶ms);
|
|
|
|
void o1_loadFont(OpFuncParams ¶ms);
|
|
|
|
void o1_freeFont(OpFuncParams ¶ms);
|
|
|
|
void o1_readData(OpFuncParams ¶ms);
|
|
|
|
void o1_writeData(OpFuncParams ¶ms);
|
|
|
|
void o1_manageDataFile(OpFuncParams ¶ms);
|
2007-03-20 14:51:57 +00:00
|
|
|
void o1_setState(OpGobParams ¶ms);
|
|
|
|
void o1_setCurFrame(OpGobParams ¶ms);
|
|
|
|
void o1_setNextState(OpGobParams ¶ms);
|
|
|
|
void o1_setMultState(OpGobParams ¶ms);
|
|
|
|
void o1_setOrder(OpGobParams ¶ms);
|
|
|
|
void o1_setActionStartState(OpGobParams ¶ms);
|
|
|
|
void o1_setCurLookDir(OpGobParams ¶ms);
|
|
|
|
void o1_setType(OpGobParams ¶ms);
|
|
|
|
void o1_setNoTick(OpGobParams ¶ms);
|
|
|
|
void o1_setPickable(OpGobParams ¶ms);
|
|
|
|
void o1_setXPos(OpGobParams ¶ms);
|
|
|
|
void o1_setYPos(OpGobParams ¶ms);
|
|
|
|
void o1_setDoAnim(OpGobParams ¶ms);
|
|
|
|
void o1_setRelaxTime(OpGobParams ¶ms);
|
|
|
|
void o1_setMaxTick(OpGobParams ¶ms);
|
|
|
|
void o1_getState(OpGobParams ¶ms);
|
|
|
|
void o1_getCurFrame(OpGobParams ¶ms);
|
|
|
|
void o1_getNextState(OpGobParams ¶ms);
|
|
|
|
void o1_getMultState(OpGobParams ¶ms);
|
|
|
|
void o1_getOrder(OpGobParams ¶ms);
|
|
|
|
void o1_getActionStartState(OpGobParams ¶ms);
|
|
|
|
void o1_getCurLookDir(OpGobParams ¶ms);
|
|
|
|
void o1_getType(OpGobParams ¶ms);
|
|
|
|
void o1_getNoTick(OpGobParams ¶ms);
|
|
|
|
void o1_getPickable(OpGobParams ¶ms);
|
|
|
|
void o1_getObjMaxFrame(OpGobParams ¶ms);
|
|
|
|
void o1_getXPos(OpGobParams ¶ms);
|
|
|
|
void o1_getYPos(OpGobParams ¶ms);
|
|
|
|
void o1_getDoAnim(OpGobParams ¶ms);
|
|
|
|
void o1_getRelaxTime(OpGobParams ¶ms);
|
|
|
|
void o1_getMaxTick(OpGobParams ¶ms);
|
|
|
|
void o1_manipulateMap(OpGobParams ¶ms);
|
|
|
|
void o1_getItem(OpGobParams ¶ms);
|
|
|
|
void o1_manipulateMapIndirect(OpGobParams ¶ms);
|
|
|
|
void o1_getItemIndirect(OpGobParams ¶ms);
|
|
|
|
void o1_setPassMap(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinPosH(OpGobParams ¶ms);
|
|
|
|
void o1_getGoblinPosXH(OpGobParams ¶ms);
|
|
|
|
void o1_getGoblinPosYH(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinMultState(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinUnk14(OpGobParams ¶ms);
|
|
|
|
void o1_setItemIdInPocket(OpGobParams ¶ms);
|
|
|
|
void o1_setItemIndInPocket(OpGobParams ¶ms);
|
|
|
|
void o1_getItemIdInPocket(OpGobParams ¶ms);
|
|
|
|
void o1_getItemIndInPocket(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinPos(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinState(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinStateRedraw(OpGobParams ¶ms);
|
|
|
|
void o1_decRelaxTime(OpGobParams ¶ms);
|
|
|
|
void o1_getGoblinPosX(OpGobParams ¶ms);
|
|
|
|
void o1_getGoblinPosY(OpGobParams ¶ms);
|
|
|
|
void o1_clearPathExistence(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinVisible(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinInvisible(OpGobParams ¶ms);
|
|
|
|
void o1_getObjectIntersect(OpGobParams ¶ms);
|
|
|
|
void o1_getGoblinIntersect(OpGobParams ¶ms);
|
|
|
|
void o1_setItemPos(OpGobParams ¶ms);
|
|
|
|
void o1_loadObjects(OpGobParams ¶ms);
|
|
|
|
void o1_freeObjects(OpGobParams ¶ms);
|
|
|
|
void o1_animateObjects(OpGobParams ¶ms);
|
|
|
|
void o1_drawObjects(OpGobParams ¶ms);
|
|
|
|
void o1_loadMap(OpGobParams ¶ms);
|
|
|
|
void o1_moveGoblin(OpGobParams ¶ms);
|
|
|
|
void o1_switchGoblin(OpGobParams ¶ms);
|
|
|
|
void o1_loadGoblin(OpGobParams ¶ms);
|
|
|
|
void o1_writeTreatItem(OpGobParams ¶ms);
|
|
|
|
void o1_moveGoblin0(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinTarget(OpGobParams ¶ms);
|
|
|
|
void o1_setGoblinObjectsPos(OpGobParams ¶ms);
|
|
|
|
void o1_initGoblin(OpGobParams ¶ms);
|
|
|
|
|
|
|
|
void manipulateMap(int16 xPos, int16 yPos, int16 item);
|
2006-01-05 16:06:55 +00:00
|
|
|
};
|
|
|
|
|
2011-08-26 02:10:46 +00:00
|
|
|
class Inter_Geisha : public Inter_v1 {
|
|
|
|
public:
|
|
|
|
Inter_Geisha(GobEngine *vm);
|
2011-09-03 15:24:34 +00:00
|
|
|
virtual ~Inter_Geisha();
|
2011-08-26 02:10:46 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void setupOpcodesDraw();
|
|
|
|
virtual void setupOpcodesFunc();
|
|
|
|
virtual void setupOpcodesGob();
|
|
|
|
|
2011-08-26 04:09:56 +00:00
|
|
|
void oGeisha_loadCursor(OpFuncParams ¶ms);
|
2011-08-29 12:09:00 +00:00
|
|
|
void oGeisha_loadTot(OpFuncParams ¶ms);
|
2011-08-26 05:44:30 +00:00
|
|
|
void oGeisha_goblinFunc(OpFuncParams ¶ms);
|
2011-08-26 02:10:46 +00:00
|
|
|
void oGeisha_loadSound(OpFuncParams ¶ms);
|
2011-08-26 07:17:51 +00:00
|
|
|
void oGeisha_checkData(OpFuncParams ¶ms);
|
2011-08-28 21:50:07 +00:00
|
|
|
void oGeisha_readData(OpFuncParams ¶ms);
|
|
|
|
void oGeisha_writeData(OpFuncParams ¶ms);
|
2011-08-26 02:10:46 +00:00
|
|
|
|
2011-08-26 06:15:47 +00:00
|
|
|
void oGeisha_gamePenetration(OpGobParams ¶ms);
|
2011-08-26 06:20:19 +00:00
|
|
|
void oGeisha_gameDiving(OpGobParams ¶ms);
|
2011-08-26 05:44:30 +00:00
|
|
|
void oGeisha_loadTitleMusic(OpGobParams ¶ms);
|
|
|
|
void oGeisha_playMusic(OpGobParams ¶ms);
|
|
|
|
void oGeisha_stopMusic(OpGobParams ¶ms);
|
|
|
|
|
2011-08-26 07:04:51 +00:00
|
|
|
void oGeisha_caress1(OpGobParams ¶ms);
|
|
|
|
void oGeisha_caress2(OpGobParams ¶ms);
|
|
|
|
|
2011-08-26 02:10:46 +00:00
|
|
|
int16 loadSound(int16 slot);
|
2011-09-03 15:24:34 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Geisha::Diving *_diving;
|
|
|
|
Geisha::Penetration *_penetration;
|
2012-01-28 23:00:04 +00:00
|
|
|
|
|
|
|
Cheater_Geisha *_cheater;
|
2011-08-26 02:10:46 +00:00
|
|
|
};
|
|
|
|
|
2006-01-05 16:06:55 +00:00
|
|
|
class Inter_v2 : public Inter_v1 {
|
|
|
|
public:
|
|
|
|
Inter_v2(GobEngine *vm);
|
2007-04-25 19:52:26 +00:00
|
|
|
virtual ~Inter_v2() {}
|
2007-03-20 14:51:57 +00:00
|
|
|
|
2006-02-24 21:58:03 +00:00
|
|
|
virtual int16 loadSound(int16 search);
|
2007-03-20 14:51:57 +00:00
|
|
|
virtual void animPalette();
|
2006-01-05 16:06:55 +00:00
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2007-03-20 14:51:57 +00:00
|
|
|
|
2009-06-22 10:13:37 +00:00
|
|
|
virtual void checkSwitchTable(uint32 &offset);
|
2007-03-20 14:51:57 +00:00
|
|
|
|
|
|
|
void o2_playMult();
|
2007-07-24 06:11:38 +00:00
|
|
|
void o2_freeMultKeys();
|
2007-03-20 14:51:57 +00:00
|
|
|
void o2_setRenderFlags();
|
|
|
|
void o2_multSub();
|
|
|
|
void o2_initMult();
|
|
|
|
void o2_loadMultObject();
|
|
|
|
void o2_renderStatic();
|
|
|
|
void o2_loadCurLayer();
|
|
|
|
void o2_playCDTrack();
|
|
|
|
void o2_waitCDTrackEnd();
|
|
|
|
void o2_stopCD();
|
|
|
|
void o2_readLIC();
|
|
|
|
void o2_freeLIC();
|
|
|
|
void o2_getCDTrackPos();
|
|
|
|
void o2_loadFontToSprite();
|
|
|
|
void o2_totSub();
|
|
|
|
void o2_switchTotSub();
|
2008-12-18 02:48:15 +00:00
|
|
|
void o2_pushVars();
|
|
|
|
void o2_popVars();
|
2007-03-20 14:51:57 +00:00
|
|
|
void o2_loadMapObjects();
|
|
|
|
void o2_freeGoblins();
|
|
|
|
void o2_moveGoblin();
|
|
|
|
void o2_writeGoblinPos();
|
|
|
|
void o2_stopGoblin();
|
|
|
|
void o2_setGoblinState();
|
|
|
|
void o2_placeGoblin();
|
|
|
|
void o2_initScreen();
|
|
|
|
void o2_scroll();
|
|
|
|
void o2_setScrollOffset();
|
|
|
|
void o2_playImd();
|
|
|
|
void o2_getImdInfo();
|
|
|
|
void o2_openItk();
|
|
|
|
void o2_closeItk();
|
|
|
|
void o2_setImdFrontSurf();
|
|
|
|
void o2_resetImdFrontSurf();
|
2011-01-29 22:44:06 +00:00
|
|
|
void o2_assign(OpFuncParams ¶ms);
|
|
|
|
void o2_printText(OpFuncParams ¶ms);
|
|
|
|
void o2_animPalInit(OpFuncParams ¶ms);
|
|
|
|
void o2_addHotspot(OpFuncParams ¶ms);
|
|
|
|
void o2_removeHotspot(OpFuncParams ¶ms);
|
2014-01-31 10:54:44 +00:00
|
|
|
void o2_getTotTextItemPart(OpFuncParams ¶ms);
|
2011-01-29 22:44:06 +00:00
|
|
|
void o2_goblinFunc(OpFuncParams ¶ms);
|
|
|
|
void o2_stopSound(OpFuncParams ¶ms);
|
|
|
|
void o2_loadSound(OpFuncParams ¶ms);
|
|
|
|
void o2_getFreeMem(OpFuncParams ¶ms);
|
|
|
|
void o2_checkData(OpFuncParams ¶ms);
|
|
|
|
void o2_readData(OpFuncParams ¶ms);
|
|
|
|
void o2_writeData(OpFuncParams ¶ms);
|
2007-03-20 14:51:57 +00:00
|
|
|
void o2_loadInfogramesIns(OpGobParams ¶ms);
|
|
|
|
void o2_playInfogrames(OpGobParams ¶ms);
|
2007-04-05 15:38:30 +00:00
|
|
|
void o2_startInfogrames(OpGobParams ¶ms);
|
|
|
|
void o2_stopInfogrames(OpGobParams ¶ms);
|
2007-03-20 14:51:57 +00:00
|
|
|
void o2_handleGoblins(OpGobParams ¶ms);
|
2009-03-19 23:42:19 +00:00
|
|
|
void o2_playProtracker(OpGobParams ¶ms);
|
|
|
|
void o2_stopProtracker(OpGobParams ¶ms);
|
2006-01-03 23:14:39 +00:00
|
|
|
};
|
2005-04-05 15:07:40 +00:00
|
|
|
|
2007-02-04 15:45:15 +00:00
|
|
|
class Inter_Bargon : public Inter_v2 {
|
|
|
|
public:
|
|
|
|
Inter_Bargon(GobEngine *vm);
|
2007-04-25 19:52:26 +00:00
|
|
|
virtual ~Inter_Bargon() {}
|
2007-02-04 15:45:15 +00:00
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2007-02-04 15:45:15 +00:00
|
|
|
|
2007-03-20 14:51:57 +00:00
|
|
|
void oBargon_intro0(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro1(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro2(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro3(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro4(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro5(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro6(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro7(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro8(OpGobParams ¶ms);
|
|
|
|
void oBargon_intro9(OpGobParams ¶ms);
|
2007-02-04 15:45:15 +00:00
|
|
|
};
|
|
|
|
|
2009-04-21 21:44:37 +00:00
|
|
|
class Inter_Fascination : public Inter_v2 {
|
|
|
|
public:
|
|
|
|
Inter_Fascination(GobEngine *vm);
|
|
|
|
virtual ~Inter_Fascination() {}
|
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2009-04-21 21:44:37 +00:00
|
|
|
|
|
|
|
void oFascin_playProtracker(OpGobParams ¶ms);
|
|
|
|
|
2011-01-29 22:44:06 +00:00
|
|
|
void oFascin_repeatUntil(OpFuncParams ¶ms);
|
|
|
|
void oFascin_assign(OpFuncParams ¶ms);
|
|
|
|
void oFascin_copySprite(OpFuncParams ¶ms);
|
|
|
|
void oFascin_keyFunc(OpFuncParams ¶ms);
|
2010-02-06 08:10:56 +00:00
|
|
|
|
2009-09-29 22:43:30 +00:00
|
|
|
void oFascin_playTirb(OpGobParams ¶ms);
|
|
|
|
void oFascin_playTira(OpGobParams ¶ms);
|
|
|
|
void oFascin_loadExtasy(OpGobParams ¶ms);
|
|
|
|
void oFascin_adlibPlay(OpGobParams ¶ms);
|
|
|
|
void oFascin_adlibStop(OpGobParams ¶ms);
|
|
|
|
void oFascin_adlibUnload(OpGobParams ¶ms);
|
|
|
|
void oFascin_loadMus1(OpGobParams ¶ms);
|
|
|
|
void oFascin_loadMus2(OpGobParams ¶ms);
|
|
|
|
void oFascin_loadMus3(OpGobParams ¶ms);
|
|
|
|
void oFascin_loadBatt1(OpGobParams ¶ms);
|
|
|
|
void oFascin_loadBatt2(OpGobParams ¶ms);
|
|
|
|
void oFascin_loadBatt3(OpGobParams ¶ms);
|
2010-02-08 23:12:42 +00:00
|
|
|
void oFascin_loadMod(OpGobParams ¶ms);
|
2009-09-29 22:43:30 +00:00
|
|
|
void oFascin_setWinSize();
|
|
|
|
void oFascin_closeWin();
|
|
|
|
void oFascin_activeWin();
|
|
|
|
void oFascin_openWin();
|
2010-08-18 00:03:58 +00:00
|
|
|
void oFascin_initCursorAnim();
|
2009-04-29 16:36:08 +00:00
|
|
|
void oFascin_setRenderFlags();
|
2009-09-29 22:43:30 +00:00
|
|
|
void oFascin_setWinFlags();
|
2009-04-21 21:44:37 +00:00
|
|
|
};
|
|
|
|
|
2012-06-14 22:56:55 +00:00
|
|
|
class Inter_LittleRed : public Inter_v2 {
|
|
|
|
public:
|
|
|
|
Inter_LittleRed(GobEngine *vm);
|
|
|
|
virtual ~Inter_LittleRed() {}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void setupOpcodesDraw();
|
|
|
|
virtual void setupOpcodesFunc();
|
|
|
|
virtual void setupOpcodesGob();
|
2012-06-15 11:32:43 +00:00
|
|
|
|
|
|
|
void oLittleRed_keyFunc(OpFuncParams ¶ms);
|
2012-06-16 00:58:53 +00:00
|
|
|
void oLittleRed_playComposition(OpFuncParams ¶ms);
|
2012-06-14 22:56:55 +00:00
|
|
|
};
|
|
|
|
|
2007-04-05 13:37:20 +00:00
|
|
|
class Inter_v3 : public Inter_v2 {
|
|
|
|
public:
|
|
|
|
Inter_v3(GobEngine *vm);
|
2007-04-25 19:52:26 +00:00
|
|
|
virtual ~Inter_v3() {}
|
2007-04-05 13:37:20 +00:00
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2007-04-05 13:37:20 +00:00
|
|
|
|
2011-07-25 16:46:06 +00:00
|
|
|
void o3_speakerOn(OpFuncParams ¶ms);
|
|
|
|
void o3_speakerOff(OpFuncParams ¶ms);
|
2011-01-29 22:44:06 +00:00
|
|
|
void o3_copySprite(OpFuncParams ¶ms);
|
2007-08-03 15:18:00 +00:00
|
|
|
|
|
|
|
void o3_wobble(OpGobParams ¶ms);
|
2011-07-25 16:46:06 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool _ignoreSpeakerOff;
|
2007-04-05 13:37:20 +00:00
|
|
|
};
|
|
|
|
|
2011-01-18 11:52:24 +00:00
|
|
|
class Inter_Inca2 : public Inter_v3 {
|
|
|
|
public:
|
|
|
|
Inter_Inca2(GobEngine *vm);
|
|
|
|
virtual ~Inter_Inca2() {}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void setupOpcodesDraw();
|
|
|
|
virtual void setupOpcodesFunc();
|
|
|
|
virtual void setupOpcodesGob();
|
|
|
|
|
2011-01-29 22:44:06 +00:00
|
|
|
void oInca2_spaceShooter(OpFuncParams ¶ms);
|
2011-01-18 11:52:24 +00:00
|
|
|
};
|
|
|
|
|
2007-07-25 22:55:00 +00:00
|
|
|
class Inter_v4 : public Inter_v3 {
|
2007-07-25 21:48:47 +00:00
|
|
|
public:
|
2007-07-25 22:55:00 +00:00
|
|
|
Inter_v4(GobEngine *vm);
|
|
|
|
virtual ~Inter_v4() {}
|
2007-07-25 21:48:47 +00:00
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2007-07-30 18:35:16 +00:00
|
|
|
|
2008-05-17 23:55:04 +00:00
|
|
|
void o4_initScreen();
|
2007-07-30 18:35:16 +00:00
|
|
|
void o4_playVmdOrMusic();
|
2007-07-25 21:48:47 +00:00
|
|
|
};
|
|
|
|
|
2008-08-30 23:59:46 +00:00
|
|
|
class Inter_v5 : public Inter_v4 {
|
|
|
|
public:
|
|
|
|
Inter_v5(GobEngine *vm);
|
|
|
|
virtual ~Inter_v5() {}
|
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:16:51 +00:00
|
|
|
byte _gob_97_98_val;
|
2008-08-30 23:59:46 +00:00
|
|
|
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2008-08-30 23:59:46 +00:00
|
|
|
|
|
|
|
void o5_deleteFile();
|
2008-12-04 00:52:12 +00:00
|
|
|
void o5_initScreen();
|
2008-08-30 23:59:46 +00:00
|
|
|
|
2011-01-29 22:44:06 +00:00
|
|
|
void o5_istrlen(OpFuncParams ¶ms);
|
2008-08-30 23:59:46 +00:00
|
|
|
|
|
|
|
void o5_spaceShooter(OpGobParams ¶ms);
|
|
|
|
void o5_getSystemCDSpeed(OpGobParams ¶ms);
|
|
|
|
void o5_getSystemRAM(OpGobParams ¶ms);
|
|
|
|
void o5_getSystemCPUSpeed(OpGobParams ¶ms);
|
|
|
|
void o5_getSystemDrawSpeed(OpGobParams ¶ms);
|
|
|
|
void o5_totalSystemSpecs(OpGobParams ¶ms);
|
|
|
|
void o5_saveSystemSpecs(OpGobParams ¶ms);
|
|
|
|
void o5_loadSystemSpecs(OpGobParams ¶ms);
|
|
|
|
|
|
|
|
void o5_gob92(OpGobParams ¶ms);
|
|
|
|
void o5_gob95(OpGobParams ¶ms);
|
|
|
|
void o5_gob96(OpGobParams ¶ms);
|
|
|
|
void o5_gob97(OpGobParams ¶ms);
|
|
|
|
void o5_gob98(OpGobParams ¶ms);
|
|
|
|
void o5_gob100(OpGobParams ¶ms);
|
|
|
|
void o5_gob200(OpGobParams ¶ms);
|
|
|
|
};
|
|
|
|
|
2008-09-02 20:15:42 +00:00
|
|
|
class Inter_v6 : public Inter_v5 {
|
|
|
|
public:
|
|
|
|
Inter_v6(GobEngine *vm);
|
|
|
|
virtual ~Inter_v6() {}
|
|
|
|
|
|
|
|
protected:
|
2009-06-17 04:16:51 +00:00
|
|
|
bool _gotFirstPalette;
|
2008-09-02 20:15:42 +00:00
|
|
|
|
2009-06-17 04:15:45 +00:00
|
|
|
virtual void setupOpcodesDraw();
|
2009-06-17 04:16:21 +00:00
|
|
|
virtual void setupOpcodesFunc();
|
2009-06-17 04:16:51 +00:00
|
|
|
virtual void setupOpcodesGob();
|
2008-09-02 20:15:42 +00:00
|
|
|
|
2008-12-15 00:27:05 +00:00
|
|
|
void o6_totSub();
|
2008-12-14 03:08:02 +00:00
|
|
|
void o6_playVmdOrMusic();
|
|
|
|
|
2011-01-29 22:44:06 +00:00
|
|
|
void o6_loadCursor(OpFuncParams ¶ms);
|
|
|
|
void o6_assign(OpFuncParams ¶ms);
|
|
|
|
void o6_removeHotspot(OpFuncParams ¶ms);
|
|
|
|
void o6_fillRect(OpFuncParams ¶ms);
|
2008-12-14 04:13:48 +00:00
|
|
|
|
2011-01-29 22:47:53 +00:00
|
|
|
void probe16bitMusic(Common::String &fileName);
|
2008-09-02 20:15:42 +00:00
|
|
|
};
|
|
|
|
|
2009-08-13 09:59:44 +00:00
|
|
|
class Inter_Playtoons : public Inter_v6 {
|
|
|
|
public:
|
|
|
|
Inter_Playtoons(GobEngine *vm);
|
|
|
|
virtual ~Inter_Playtoons() {}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void setupOpcodesDraw();
|
|
|
|
virtual void setupOpcodesFunc();
|
|
|
|
virtual void setupOpcodesGob();
|
|
|
|
|
2011-01-29 22:44:06 +00:00
|
|
|
void oPlaytoons_printText(OpFuncParams ¶ms);
|
|
|
|
void oPlaytoons_F_1B(OpFuncParams ¶ms);
|
|
|
|
void oPlaytoons_putPixel(OpFuncParams ¶ms);
|
|
|
|
void oPlaytoons_freeSprite(OpFuncParams ¶ms);
|
|
|
|
void oPlaytoons_checkData(OpFuncParams ¶ms);
|
|
|
|
void oPlaytoons_readData(OpFuncParams ¶ms);
|
2009-09-04 20:50:16 +00:00
|
|
|
|
2011-02-04 15:55:20 +00:00
|
|
|
void oPlaytoons_loadMultObject();
|
2009-09-04 20:50:16 +00:00
|
|
|
void oPlaytoons_getObjAnimSize();
|
2009-08-13 10:08:07 +00:00
|
|
|
void oPlaytoons_CD_20_23();
|
|
|
|
void oPlaytoons_CD_25();
|
2009-08-30 23:39:25 +00:00
|
|
|
void oPlaytoons_copyFile();
|
2009-08-17 09:57:09 +00:00
|
|
|
void oPlaytoons_openItk();
|
2011-01-29 22:49:15 +00:00
|
|
|
|
|
|
|
Common::String getFile(const char *path);
|
2011-01-30 00:03:12 +00:00
|
|
|
|
|
|
|
private:
|
2011-01-30 13:14:54 +00:00
|
|
|
bool readSprite(Common::String file, int32 dataVar, int32 size, int32 offset);
|
2009-08-13 09:59:44 +00:00
|
|
|
};
|
|
|
|
|
2011-01-25 00:50:26 +00:00
|
|
|
class Inter_v7 : public Inter_Playtoons {
|
|
|
|
public:
|
|
|
|
Inter_v7(GobEngine *vm);
|
2012-05-29 12:16:31 +00:00
|
|
|
virtual ~Inter_v7();
|
2011-01-25 00:50:26 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void setupOpcodesDraw();
|
|
|
|
virtual void setupOpcodesFunc();
|
|
|
|
virtual void setupOpcodesGob();
|
|
|
|
|
2011-01-25 01:28:31 +00:00
|
|
|
void o7_draw0x0C();
|
2011-01-25 11:01:51 +00:00
|
|
|
void o7_loadCursor();
|
2011-01-25 02:50:56 +00:00
|
|
|
void o7_displayWarning();
|
2011-01-31 20:42:16 +00:00
|
|
|
void o7_logString();
|
2011-01-25 12:13:42 +00:00
|
|
|
void o7_intToString();
|
2011-01-29 22:49:40 +00:00
|
|
|
void o7_callFunction();
|
|
|
|
void o7_loadFunctions();
|
2011-01-30 00:04:04 +00:00
|
|
|
void o7_playVmdOrMusic();
|
2011-01-25 00:50:26 +00:00
|
|
|
void o7_draw0x89();
|
2011-01-25 13:00:58 +00:00
|
|
|
void o7_findFile();
|
2011-02-02 19:53:22 +00:00
|
|
|
void o7_findCDFile();
|
2011-01-25 02:50:26 +00:00
|
|
|
void o7_getSystemProperty();
|
2011-01-31 21:01:50 +00:00
|
|
|
void o7_loadImage();
|
2011-01-26 19:01:42 +00:00
|
|
|
void o7_setVolume();
|
2011-01-25 15:13:37 +00:00
|
|
|
void o7_zeroVar();
|
2011-01-25 03:44:07 +00:00
|
|
|
void o7_getINIValue();
|
2011-01-25 14:20:19 +00:00
|
|
|
void o7_setINIValue();
|
2012-12-30 18:30:11 +00:00
|
|
|
void o7_loadIFFPalette();
|
2011-01-25 02:51:26 +00:00
|
|
|
void o7_opendBase();
|
2011-01-31 10:49:03 +00:00
|
|
|
void o7_closedBase();
|
|
|
|
void o7_getDBString();
|
2011-01-25 02:50:26 +00:00
|
|
|
|
2011-01-25 03:44:34 +00:00
|
|
|
void o7_oemToANSI(OpGobParams ¶ms);
|
2011-02-02 19:52:47 +00:00
|
|
|
void o7_gob0x201(OpGobParams ¶ms);
|
2011-01-25 03:44:34 +00:00
|
|
|
|
2011-01-25 02:50:26 +00:00
|
|
|
private:
|
2011-01-25 14:20:19 +00:00
|
|
|
INIConfig _inis;
|
2011-01-31 10:49:43 +00:00
|
|
|
Databases _databases;
|
2011-01-25 14:20:19 +00:00
|
|
|
|
2012-05-29 12:16:31 +00:00
|
|
|
Common::PEResources *_cursors;
|
|
|
|
|
2011-02-02 19:53:22 +00:00
|
|
|
Common::String findFile(const Common::String &mask);
|
2012-05-29 12:16:31 +00:00
|
|
|
|
|
|
|
bool loadCursorFile();
|
2012-05-29 15:12:06 +00:00
|
|
|
void resizeCursors(int16 width, int16 height, int16 count, bool transparency);
|
2011-01-25 00:50:26 +00:00
|
|
|
};
|
|
|
|
|
2007-03-20 14:51:57 +00:00
|
|
|
} // End of namespace Gob
|
2005-04-05 15:07:40 +00:00
|
|
|
|
2007-04-05 13:37:20 +00:00
|
|
|
#endif // GOB_INTER_H
|