[Scummvm-cvs-logs] CVS: scummvm/queen graphics.h,1.38,1.39
Gregory Montoir
cyx at users.sourceforge.net
Wed Nov 26 12:42:09 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen walk.h,1.13,1.14 walk.cpp,1.24,1.25 logic.cpp,1.104,1.105 command.cpp,1.23,1.24 cutaway.cpp,1.71,1.72 journal.cpp,1.1,1.2 xref.txt,1.39,1.40
- Next message: [Scummvm-cvs-logs] CVS: web credits.php,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv26959
Modified Files:
graphics.h
Log Message:
use enum instead of define (purely cosmetic)
Index: graphics.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/graphics.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- graphics.h 17 Nov 2003 09:19:36 -0000 1.38
+++ graphics.h 26 Nov 2003 20:41:54 -0000 1.39
@@ -30,13 +30,6 @@
namespace Queen {
-#define MAX_BANK_SIZE 110
-#define MAX_FRAMES_NUMBER 256
-#define MAX_BANKS_NUMBER 18
-#define MAX_BOBS_NUMBER 64
-
-
-
struct BobFrame {
uint16 width, height;
uint16 xhotspot, yhotspot;
@@ -193,14 +186,18 @@
void update(uint16 room);
-
-private:
-
enum {
- MAX_STRING_LENGTH = 255,
- MAX_STRING_SIZE = (MAX_STRING_LENGTH + 1),
+ MAX_BANK_SIZE = 110,
+ MAX_FRAMES_NUMBER = 256,
+ MAX_BANKS_NUMBER = 18,
+ MAX_BOBS_NUMBER = 64,
+ MAX_STRING_LENGTH = 255,
+ MAX_STRING_SIZE = (MAX_STRING_LENGTH + 1),
BOB_SHRINK_BUF_SIZE = 60000
};
+
+
+private:
struct PackedBank {
uint32 indexes[MAX_BANK_SIZE];
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen walk.h,1.13,1.14 walk.cpp,1.24,1.25 logic.cpp,1.104,1.105 command.cpp,1.23,1.24 cutaway.cpp,1.71,1.72 journal.cpp,1.1,1.2 xref.txt,1.39,1.40
- Next message: [Scummvm-cvs-logs] CVS: web credits.php,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list