aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-29 13:46:49 +0000
committerTorbjörn Andersson2003-09-29 13:46:49 +0000
commit3cdf7abe68e0413189a76da9eba1ad51d6d96eeb (patch)
tree1be7feca9230c79008f3f53e8ea85e2442ef966c /sword2
parent8284aa204743c5cedd8a92ca4e25b033ba40b1b3 (diff)
downloadscummvm-rg350-3cdf7abe68e0413189a76da9eba1ad51d6d96eeb.tar.gz
scummvm-rg350-3cdf7abe68e0413189a76da9eba1ad51d6d96eeb.tar.bz2
scummvm-rg350-3cdf7abe68e0413189a76da9eba1ad51d6d96eeb.zip
cleanup
svn-id: r10484
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/driver96.h6
-rw-r--r--sword2/driver/misc.cpp10
-rw-r--r--sword2/driver/render.cpp3
-rw-r--r--sword2/driver/sprite.cpp3
4 files changed, 4 insertions, 18 deletions
diff --git a/sword2/driver/driver96.h b/sword2/driver/driver96.h
index 17c5df0742..e226291dcf 100644
--- a/sword2/driver/driver96.h
+++ b/sword2/driver/driver96.h
@@ -220,6 +220,10 @@ extern "C" {
// Key buffer size
#define MAX_KEY_BUFFER 32
+// Maximum scaled size of a sprite
+#define SCALE_MAXWIDTH 512
+#define SCALE_MAXHEIGHT 512
+
//
// Structure definitions
// ---------------------
@@ -412,8 +416,6 @@ extern uint32 SVM_timeGetTime(void);
extern void SVM_SetFileAttributes(char *file, uint32 atrib);
extern void SVM_DeleteFile(char *file);
extern int32 SVM_GetVolumeInformation(char *cdPath, char *sCDName, uint32 maxPath, uint8 *, uint32 *dwMaxCompLength, uint32 *dwFSFlags, uint8 *, uint32 a);
-extern void scumm_mkdir(const char *pathname);
-extern void SVM_GetModuleFileName(void *module, char *destStr, uint32 maxLen);
//-----------------------------------------------------------------------------
extern int16 screenWide; // Width of the screen display
diff --git a/sword2/driver/misc.cpp b/sword2/driver/misc.cpp
index cc427248e5..634a3c1199 100644
--- a/sword2/driver/misc.cpp
+++ b/sword2/driver/misc.cpp
@@ -38,13 +38,3 @@ int32 SVM_GetVolumeInformation(char *cdPath, char *sCDName, uint32 maxPath, uint
strcpy(sCDName, CD1_LABEL);
return 1;
}
-
-// FIXME wrap different platform specific mkdir calls and actually do something
-void scumm_mkdir(const char *pathname) {
- warning("stub scumm_mkdir %s", pathname);
-}
-
-void SVM_GetModuleFileName(void *module, char *destStr, uint32 maxLen) {
- warning("stub GetModuleFileName");
-}
-
diff --git a/sword2/driver/render.cpp b/sword2/driver/render.cpp
index fbb964a34d..787dc2914a 100644
--- a/sword2/driver/render.cpp
+++ b/sword2/driver/render.cpp
@@ -122,9 +122,6 @@ void BlitBlockSurface(BlockSurface *s, ScummVM::Rect *r, ScummVM::Rect *clip_rec
SetNeedRedraw();
}
-#define SCALE_MAXWIDTH 512
-#define SCALE_MAXHEIGHT 512
-
static uint16 xScale[SCALE_MAXWIDTH];
static uint16 yScale[SCALE_MAXHEIGHT];
diff --git a/sword2/driver/sprite.cpp b/sword2/driver/sprite.cpp
index 0227a2c6ac..4dd76b5dca 100644
--- a/sword2/driver/sprite.cpp
+++ b/sword2/driver/sprite.cpp
@@ -370,9 +370,6 @@ void DeleteSurface(uint8 *surface) {
#define SCALE_MAXWIDTH 512
#define SCALE_MAXHEIGHT 512
-static uint16 xScale[SCALE_MAXWIDTH];
-static uint16 yScale[SCALE_MAXHEIGHT];
-
/**
* Draws a sprite onto the screen. The type of the sprite can be a combination
* of the following flags, some of which are mutually exclusive: