[Scummvm-cvs-logs] SF.net SVN: scummvm: [24560] scummvm/trunk/backends/platform/PalmOS/Src/ launcher
chrilith at users.sourceforge.net
chrilith at users.sourceforge.net
Sat Oct 28 16:35:07 CEST 2006
Revision: 24560
http://svn.sourceforge.net/scummvm/?rev=24560&view=rev
Author: chrilith
Date: 2006-10-28 07:35:00 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Simon -> AGOS
Modified Paths:
--------------
scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp
scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h
Modified: scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp 2006-10-28 14:30:42 UTC (rev 24559)
+++ scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp 2006-10-28 14:35:00 UTC (rev 24560)
@@ -69,7 +69,8 @@
MemSet(&gitCur, sizeof(GameInfoType), 0);
- if (version == itemVersion_354 ||
+ if (version == itemVersion_355 ||
+ version == itemVersion_354 ||
version == itemVersion_353 ||
version == itemVersion_352 ||
version == itemVersion_351 ||
@@ -191,6 +192,12 @@
if (gitCur.engine >= ENGINE_AGI) // newly added engine
gitCur.engine++;
+ if (version <= itemVersion_355) {
+ gitCur.engine++; // renamed Simon -> AGOS
+ if (gitCur.engine == ENGINE_COUNT)
+ gitCur.engine = ENGINE_AGOS;
+ }
+
if (gitCur.musicInfo.volume.palm > 100)
gitCur.musicInfo.volume.palm = 50;
Modified: scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h 2006-10-28 14:30:42 UTC (rev 24559)
+++ scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h 2006-10-28 14:35:00 UTC (rev 24560)
@@ -25,9 +25,10 @@
#ifndef __GAMES_H__
#define __GAMES_H__
-#define curItemVersion sysMakeROMVersion(3,5,5,0,0) // Added : AGI engine
+#define curItemVersion sysMakeROMVersion(3,5,6,0,0) // Changed : Simon -> AGOS
+#define itemVersion_355 sysMakeROMVersion(3,5,5,0,0) // Added : AGI engine
#define itemVersion_354 sysMakeROMVersion(3,5,4,0,0) // Added : Default/Auto music driver
#define itemVersion_353 sysMakeROMVersion(3,5,3,0,0) // Added : CinE engine and 3DO platform
#define itemVersion_352 sysMakeROMVersion(3,5,2,0,0) // Added : Lure engine
@@ -153,7 +154,8 @@
} GameInfoType;
enum {
- ENGINE_SKY = 0,
+ ENGINE_AGOS = 0,
+ ENGINE_SKY,
ENGINE_SWORD1,
ENGINE_SWORD2,
ENGINE_CINE,
@@ -164,7 +166,6 @@
ENGINE_SAGA,
ENGINE_SCUMM,
ENGINE_AGI,
- ENGINE_AGOS,
ENGINE_COUNT
};
@@ -172,6 +173,7 @@
const char *fileP;
const char *nameP;
} engines[] = {
+ { "agos", "AGOS Engine" },
{ "sky", "Beneath a Steel Sky" },
{ "sword1", "Broken Sword 1" },
{ "sword2", "Broken Sword 2" },
@@ -183,7 +185,6 @@
{ "saga", "SAGA Engine" },
{ "scumm", "Scumm Games" },
{ "agi", "Sierra AGI" },
- { "simon", "AGOS" },
};
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