The reverse actor layering only applies to pajama3

svn-id: r17432
This commit is contained in:
Travis Howell 2005-04-07 10:54:36 +00:00
parent 6ced0d698a
commit 682df447a3
4 changed files with 10 additions and 7 deletions

View File

@ -475,8 +475,7 @@ void ScummEngine_v100he::o100_actorOps() {
a->_needRedraw = true;
break;
case 59:
// Uses reverse order of layering, so we adjust
a->_layer = -pop();
a->_layer = pop();
a->_needRedraw = true;
break;
case 63:

View File

@ -1074,8 +1074,11 @@ void ScummEngine_v72he::o72_actorOps() {
debug(1,"o72_actorOps: case 24 (%d)", k);
break;
case 43: // HE 90+
// Uses reverse order of layering, so we adjust
a->_layer = -pop();
a->_layer = pop();
if (_gameId == GID_PAJAMA3) {
// pajama3 uses reverse order of layering, so we adjust
a->_layer = -a->_layer;
}
a->_needRedraw = true;
break;
case 64:

View File

@ -352,9 +352,9 @@ static const ScummGameSettings scumm_settings[] = {
// Humongous Entertainment Scumm Version ?
{"freddicove", "Freddi Fish 5: The Case of the Creature of Coral Cave", GID_HEGAME, 6, 99, 61, MDT_NONE,
GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES | GF_MULTIPLE_VERSIONS, 0, 0},
{"pj3-demo", "Pajama Sam 3: You Are What You Eat From Your Head to Your Feet (Demo)", GID_HEGAME, 6, 99, 61, MDT_NONE,
{"pj3-demo", "Pajama Sam 3: You Are What You Eat From Your Head to Your Feet (Demo)", GID_PAJAMA3, 6, 99, 61, MDT_NONE,
GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},
{"pajama3", "Pajama Sam 3: You Are What You Eat From Your Head to Your Feet", GID_HEGAME, 6, 99, 61, MDT_NONE,
{"pajama3", "Pajama Sam 3: You Are What You Eat From Your Head to Your Feet", GID_PAJAMA3, 6, 99, 61, MDT_NONE,
GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},
{"SamsFunShop", "Pajama Sam's One-Stop Fun Shop", GID_HEGAME, 6, 99, 61, MDT_NONE,
GF_NEW_OPCODES | GF_USE_KEY | GF_HUMONGOUS | GF_NEW_COSTUMES, 0, 0},

View File

@ -254,7 +254,8 @@ enum ScummGameId {
GID_PUTTMOON,
GID_FBEAR,
GID_FUNPACK,
GID_FREDDI4
GID_FREDDI4,
GID_PAJAMA3
};
struct SentenceTab {