[Scummvm-cvs-logs] SF.net SVN: scummvm: [22940] scummvm/trunk/backends/PalmOS/Src/launcher
chrilith at users.sourceforge.net
chrilith at users.sourceforge.net
Mon Jun 5 21:23:23 CEST 2006
Revision: 22940
Author: chrilith
Date: 2006-06-05 12:23:16 -0700 (Mon, 05 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22940&view=rev
Log Message:
-----------
- Added AGI engine support
Modified Paths:
--------------
scummvm/trunk/backends/PalmOS/Src/launcher/games.cpp
scummvm/trunk/backends/PalmOS/Src/launcher/games.h
Modified: scummvm/trunk/backends/PalmOS/Src/launcher/games.cpp
===================================================================
--- scummvm/trunk/backends/PalmOS/Src/launcher/games.cpp 2006-06-05 19:21:51 UTC (rev 22939)
+++ scummvm/trunk/backends/PalmOS/Src/launcher/games.cpp 2006-06-05 19:23:16 UTC (rev 22940)
@@ -69,7 +69,8 @@
MemSet(&gitCur, sizeof(GameInfoType), 0);
- if (version == itemVersion_353 ||
+ if (version == itemVersion_354 ||
+ version == itemVersion_353 ||
version == itemVersion_352 ||
version == itemVersion_351 ||
version == itemVersion_350 ||
@@ -186,6 +187,10 @@
if (version <= itemVersion_353)
gitCur.musicInfo.sound.drvMusic++;
+ if (version <= itemVersion_354)
+ if (gitCur.engine >= ENGINE_AGI) // newly added engine
+ gitCur.engine++;
+
if (gitCur.musicInfo.volume.palm > 100)
gitCur.musicInfo.volume.palm = 50;
@@ -274,6 +279,9 @@
// to V3.5.1
if (gitCur.platform >= 9)
gitCur.platform++;
+
+ //to V3.5.3
+ gitCur.musicInfo.sound.drvMusic++;
// -----
gitCur.engine = ENGINE_SCUMM;
@@ -314,7 +322,7 @@
gitCur.loadSlot = git0.loadSlot;
gitCur.bootValue = git0.bootValue;
gitCur.talkValue = git0.talkValue;
- gitCur.platform = 0; // default to amiga
+ gitCur.platform = 2; // default to amiga
gitCur.language = git0.language;
gitCur.musicInfo.volume.palm = 50;
Modified: scummvm/trunk/backends/PalmOS/Src/launcher/games.h
===================================================================
--- scummvm/trunk/backends/PalmOS/Src/launcher/games.h 2006-06-05 19:21:51 UTC (rev 22939)
+++ scummvm/trunk/backends/PalmOS/Src/launcher/games.h 2006-06-05 19:23:16 UTC (rev 22940)
@@ -25,9 +25,10 @@
#ifndef __GAMES_H__
#define __GAMES_H__
-#define curItemVersion sysMakeROMVersion(3,5,4,0,0) // Added : Default/Auto music driver
+#define curItemVersion 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
#define itemVersion_351 sysMakeROMVersion(3,5,1,0,0) // Added : Sega CD platform
@@ -162,6 +163,7 @@
ENGINE_KYRA,
ENGINE_SAGA,
ENGINE_SCUMM,
+ ENGINE_AGI,
ENGINE_SIMON,
ENGINE_COUNT
};
@@ -180,6 +182,7 @@
{ "kyra", "Kyrandia" },
{ "saga", "SAGA Engine" },
{ "scumm", "Scumm Games" },
+ { "agi", "Sierra AGI" },
{ "simon", "Simon the Sorcerer" },
};
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