mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
CGE2: Implement a couple of stubs
This commit is contained in:
parent
840eef8eb1
commit
3dd6c9f7aa
@ -807,7 +807,10 @@ void CGE2Engine::releasePocket(Sprite *spr) {
|
||||
}
|
||||
|
||||
void CGE2Engine::checkSaySwitch() {
|
||||
warning("STUB: CGE2Engine::checkSaySwitch()");
|
||||
// if (SNDDrvInfo.DDEV == DEV_QUIET)
|
||||
// _sayVox = !(_sayCap = true);
|
||||
_commandHandlerTurbo->addCommand(kCmdSeq, 129, _sayVox, nullptr);
|
||||
_commandHandlerTurbo->addCommand(kCmdSeq, 128, _sayCap, nullptr);
|
||||
}
|
||||
|
||||
void CGE2Engine::loadTab() {
|
||||
|
@ -592,15 +592,18 @@ void CGE2Engine::snNNext(Sprite *spr, Action act, int val) {
|
||||
}
|
||||
|
||||
void CGE2Engine::snRNNext(Sprite *spr, int val) {
|
||||
warning("STUB: CGE2Engine::snRNNext()");
|
||||
if (spr)
|
||||
spr->_actionCtrl[kNear]._ptr += val;
|
||||
}
|
||||
|
||||
void CGE2Engine::snRMTNext(Sprite *spr, int val) {
|
||||
warning("STUB: CGE2Engine::snRMTNext()");
|
||||
if (spr)
|
||||
spr->_actionCtrl[kMTake]._ptr += val;
|
||||
}
|
||||
|
||||
void CGE2Engine::snRFTNext(Sprite *spr, int val) {
|
||||
warning("STUB: CGE2Engine::snRFTNext()");
|
||||
void CGE2Engine::snRFTNext(Sprite * spr, int val) {
|
||||
if (spr)
|
||||
spr->_actionCtrl[kFTake]._ptr += val;
|
||||
}
|
||||
|
||||
void CGE2Engine::snRmNear(Sprite *spr) {
|
||||
@ -614,7 +617,8 @@ void CGE2Engine::snRmMTake(Sprite *spr) {
|
||||
}
|
||||
|
||||
void CGE2Engine::snRmFTake(Sprite *spr) {
|
||||
warning("STUB: CGE2Engine::snRmFTake()");
|
||||
if (spr)
|
||||
spr->_actionCtrl[kFTake]._cnt = 0;
|
||||
}
|
||||
|
||||
void CGE2Engine::snFlag(int ref, int val) {
|
||||
|
Loading…
Reference in New Issue
Block a user