[Scummvm-cvs-logs] SF.net SVN: scummvm: [24012] scummvm/trunk

sev at users.sourceforge.net sev at users.sourceforge.net
Fri Sep 29 11:27:47 CEST 2006


Revision: 24012
          http://svn.sourceforge.net/scummvm/?rev=24012&view=rev
Author:   sev
Date:     2006-09-29 02:25:35 -0700 (Fri, 29 Sep 2006)

Log Message:
-----------
Phase 4. Some more internal updates.,

Modified Paths:
--------------
    scummvm/trunk/backends/platform/PalmOS/Src/builder/agos/bs_agos.c
    scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.c
    scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.h
    scummvm/trunk/backends/platform/PalmOS/Src/builder/enum_globals.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h
    scummvm/trunk/engines/agos/agos.cpp
    scummvm/trunk/engines/agos/charset.cpp
    scummvm/trunk/engines/agos/cursor.cpp

Modified: scummvm/trunk/backends/platform/PalmOS/Src/builder/agos/bs_agos.c
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/builder/agos/bs_agos.c	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/backends/platform/PalmOS/Src/builder/agos/bs_agos.c	2006-09-29 09:25:35 UTC (rev 24012)
@@ -32,7 +32,7 @@
  #endif
 } GameSpecificSettings;
 ///////////////////////////////////////////////////////////////////
-static void addSimon_simon1_settings() {
+static void addAGOS_simon1_settings() {
 
 
 	GameSpecificSettings simon1_settings = {
@@ -49,10 +49,10 @@
 	"GAMEPC",                               // gamepc_filename
 	};
 
-	writeRecord(&simon1_settings, sizeof(simon1_settings), GBVARS_SIMON1SETTINGS_INDEX, GBVARS_SIMON);
+	writeRecord(&simon1_settings, sizeof(simon1_settings), GBVARS_SIMON1SETTINGS_INDEX, GBVARS_AGOS);
 }
 ///////////////////////////////////////////////////////////////////
-static void addSimon_simon1acorn_settings() {
+static void addAGOS_simon1acorn_settings() {
 
 
 	GameSpecificSettings simon1acorn_settings = {
@@ -69,10 +69,10 @@
 	"GAMEBASE",                             // gamepc_filename
 };
 
-	writeRecord(&simon1acorn_settings, sizeof(simon1acorn_settings), GBVARS_SIMON1ACORNSETTINGS_INDEX, GBVARS_SIMON);
+	writeRecord(&simon1acorn_settings, sizeof(simon1acorn_settings), GBVARS_SIMON1ACORNSETTINGS_INDEX, GBVARS_AGOS);
 }
 ///////////////////////////////////////////////////////////////////
-static void addSimon_simon1amiga_settings() {
+static void addAGOS_simon1amiga_settings() {
 
 
 	GameSpecificSettings simon1amiga_settings = {
@@ -90,11 +90,11 @@
 };
 
 
-	writeRecord(&simon1amiga_settings, sizeof(simon1amiga_settings), GBVARS_SIMON1AMIGASETTINGS_INDEX, GBVARS_SIMON);
+	writeRecord(&simon1amiga_settings, sizeof(simon1amiga_settings), GBVARS_SIMON1AMIGASETTINGS_INDEX, GBVARS_AGOS);
 }
 ///////////////////////////////////////////////////////////////////
 
-static void addSimon_simon1demo_settings() {
+static void addAGOS_simon1demo_settings() {
 
 
 	GameSpecificSettings simon1demo_settings = {
@@ -111,10 +111,10 @@
 	"GDEMO",                                // gamepc_filename
 };
 
-	writeRecord(&simon1demo_settings, sizeof(simon1demo_settings), GBVARS_SIMON1DEMOSETTINGS_INDEX, GBVARS_SIMON);
+	writeRecord(&simon1demo_settings, sizeof(simon1demo_settings), GBVARS_SIMON1DEMOSETTINGS_INDEX, GBVARS_AGOS);
 }
 ///////////////////////////////////////////////////////////////////
-static void addSimon_simon2win_settings() {
+static void addAGOS_simon2win_settings() {
 
 
 	GameSpecificSettings simon2win_settings = {
@@ -132,10 +132,10 @@
 };
 
 
-	writeRecord(&simon2win_settings, sizeof(simon2win_settings), GBVARS_SIMON2WINSETTINGS_INDEX, GBVARS_SIMON);
+	writeRecord(&simon2win_settings, sizeof(simon2win_settings), GBVARS_SIMON2WINSETTINGS_INDEX, GBVARS_AGOS);
 }
 ///////////////////////////////////////////////////////////////////
-static void addSimon_simon2dos_settings() {
+static void addAGOS_simon2dos_settings() {
 
 
 	GameSpecificSettings simon2dos_settings = {
@@ -152,11 +152,11 @@
 	"GAME32",                               // gamepc_filename
 };
 
-	writeRecord(&simon2dos_settings, sizeof(simon2dos_settings), GBVARS_SIMON2DOSSETTINGS_INDEX, GBVARS_SIMON);
+	writeRecord(&simon2dos_settings, sizeof(simon2dos_settings), GBVARS_SIMON2DOSSETTINGS_INDEX, GBVARS_AGOS);
 }
 
 typedef unsigned char byte;
-static void addSimon_simon1_cursor() {
+static void addAGOS_simon1_cursor() {
 
 
 	byte _simon1_cursor[256] = {
@@ -178,10 +178,10 @@
 	0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
 };
 
-	writeRecord(&_simon1_cursor, sizeof(_simon1_cursor), GBVARS_SIMON1CURSOR_INDEX, GBVARS_SIMON);
+	writeRecord(&_simon1_cursor, sizeof(_simon1_cursor), GBVARS_SIMON1CURSOR_INDEX, GBVARS_AGOS);
 }
 /*
-static void addSimon_simon2_cursors() {
+static void addAGOS_simon2_cursors() {
 
 
 	byte _simon2_cursors[10][256] = {
@@ -357,21 +357,21 @@
 	  0xff,0xff,0xff,0xff,0xff,0xff,0xe5,0xe5,0xe5,0xff,0xff,0xff,0xff,0xff,0xff,0xff },
 };
 
-	writeRecord(&_simon2_cursors, sizeof(_simon2_cursors), GBVARS_SIMON2CURSORS_INDEX, GBVARS_SIMON);
+	writeRecord(&_simon2_cursors, sizeof(_simon2_cursors), GBVARS_SIMON2CURSORS_INDEX, GBVARS_AGOS);
 }*/
 ///////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////
 
-void addSimon() {
-	addSimon_simon1_settings();
-	addSimon_simon1acorn_settings();
-	addSimon_simon1amiga_settings();
-	addSimon_simon1demo_settings();
-	addSimon_simon2win_settings();
-	addSimon_simon2dos_settings();
+void addAGOS() {
+	addAGOS_simon1_settings();
+	addAGOS_simon1acorn_settings();
+	addAGOS_simon1amiga_settings();
+	addAGOS_simon1demo_settings();
+	addAGOS_simon2win_settings();
+	addAGOS_simon2dos_settings();
 	
-	addSimon_simon1_cursor();
-//	addSimon_simon2_cursors();
+	addAGOS_simon1_cursor();
+//	addAGOS_simon2_cursors();
 }

Modified: scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.c
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.c	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.c	2006-09-29 09:25:35 UTC (rev 24012)
@@ -3,7 +3,7 @@
 
 
 //#define BUILD_COMMON
-//#define BUILD_SIMON
+//#define BUILD_AGOS
 #define BUILD_SCUMM
 //#define BUILD_SKY
 //#define BUILD_QUEEN
@@ -63,9 +63,9 @@
 	addPlayerV2();
 	addScummTables();
 
-#elif defined(BUILD_SIMON)
-	addSimon();
-	Simon_addCharset();
+#elif defined(BUILD_AGOS)
+	addAGOS();
+	AGOS_addCharset();
 
 #elif defined(BUILD_SKY)
 	Sky_addHufftext();

Modified: scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.h	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/backends/platform/PalmOS/Src/builder/b_globals.h	2006-09-29 09:25:35 UTC (rev 24012)
@@ -23,8 +23,8 @@
 void addPlayerV2();
 void addScummTables();
 /////////////////////////////////
-void addSimon();
-void Simon_addCharset();
+void addAGOS();
+void AGOS_addCharset();
 /////////////////////////////////
 void Queen_addTalk();
 void Queen_addRestables();

Modified: scummvm/trunk/backends/platform/PalmOS/Src/builder/enum_globals.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/builder/enum_globals.h	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/backends/platform/PalmOS/Src/builder/enum_globals.h	2006-09-29 09:25:35 UTC (rev 24012)
@@ -41,7 +41,7 @@
 	GBVARS_MD5TABLE_INDEX
 //GBVARS_SMALLSCALETABLEAKOS_INDEX
 };
-// Simon
+// AGOS
 enum {
 	GBVARS_SIMON1SETTINGS_INDEX = 0,
 	GBVARS_SIMON1ACORNSETTINGS_INDEX,
@@ -99,7 +99,7 @@
 	GBVARS_COMMON = 0,
 	GBVARS_ENGINE = 1,
 	GBVARS_SCUMM = GBVARS_ENGINE,
-	GBVARS_SIMON = GBVARS_ENGINE,
+	GBVARS_AGOS = GBVARS_ENGINE,
 	GBVARS_SKY = GBVARS_ENGINE,
 	GBVARS_SWORD1 = GBVARS_ENGINE,
 //	GBVARS_SWORD2 = GBVARS_ENGINE,

Modified: scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp	2006-09-29 09:25:35 UTC (rev 24012)
@@ -172,8 +172,8 @@
 								gitCur.engine++;
 							
 							if (gitCur.engine == ENGINE_SCUMM)	// reorder
-								gitCur.engine = ENGINE_SIMON;
-							else if (gitCur.engine == ENGINE_SIMON)
+								gitCur.engine = ENGINE_AGOS;
+							else if (gitCur.engine == ENGINE_AGOS)
 								gitCur.engine = ENGINE_SCUMM;
 						}
 						

Modified: scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h	2006-09-29 09:25:35 UTC (rev 24012)
@@ -164,7 +164,7 @@
 	ENGINE_SAGA,
 	ENGINE_SCUMM,
 	ENGINE_AGI,
-	ENGINE_SIMON,
+	ENGINE_AGOS,
 	ENGINE_COUNT
 };
 
@@ -183,7 +183,7 @@
 	{ "saga",	"SAGA Engine" },
 	{ "scumm",	"Scumm Games" },
 	{ "agi",	"Sierra AGI" },
-	{ "simon",	"Simon the Sorcerer" },
+	{ "simon",	"AGOS" },
 };
 
 

Modified: scummvm/trunk/engines/agos/agos.cpp
===================================================================
--- scummvm/trunk/engines/agos/agos.cpp	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/engines/agos/agos.cpp	2006-09-29 09:25:35 UTC (rev 24012)
@@ -2278,15 +2278,15 @@
 #include "scumm_globals.h"
 
 _GINIT(AGOS_AGOS)
-_GSETPTR(Simon::simon1_settings, GBVARS_SIMON1SETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_SIMON)
-_GSETPTR(Simon::simon2_settings, GBVARS_SIMON2SETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_SIMON)
-_GSETPTR(Simon::feeblefiles_settings, GBVARS_FEEBLEFILESSETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_SIMON)
+_GSETPTR(Simon::simon1_settings, GBVARS_SIMON1SETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_AGOS)
+_GSETPTR(Simon::simon2_settings, GBVARS_SIMON2SETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_AGOS)
+_GSETPTR(Simon::feeblefiles_settings, GBVARS_FEEBLEFILESSETTINGS_INDEX, Simon::GameSpecificSettings, GBVARS_AGOS)
 _GEND
 
 _GRELEASE(AGOS_AGOS)
-_GRELEASEPTR(GBVARS_SIMON1SETTINGS_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_SIMON2SETTINGS_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_FEEBLEFILESSETTINGS_INDEX, GBVARS_SIMON)
+_GRELEASEPTR(GBVARS_SIMON1SETTINGS_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_SIMON2SETTINGS_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_FEEBLEFILESSETTINGS_INDEX, GBVARS_AGOS)
 _GEND
 
 #endif

Modified: scummvm/trunk/engines/agos/charset.cpp
===================================================================
--- scummvm/trunk/engines/agos/charset.cpp	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/engines/agos/charset.cpp	2006-09-29 09:25:35 UTC (rev 24012)
@@ -1605,25 +1605,25 @@
 #include "scumm_globals.h"
 
 _GINIT(AGOS_Charset)
-_GSETPTR(Simon::russian_video_font, GBVARS_RUSSIANVIDEOFONT_INDEX, byte, GBVARS_SIMON)
-//_GSETPTR(Simon::polish_video_font, GBVARS_POLISHVIDEOFONT_INDEX, byte, GBVARS_SIMON)
-_GSETPTR(Simon::french_video_font, GBVARS_FRENCHVIDEOFONT_INDEX, byte, GBVARS_SIMON)
-_GSETPTR(Simon::german_video_font, GBVARS_GERMANVIDEOFONT_INDEX, byte, GBVARS_SIMON)
-_GSETPTR(Simon::hebrew_video_font, GBVARS_HEBREWVIDEOFONT_INDEX, byte, GBVARS_SIMON)
-_GSETPTR(Simon::italian_video_font, GBVARS_ITALIANVIDEOFONT_INDEX, byte, GBVARS_SIMON)
-_GSETPTR(Simon::spanish_video_font, GBVARS_SPANISHVIDEOFONT_INDEX, byte, GBVARS_SIMON)
-_GSETPTR(Simon::video_font, GBVARS_VIDEOFONT_INDEX, byte, GBVARS_SIMON)
+_GSETPTR(Simon::russian_video_font, GBVARS_RUSSIANVIDEOFONT_INDEX, byte, GBVARS_AGOS)
+//_GSETPTR(Simon::polish_video_font, GBVARS_POLISHVIDEOFONT_INDEX, byte, GBVARS_AGOS)
+_GSETPTR(Simon::french_video_font, GBVARS_FRENCHVIDEOFONT_INDEX, byte, GBVARS_AGOS)
+_GSETPTR(Simon::german_video_font, GBVARS_GERMANVIDEOFONT_INDEX, byte, GBVARS_AGOS)
+_GSETPTR(Simon::hebrew_video_font, GBVARS_HEBREWVIDEOFONT_INDEX, byte, GBVARS_AGOS)
+_GSETPTR(Simon::italian_video_font, GBVARS_ITALIANVIDEOFONT_INDEX, byte, GBVARS_AGOS)
+_GSETPTR(Simon::spanish_video_font, GBVARS_SPANISHVIDEOFONT_INDEX, byte, GBVARS_AGOS)
+_GSETPTR(Simon::video_font, GBVARS_VIDEOFONT_INDEX, byte, GBVARS_AGOS)
 _GEND
 
 _GRELEASE(AGOS_Charset)
-_GRELEASEPTR(GBVARS_RUSSIANVIDEOFONT_INDEX, GBVARS_SIMON)
-//_GRELEASEPTR(GBVARS_POLISHVIDEOFONT_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_FRENCHVIDEOFONT_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_GERMANVIDEOFONT_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_HEBREWVIDEOFONT_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_ITALIANVIDEOFONT_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_SPANISHVIDEOFONT_INDEX, GBVARS_SIMON)
-_GRELEASEPTR(GBVARS_VIDEOFONT_INDEX, GBVARS_SIMON)
+_GRELEASEPTR(GBVARS_RUSSIANVIDEOFONT_INDEX, GBVARS_AGOS)
+//_GRELEASEPTR(GBVARS_POLISHVIDEOFONT_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_FRENCHVIDEOFONT_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_GERMANVIDEOFONT_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_HEBREWVIDEOFONT_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_ITALIANVIDEOFONT_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_SPANISHVIDEOFONT_INDEX, GBVARS_AGOS)
+_GRELEASEPTR(GBVARS_VIDEOFONT_INDEX, GBVARS_AGOS)
 _GEND
 
 #endif

Modified: scummvm/trunk/engines/agos/cursor.cpp
===================================================================
--- scummvm/trunk/engines/agos/cursor.cpp	2006-09-29 09:05:46 UTC (rev 24011)
+++ scummvm/trunk/engines/agos/cursor.cpp	2006-09-29 09:25:35 UTC (rev 24012)
@@ -485,11 +485,11 @@
 #include "scumm_globals.h"
 
 _GINIT(AGOS_Cursor)
-_GSETPTR(Simon::_simon1_cursor, GBVARS_SIMON1CURSOR_INDEX, byte, GBVARS_SIMON)
+_GSETPTR(Simon::_simon1_cursor, GBVARS_SIMON1CURSOR_INDEX, byte, GBVARS_AGOS)
 _GEND
 
 _GRELEASE(AGOS_Cursor)
-_GRELEASEPTR(GBVARS_SIMON1CURSOR_INDEX, GBVARS_SIMON)
+_GRELEASEPTR(GBVARS_SIMON1CURSOR_INDEX, GBVARS_AGOS)
 _GEND
 
 #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list