mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
CGE2: Further implement caveUp(), add stubbed loadMap().
This commit is contained in:
parent
cb72489106
commit
f121349503
@ -62,6 +62,7 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription)
|
||||
_startupMode = 1;
|
||||
_now = 1;
|
||||
_sex = true;
|
||||
_mouseTop = kWorldHeight / 3;
|
||||
}
|
||||
|
||||
void CGE2Engine::init() {
|
||||
|
@ -51,6 +51,7 @@ class CommandHandler;
|
||||
|
||||
#define kScrWidth 320
|
||||
#define kScrHeight 240
|
||||
#define kScrDepth 480
|
||||
#define kPanHeight 40
|
||||
#define kWorldHeight (kScrHeight - kPanHeight)
|
||||
#define kMaxFile 128
|
||||
@ -87,6 +88,7 @@ public:
|
||||
void showBak(int ref);
|
||||
void loadTab();
|
||||
int newRandom(int range);
|
||||
void loadMap(int cav);
|
||||
|
||||
void setEye(V3D &e);
|
||||
void setEye(const V2D& e2, int z = -kScrWidth);
|
||||
@ -109,6 +111,7 @@ public:
|
||||
int _startupMode;
|
||||
int _now;
|
||||
bool _sex;
|
||||
int _mouseTop;
|
||||
|
||||
ResourceManager *_resman;
|
||||
Vga *_vga;
|
||||
|
@ -335,6 +335,11 @@ void CGE2Engine::caveUp(int cav) {
|
||||
if (_music)
|
||||
_midiPlayer->loadMidi(bakRef);
|
||||
showBak(bakRef);
|
||||
_eye = _eyeTab[_now];
|
||||
_mouseTop = V2D(this, V3D(0, 1, kScrDepth)).y;
|
||||
loadTab();
|
||||
|
||||
_vga->update();
|
||||
|
||||
warning("STUB: CGE2Engine::caveUp()");
|
||||
}
|
||||
@ -351,6 +356,10 @@ void CGE2Engine::showBak(int ref) {
|
||||
}
|
||||
}
|
||||
|
||||
void CGE2Engine::loadMap(int cav) {
|
||||
warning("STUB: CGE2Engine::loadMap()");
|
||||
}
|
||||
|
||||
void CGE2Engine::runGame() {
|
||||
warning("STUB: CGE2Engine::runGame()");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user