aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/special.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2015-12-26 15:14:37 +0100
committerWillem Jan Palenstijn2015-12-26 15:14:37 +0100
commit33ed5af212d5cfb878559d1736fab91a4762f46b (patch)
treef677697665df344cf4d21f3ef9f236254421e9aa /engines/lab/special.cpp
parenta8d7a9bb7c20a303ac827773dcc6165e363f3688 (diff)
downloadscummvm-rg350-33ed5af212d5cfb878559d1736fab91a4762f46b.tar.gz
scummvm-rg350-33ed5af212d5cfb878559d1736fab91a4762f46b.tar.bz2
scummvm-rg350-33ed5af212d5cfb878559d1736fab91a4762f46b.zip
LAB: Remove type ConstDataPtr, add consts
Diffstat (limited to 'engines/lab/special.cpp')
-rw-r--r--engines/lab/special.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp
index e15561d9fb..e99c4dffa3 100644
--- a/engines/lab/special.cpp
+++ b/engines/lab/special.cpp
@@ -339,7 +339,7 @@ void LabEngine::drawMonText(const char *text, TextFont *monitorFont, Common::Rec
void LabEngine::processMonitor(const char *ntext, TextFont *monitorFont, bool isInteractive, Common::Rect textRect) {
Common::String startFileName = _monitorTextFilename;
- CloseDataPtr startClosePtr = _closeDataPtr, lastClosePtr[10];
+ const CloseData *startClosePtr = _closeDataPtr, *lastClosePtr[10];
uint16 depth = 0;
lastClosePtr[0] = _closeDataPtr;
@@ -414,7 +414,7 @@ void LabEngine::processMonitor(const char *ntext, TextFont *monitorFont, bool is
drawMonText(ntext, monitorFont, textRect, isInteractive);
}
} else if (isInteractive) {
- CloseDataPtr tmpClosePtr = _closeDataPtr;
+ const CloseData *tmpClosePtr = _closeDataPtr;
mouseY = 64 + (mouseY / _monitorButtonHeight) * 42;
mouseX = 101;
setCurrentClose(Common::Point(mouseX, mouseY), &_closeDataPtr, false);