[Scummvm-cvs-logs] CVS: scummvm/bs2/driver driver96.h,1.47,1.48 misc.cpp,1.11,1.12 render.cpp,1.30,1.31 sprite.cpp,1.22,1.23
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Mon Sep 29 06:48:14 CEST 2003
Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv8357/driver
Modified Files:
driver96.h misc.cpp render.cpp sprite.cpp
Log Message:
cleanup
Index: driver96.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/driver96.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- driver96.h 28 Sep 2003 14:13:57 -0000 1.47
+++ driver96.h 29 Sep 2003 13:46:48 -0000 1.48
@@ -220,6 +220,10 @@
// 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 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
Index: misc.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/misc.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- misc.cpp 17 Sep 2003 20:34:20 -0000 1.11
+++ misc.cpp 29 Sep 2003 13:46:48 -0000 1.12
@@ -38,13 +38,3 @@
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");
-}
-
Index: render.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/render.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- render.cpp 28 Sep 2003 16:27:51 -0000 1.30
+++ render.cpp 29 Sep 2003 13:46:48 -0000 1.31
@@ -122,9 +122,6 @@
SetNeedRedraw();
}
-#define SCALE_MAXWIDTH 512
-#define SCALE_MAXHEIGHT 512
-
static uint16 xScale[SCALE_MAXWIDTH];
static uint16 yScale[SCALE_MAXHEIGHT];
Index: sprite.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/sprite.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- sprite.cpp 29 Sep 2003 13:38:17 -0000 1.22
+++ sprite.cpp 29 Sep 2003 13:46:49 -0000 1.23
@@ -370,9 +370,6 @@
#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:
More information about the Scummvm-git-logs
mailing list