[Scummvm-cvs-logs] SF.net SVN: scummvm: [20649] scummvm/trunk/backends/PalmOS/Src/globals.h

chrilith at users.sourceforge.net chrilith at users.sourceforge.net
Sun Feb 12 11:33:02 CET 2006


Revision: 20649
Author:   chrilith
Date:     2006-02-12 11:31:40 -0800 (Sun, 12 Feb 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=20649&view=rev

Log Message:
-----------
- Removed obsolete ARM stuff, modules are now almost-fully ARM
- Added autosave period and OS5 ARM advanced mode
- indicator can also be use with 16bit display

Modified Paths:
--------------
    scummvm/trunk/backends/PalmOS/Src/globals.h
Modified: scummvm/trunk/backends/PalmOS/Src/globals.h
===================================================================
--- scummvm/trunk/backends/PalmOS/Src/globals.h	2006-02-12 19:27:48 UTC (rev 20648)
+++ scummvm/trunk/backends/PalmOS/Src/globals.h	2006-02-12 19:31:40 UTC (rev 20649)
@@ -1,6 +1,7 @@
 /* ScummVM - Scumm Interpreter
  * Copyright (C) 2001  Ludvig Strigeus
  * Copyright (C) 2001-2006 The ScummVM project
+ * Copyright (C) 2002-2006 Chris Apers - PalmOS Backend
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -30,7 +31,6 @@
 #ifdef PALMOS_68K
 
 #include "scumm_globals.h"
-#include "arm/pnodefs.h"
 
 enum {
 	kMemScummOldCostGames = 0,
@@ -41,12 +41,6 @@
 	kMemGamesCount
 };
 
-typedef struct {
-	char headerBuffer[sizeof(PnoEntryHeader) + 2];
-	PnoEntryHeader *alignedHeader;
-	PnoDescriptor pnoDesc;
-} PNOInitType;
-
 #endif
 
 enum {
@@ -86,21 +80,22 @@
 	UInt16 slkRefNum;
 	Coord screenWidth, screenHeight;			// silkarea shown
 	Coord screenFullWidth, screenFullHeight;	// silkarea hidden
+	Int16 autoSave;
+	struct {
+		Int16 on;
+		Int16 off;
+		Int16 showLED;
+	} indicator;
 
 	// 1 byte part
 	Boolean vibrator;
-	Boolean screenLocked;
 	Boolean stdPalette;
 	Boolean filter;
 	Boolean stylusClick;
 	UInt8 init;
 	UInt8 palmVolume;
 	UInt8 fmQuality;
-	struct {
-		UInt8 showLED;
-		UInt8 on;
-		UInt8 off;
-	} indicator;
+	UInt8 advancedMode;
 
 #ifdef PALMOS_68K
 	// 68k only part
@@ -114,7 +109,6 @@
 
 	DmOpenRef globals[GBVARS_COUNT];
 	UInt32 memory[kMemGamesCount];
-	PNOInitType arm[ARM_COUNT];
 #endif
 
 } GlobalsDataType, *GlobalsDataPtr;
@@ -122,7 +116,7 @@
 extern GlobalsDataPtr gVars;
 
 #define VARS_EXPORT()		gVars->_4B = 6; \
-							gVars->_2B = 8;
+							gVars->_2B = 12;
 
 #define DO_VARS(z, t, o) \
 	{	Int8 *tmp = (Int8 *)gVars + o + 8; \







More information about the Scummvm-git-logs mailing list