aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo
diff options
context:
space:
mode:
authorStrangerke2017-02-02 00:21:51 +0100
committerStrangerke2017-02-02 00:21:51 +0100
commitdfa605b6b414c931bc23d26bdb117874e7b75662 (patch)
tree09d0c67bff40803f15c056c948d7bc1792a9d586 /engines/cryo
parentfad3f324a81e4baf752cd388cda24e2608838945 (diff)
downloadscummvm-rg350-dfa605b6b414c931bc23d26bdb117874e7b75662.tar.gz
scummvm-rg350-dfa605b6b414c931bc23d26bdb117874e7b75662.tar.bz2
scummvm-rg350-dfa605b6b414c931bc23d26bdb117874e7b75662.zip
CRYO: Remove dead code
Diffstat (limited to 'engines/cryo')
-rw-r--r--engines/cryo/cryo.h1
-rw-r--r--engines/cryo/cryolib.cpp19
-rw-r--r--engines/cryo/cryolib.h2
3 files changed, 4 insertions, 18 deletions
diff --git a/engines/cryo/cryo.h b/engines/cryo/cryo.h
index 89bb4f0c04..515849ffea 100644
--- a/engines/cryo/cryo.h
+++ b/engines/cryo/cryo.h
@@ -79,7 +79,6 @@ public:
void pollEvents();
- bool isScanCodeDown(int16 scancode);
void hideMouse();
void showMouse();
void getMousePosition(int16 *x, int16 *y);
diff --git a/engines/cryo/cryolib.cpp b/engines/cryo/cryolib.cpp
index daf5da05fd..fd5f805d11 100644
--- a/engines/cryo/cryolib.cpp
+++ b/engines/cryo/cryolib.cpp
@@ -212,12 +212,10 @@ void CLBlitter_CopyView2ScreenCUSTOM(View *view) {
int16 srcpitch = view->_pitch;
int16 dstpitch = dest->_pitch;
- // this is not quite correct?
- // CLBlitter_CopyView2ViewSimpleSize(view->_bufferPtr + view->_normal.src_top * srcpitch + view->_normal._srcLeft, view->_normal._width, srcpitch, view->_normal._height,
- // dest->_bufferPtr + dest->_normal._dstTop * dstpitch + dest->_normal._dstLeft, dest->_normal._width, dstpitch, dest->_normal._height);
-
- CLBlitter_CopyView2ViewSimpleSize(view->_bufferPtr + view->_normal._srcTop * srcpitch + view->_normal._srcLeft, view->_normal._width, srcpitch, view->_normal._height,
- dest->_bufferPtr + (dest->_normal._dstTop + view->_normal._dstTop) * dstpitch + dest->_normal._dstLeft + view->_normal._dstLeft, dest->_normal._width, dstpitch, dest->_normal._height);
+ CLBlitter_CopyView2ViewSimpleSize(view->_bufferPtr + view->_normal._srcTop * srcpitch + view->_normal._srcLeft,
+ view->_normal._width, srcpitch, view->_normal._height,
+ dest->_bufferPtr + (dest->_normal._dstTop + view->_normal._dstTop) * dstpitch + dest->_normal._dstLeft + view->_normal._dstLeft,
+ dest->_normal._width, dstpitch, dest->_normal._height);
} else
assert(0);
@@ -300,10 +298,6 @@ void CryoEngine::pollEvents() {
}
}
-bool CryoEngine::isScanCodeDown(int16 scancode) {
- return false;
-}
-
void CryoEngine::hideMouse() {
}
@@ -324,11 +318,6 @@ bool CryoEngine::isMouseButtonDown() {
return _mouseButton != 0;
}
-///// CLFile
-void CLFile_Write(Common::File &handle, void *buffer, int32 *size) {
- assert(0);
-}
-
///// CLSound
// base sound
diff --git a/engines/cryo/cryolib.h b/engines/cryo/cryolib.h
index 5c1afef84e..4c65733bfa 100644
--- a/engines/cryo/cryolib.h
+++ b/engines/cryo/cryolib.h
@@ -169,8 +169,6 @@ void CLPalette_DeactivateInterval();
void CLPalette_Send2Screen(struct color_t *palette, uint16 first, uint16 count);
void CLPalette_BeSystem();
-void CLFile_Write(Common::File &handle, void *buffer, int32 *size);
-
void CRYOLib_ManagersInit();
void CRYOLib_ManagersDone();