mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
Bump save game version for HE 7.0 changes
Remove mention of talkspeed default, since it no longer applies. svn-id: r14191
This commit is contained in:
parent
e98b7c11ed
commit
032405d6f7
6
README
6
README
@ -339,7 +339,7 @@ arguments - see the next section.
|
||||
--demo-mode Start demo mode of Maniac Mansion (Classic version)
|
||||
--tempo=NUM Set music tempo (in percent, 50-200) for SCUMM games
|
||||
(default: 100)
|
||||
--talkspeed=NUM Set talk speed for SCUMM games (default: 60)
|
||||
--talkspeed=NUM Set talk speed for SCUMM games
|
||||
|
||||
|
||||
The meaning of most long options can be inverted by prefixing them with "no-",
|
||||
@ -904,7 +904,7 @@ An example config file looks as follows:
|
||||
[loomcd]
|
||||
cdrom=1
|
||||
path=C:\loom\
|
||||
talkspeed=55
|
||||
talkspeed=5
|
||||
savepath=C:\loom\saves\
|
||||
|
||||
[monkey2]
|
||||
@ -933,7 +933,7 @@ The following keywords are recognized:
|
||||
language string Specify language (en, de, fr, it, pt, es, jp,
|
||||
zh, kr,se, gb, hb, cz, ru)
|
||||
subtitles bool Set to true to enable subtitles.
|
||||
talkspeed number Text speed (default: 60)
|
||||
talkspeed number Text speed
|
||||
|
||||
fullscreen bool Fullscreen mode
|
||||
aspect_ratio bool Enable aspect ratio correction
|
||||
|
@ -46,7 +46,7 @@ Usage: scummvm [OPTIONS]... [GAME]\\
|
||||
--demo-mode &Start demo mode of Maniac Mansion (Classic version)\\
|
||||
--tempo=NUM &Set music tempo (in percent, 50-200) for SCUMM\\
|
||||
&games (default: 100)\\
|
||||
--talkspeed=NUM &Set talk speed for SCUMM games (default: 60)\\
|
||||
--talkspeed=NUM &Set talk speed for SCUMM games\\
|
||||
\end{tabular}
|
||||
|
||||
The meaning of most long options can be inverted by prefixing them with "no-",
|
||||
|
@ -48,7 +48,7 @@ An example config file looks as follows:
|
||||
[loomcd]
|
||||
cdrom=1
|
||||
path=C:\loom\
|
||||
talkspeed=55
|
||||
talkspeed=5
|
||||
savepath=C:\loom\saves\
|
||||
|
||||
[monkey2]
|
||||
@ -79,7 +79,7 @@ The following keywords are recognized:
|
||||
language &string Specify language (en, de, fr, it, pt, es, jp,\\
|
||||
& zh, kr, se, gb, hb, cz, ru)\\
|
||||
subtitles &bool Set to true to enable subtitles.\\
|
||||
talkspeed &number Text speed (default: 60)\\
|
||||
talkspeed &number Text speed\\
|
||||
\\
|
||||
fullscreen &bool Fullscreen mode\\
|
||||
aspect\_ratio &bool Enable aspect ratio correction\\
|
||||
|
@ -1746,6 +1746,8 @@ const SaveLoadEntry *Actor::getSaveLoadEntries() {
|
||||
static const SaveLoadEntry actorEntries[] = {
|
||||
MKLINE(Actor, _pos.x, sleInt16, VER(8)),
|
||||
MKLINE(Actor, _pos.y, sleInt16, VER(8)),
|
||||
MKLINE(Actor, offs_x, sleInt16, VER(32)),
|
||||
MKLINE(Actor, offs_y, sleInt16, VER(32)),
|
||||
MKLINE(Actor, top, sleInt16, VER(8)),
|
||||
MKLINE(Actor, bottom, sleInt16, VER(8)),
|
||||
MKLINE(Actor, elevation, sleInt16, VER(8)),
|
||||
@ -1775,11 +1777,9 @@ const SaveLoadEntry *Actor::getSaveLoadEntries() {
|
||||
MKLINE(Actor, speedy, sleUint16, VER(8)),
|
||||
MKLINE(Actor, cost.animCounter, sleUint16, VER(8)),
|
||||
MKLINE(Actor, cost.soundCounter, sleByte, VER(8)),
|
||||
/*
|
||||
MKLINE(Actor, actorDrawVirScr, sleByte, VER(32)),
|
||||
MKLINE(Actor, flip, sleByte, VER(32)),
|
||||
MKLINE(Actor, skipLimb, sleByte, VER(32)),
|
||||
*/
|
||||
|
||||
// Actor palette grew from 64 to 256 bytes
|
||||
MKARRAY_OLD(Actor, palette[0], sleByte, 64, VER(8), VER(9)),
|
||||
|
@ -183,7 +183,6 @@ bool ScummEngine::loadState(int slot, bool compat) {
|
||||
if (_screenTop < 0)
|
||||
_screenTop = 0;
|
||||
|
||||
/*
|
||||
if (hdr.ver < VER(32) && _heversion == 70) {
|
||||
roomptr = getResourceAddress(rtRoom, _roomResource);
|
||||
const byte *ptr = findResourceData(MKID('REMP'), roomptr);
|
||||
@ -196,8 +195,6 @@ bool ScummEngine::loadState(int slot, bool compat) {
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
if (hdr.ver < VER(30)) {
|
||||
// For a long time, we used incorrect location, causing it to default to zero.
|
||||
if (_version == 8)
|
||||
@ -737,10 +734,8 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) {
|
||||
s->saveLoadArrayOf(_roomPalette, sizeof(_roomPalette), 1, sleByte);
|
||||
}
|
||||
|
||||
/*
|
||||
if (savegameVersion >= VER(32) && _heversion == 70)
|
||||
s->saveLoadArrayOf(_HEV7ActorPalette, sizeof(_HEV7ActorPalette), 1, sleByte);
|
||||
*/
|
||||
|
||||
// PalManip data was not saved before V10 save games
|
||||
if (savegameVersion < VER(10))
|
||||
|
@ -32,7 +32,7 @@ namespace Scumm {
|
||||
// Can be useful for other ports too :)
|
||||
|
||||
#define VER(x) x
|
||||
#define CURRENT_VER 31
|
||||
#define CURRENT_VER 32
|
||||
|
||||
// To work around a warning in GCC 3.2 (and 3.1 ?) regarding non-POD types,
|
||||
// we use a small trick: instead of 0 we use 42. Why? Well, it seems newer GCC
|
||||
|
@ -552,8 +552,8 @@ void ScummEngine::writeVar(uint var, int value) {
|
||||
|
||||
// FIXME: Find some better place to put this.
|
||||
if (var == VAR_CHARINC && ConfMan.hasKey("talkspeed")) {
|
||||
int talkspeed = ConfMan.getInt("talkspeed") / 20;
|
||||
if (talkspeed >= 0 && talkspeed <= 180)
|
||||
uint talkspeed = ConfMan.getInt("talkspeed");
|
||||
if (talkspeed <= 9)
|
||||
VAR(VAR_CHARINC) = talkspeed;
|
||||
} else
|
||||
_scummVars[var] = value;
|
||||
|
@ -426,8 +426,8 @@ void ScummEngine_v8::writeVar(uint var, int value) {
|
||||
|
||||
if (var == VAR_CHARINC) {
|
||||
if (ConfMan.hasKey("talkspeed")) {
|
||||
int talkspeed = ConfMan.getInt("talkspeed") / 20;
|
||||
if (talkspeed >= 0 && talkspeed <= 9)
|
||||
uint talkspeed = ConfMan.getInt("talkspeed");
|
||||
if (talkspeed <= 9)
|
||||
VAR(VAR_CHARINC) = talkspeed;
|
||||
} else
|
||||
VAR(VAR_CHARINC) = (_features & GF_DEMO) ? value : (9 - value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user