[Scummvm-cvs-logs] CVS: scummvm/common scummsys.h,1.20,1.21
Max Horn
fingolfin at users.sourceforge.net
Wed Apr 30 06:41:18 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.42,1.43 gfx.cpp,2.63,2.64 imuse.cpp,2.19,2.20 imuse_digi.cpp,1.11,1.12 resource.cpp,1.64,1.65 saveload.cpp,1.59,1.60 script.cpp,1.68,1.69 script_v6.cpp,1.100,1.101 scumm.h,1.173,1.174 scummvm.cpp,2.115,2.116 sound.cpp,1.105,1.106
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui ListWidget.cpp,1.22,1.23 browser.cpp,1.9,1.10 console.cpp,1.23,1.24 launcher.cpp,1.36,1.37 newgui.cpp,1.43,1.44 newgui.h,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv23087
Modified Files:
scummsys.h
Log Message:
typedef NewGuiColor on all platforms; indention
Index: scummsys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scummsys.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- scummsys.h 30 Apr 2003 12:43:55 -0000 1.20
+++ scummsys.h 30 Apr 2003 13:40:20 -0000 1.21
@@ -152,39 +152,38 @@
#endif
#elif defined(__PALMOS_TRAPS__) // PALMOS
- #include <PalmOS.h>
- #include <stdio.h>
- #include "extend.h"
+ #include <PalmOS.h>
+ #include <stdio.h>
+ #include "extend.h"
+
+ #define __PALM_OS__
+ #define scumm_stricmp stricmp// FIXME - this is definitly wrong. Try strcasecmp?
+
+ #define CHECK_HEAP
+ #define SCUMM_BIG_ENDIAN
+ #define SCUMM_NEED_ALIGNMENT
+ #define NONSTANDARD_SAVE
+
+ #define FORCEINLINE inline
+ #define CDECL
+
+ typedef unsigned char byte;
+ typedef unsigned char uint8;
+ typedef unsigned short uint16;
+ typedef unsigned long uint32;
+ typedef unsigned int uint;
+ typedef signed char int8;
+ typedef signed short int16;
+ typedef signed long int32;
+ typedef Boolean bool;
+
+ #define START_PACK_STRUCTS pack (1)
+ #define END_PACK_STRUCTS pack ()
+ #define GCC_PACK
+ #define NORETURN
+ #define NEED_STRDUP
- #define __PALM_OS__
- #define scumm_stricmp stricmp// FIXME - this is definitly wrong. Try strcasecmp?
-
- #define CHECK_HEAP
- #define SCUMM_BIG_ENDIAN
- #define SCUMM_NEED_ALIGNMENT
- #define NONSTANDARD_SAVE
-
- #define FORCEINLINE inline
- #define CDECL
-
- typedef unsigned char byte;
- typedef unsigned char uint8;
- typedef unsigned short uint16;
- typedef unsigned long uint32;
- typedef unsigned int uint;
- typedef signed char int8;
- typedef signed short int16;
- typedef signed long int32;
- typedef Boolean bool;
-
- #define START_PACK_STRUCTS pack (1)
- #define END_PACK_STRUCTS pack ()
- #define GCC_PACK
- #define NORETURN
- #define NEED_STRDUP
-
- #define NEWGUI_256
- typedef byte NewGuiColor; // NEWGUI to 256 colors
+ #define NEWGUI_256
#elif defined(macintosh)
#include <stdio.h>
@@ -414,6 +413,15 @@
#error No endianness defined
+#endif
+
+
+#if defined(NEWGUI_256)
+ // 256 color only on PalmOS
+ typedef byte NewGuiColor;
+#else
+ // 15/16 bit color mode everywhere else...
+ typedef int16 NewGuiColor;
#endif
/* Initialized operator new */
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.42,1.43 gfx.cpp,2.63,2.64 imuse.cpp,2.19,2.20 imuse_digi.cpp,1.11,1.12 resource.cpp,1.64,1.65 saveload.cpp,1.59,1.60 script.cpp,1.68,1.69 script_v6.cpp,1.100,1.101 scumm.h,1.173,1.174 scummvm.cpp,2.115,2.116 sound.cpp,1.105,1.106
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui ListWidget.cpp,1.22,1.23 browser.cpp,1.9,1.10 console.cpp,1.23,1.24 launcher.cpp,1.36,1.37 newgui.cpp,1.43,1.44 newgui.h,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list