aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-13 23:42:41 -0400
committerPaul Gilbert2017-07-13 23:42:41 -0400
commitd8e5994d32f6fa927cd2f5421b6f065375eb8481 (patch)
tree8947f41b8ac31bd5b011140c0a13b67cb5b3ba56 /engines/sludge
parentb1b18c54f3fca42fb47295886b76d0fa948ad519 (diff)
downloadscummvm-rg350-d8e5994d32f6fa927cd2f5421b6f065375eb8481.tar.gz
scummvm-rg350-d8e5994d32f6fa927cd2f5421b6f065375eb8481.tar.bz2
scummvm-rg350-d8e5994d32f6fa927cd2f5421b6f065375eb8481.zip
SLUDGE: Fix Visual Studio compilation
Diffstat (limited to 'engines/sludge')
-rw-r--r--engines/sludge/loadsave.cpp5
-rw-r--r--engines/sludge/sprbanks.cpp3
-rw-r--r--engines/sludge/zbuffer.cpp2
3 files changed, 6 insertions, 4 deletions
diff --git a/engines/sludge/loadsave.cpp b/engines/sludge/loadsave.cpp
index 72b1a9aad8..3ab1b13d85 100644
--- a/engines/sludge/loadsave.cpp
+++ b/engines/sludge/loadsave.cpp
@@ -54,7 +54,7 @@ namespace Sludge {
//----------------------------------------------------------------------
extern loadedFunction *allRunningFunctions; // In sludger.cpp
-extern char *typeName[]; // In variable.cpp
+extern const char *typeName[]; // In variable.cpp
extern int numGlobals; // In sludger.cpp
extern variable *globalVars; // In sludger.cpp
extern flor *currentFloor; // In floor.cpp
@@ -62,7 +62,8 @@ extern zBufferData zBuffer; // In zbuffer.cpp
extern speechStruct *speech; // In talk.cpp
extern personaAnimation *mouseCursorAnim; // In cursor.cpp
extern int mouseCursorFrameNum; // " " "
-extern int loadedFontNum, fontHeight, fontTableSize; // In fonttext.cpp
+extern int loadedFontNum, fontHeight; // In fonttext.cpp
+extern uint fontTableSize; //
extern int numFontColours; // " " "
extern UTF8Converter fontOrder; // " " "
extern FILETIME fileTime; // In sludger.cpp
diff --git a/engines/sludge/sprbanks.cpp b/engines/sludge/sprbanks.cpp
index 594ea5661a..7c8ee13f60 100644
--- a/engines/sludge/sprbanks.cpp
+++ b/engines/sludge/sprbanks.cpp
@@ -32,7 +32,8 @@ namespace Sludge {
loadedSpriteBank *allLoadedBanks = NULL;
extern spriteBank theFont;
-extern int loadedFontNum, fontTableSize;
+extern int loadedFontNum;
+extern uint fontTableSize;
loadedSpriteBank *loadBankForAnim(int ID) {
loadedSpriteBank *returnMe = allLoadedBanks;
diff --git a/engines/sludge/zbuffer.cpp b/engines/sludge/zbuffer.cpp
index 97c44e8a99..6ee8f7a31c 100644
--- a/engines/sludge/zbuffer.cpp
+++ b/engines/sludge/zbuffer.cpp
@@ -37,7 +37,7 @@ namespace Sludge {
int zBufferToSet = -1;
zBufferData zBuffer;
-extern int sceneWidth, sceneHeight;
+extern uint sceneWidth, sceneHeight;
extern Graphics::Surface backdropSurface;
extern Graphics::Surface renderSurface;