diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge2/cge2.h | 1 | ||||
-rw-r--r-- | engines/cge2/snail.cpp | 15 | ||||
-rw-r--r-- | engines/cge2/snail.h | 2 |
3 files changed, 0 insertions, 18 deletions
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h index 0c5492f6ca..8d3f052b63 100644 --- a/engines/cge2/cge2.h +++ b/engines/cge2/cge2.h @@ -243,7 +243,6 @@ public: void snReach(Sprite *spr, int val); void snSound(Sprite *spr, int wav, Audio::Mixer::SoundType soundType = Audio::Mixer::kSFXSoundType); void snRoom(Sprite *spr, bool on); - void snDim(Sprite *spr, int val); void snGhost(Bitmap *bmp); void snSay(Sprite *spr, int val); diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index e2f04cce74..510dc2d514 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -249,9 +249,6 @@ void CommandHandler::runCommand() { case kCmdRoom: _vm->snRoom(spr, tailCmd._val); break; - case kCmdDim: - _vm->snDim(spr, tailCmd._val); - break; case kCmdExec: switch (tailCmd._cbType) { case kQGame: @@ -268,9 +265,6 @@ void CommandHandler::runCommand() { break; } break; - case kCmdStep: - spr->step(); - break; case kCmdGhost: _vm->snGhost((Bitmap *)tailCmd._spritePtr); break; @@ -626,15 +620,6 @@ void CGE2Engine::snRoom(Sprite *spr, bool on) { } } -void CGE2Engine::snDim(Sprite *spr, int val) { - if (isHero(spr)) { - if (val > 0) - ++*(Hero*)spr; - else if (val < 0) - --*(Hero*)spr; - } -} - void CGE2Engine::snGhost(Bitmap *bmp) { V2D p(this, bmp->_map & 0xFFFF, bmp->_map >> 16); bmp->hide(p); diff --git a/engines/cge2/snail.h b/engines/cge2/snail.h index afe359b968..66e35dc06e 100644 --- a/engines/cge2/snail.h +++ b/engines/cge2/snail.h @@ -88,9 +88,7 @@ enum CommandType { kCmdCover, // COVER <sp1> <sp2> :: cover sprite <sp1> with sprite <sp2> kCmdUncover, // UNCOVER <sp1> <sp2> :: restore the state before COVER - kCmdDim, kCmdExec, - kCmdStep, kCmdGhost, kCmdNOne = kNoByte |