aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/labfun.h
diff options
context:
space:
mode:
authorStrangerke2015-11-28 02:17:05 +0100
committerWillem Jan Palenstijn2015-12-23 21:33:43 +0100
commitc485d9e8a616d475f9155de084012062fe9e5dc8 (patch)
tree950e3b117c445ead379f323f99e9ade12335b671 /engines/lab/labfun.h
parentff2def7da187c5160443fc6166728f1fc59ff66e (diff)
downloadscummvm-rg350-c485d9e8a616d475f9155de084012062fe9e5dc8.tar.gz
scummvm-rg350-c485d9e8a616d475f9155de084012062fe9e5dc8.tar.bz2
scummvm-rg350-c485d9e8a616d475f9155de084012062fe9e5dc8.zip
LAB: Some rework related to the mouse code
Diffstat (limited to 'engines/lab/labfun.h')
-rw-r--r--engines/lab/labfun.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/lab/labfun.h b/engines/lab/labfun.h
index 1d2b5c640d..f602d6007a 100644
--- a/engines/lab/labfun.h
+++ b/engines/lab/labfun.h
@@ -31,6 +31,7 @@
#ifndef LAB_LABFUN_H
#define LAB_LABFUN_H
+#include "common/events.h"
#include "lab/stddefines.h"
#include "lab/parsetypes.h"
@@ -228,8 +229,8 @@ uint16 scaleY(uint16 y);
int16 VGAScaleX(int16 x);
int16 VGAScaleY(int16 y);
uint16 SVGACord(uint16 cord);
-uint16 VGAUnScaleX(uint16 x);
-uint16 VGAUnScaleY(uint16 y);
+int VGAUnScaleX(int x);
+int VGAUnScaleY(int y);
char *translateFileName(const char *filename);
/*---------------------------*/
@@ -260,9 +261,9 @@ bool readSaveGameHeader(Common::InSaveFile *in, SaveGameHeader &header);
/*--------------------------*/
void showCombination(const char *filename);
-void mouseCombination(uint16 x, uint16 y);
+void mouseCombination(Common::Point pos);
void showTile(const char *filename, bool showsolution);
-void mouseTile(uint16 x, uint16 y);
+void mouseTile(Common::Point pos);
} // End of namespace Lab