[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.328,2.329 script_v100he.cpp,2.40,2.41
kirben
kirben at users.sourceforge.net
Mon Jan 31 22:40:50 CET 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2407/scumm
Modified Files:
intern.h script_v100he.cpp
Log Message:
More HE100 diffs.
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.328
retrieving revision 2.329
diff -u -d -r2.328 -r2.329
--- intern.h 31 Jan 2005 03:53:35 -0000 2.328
+++ intern.h 1 Feb 2005 06:37:30 -0000 2.329
@@ -933,6 +933,7 @@
void o100_unknown28();
void o100_resourceRoutines();
void o100_wizImageOps();
+ void o100_loadSBNG();
void o100_dim2dim2Array();
void o100_paletteOps();
void o100_redimArray();
Index: script_v100he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v100he.cpp,v
retrieving revision 2.40
retrieving revision 2.41
diff -u -d -r2.40 -r2.41
--- script_v100he.cpp 1 Feb 2005 05:19:27 -0000 2.40
+++ script_v100he.cpp 1 Feb 2005 06:37:30 -0000 2.41
@@ -69,7 +69,7 @@
OPCODE(o6_loadRoomWithEgo),
OPCODE(o6_invalid),
OPCODE(o72_setFilePath),
- OPCODE(o6_invalid),
+ OPCODE(o100_loadSBNG),
/* 18 */
OPCODE(o6_cutscene),
OPCODE(o6_pop),
@@ -701,6 +701,27 @@
}
}
+void ScummEngine_v100he::o100_loadSBNG() {
+ // Loads SBNG sound resource
+ byte subOp = fetchScriptByte();
+
+ switch (subOp) {
+ case 0:
+ //_heSBNGId = pop();
+ break;
+ case 53:
+ //loadSBNG(_heSBNGId, -1);
+ break;
+ case 128:
+ pop();
+ //loadSBNG(_heSBNGId, pop();
+ break;
+ default:
+ warning("o100_loadSBNG: default case %d", subOp);
+ }
+ debug(1,"o100_loadSBNG stub (%d)",subOp);
+}
+
void ScummEngine_v100he::o100_dim2dimArray() {
int a, b, data;
int type = fetchScriptByte();
@@ -1396,6 +1417,17 @@
_heSndFlags |= 16;
pop();
break;
+ case 55:
+ _heSndFlags |= 8;
+ break;
+ case 83:
+ {
+ int value = pop();
+ int var = pop();
+ int snd = pop();
+ debug(1,"o70_startSound: case 29 (snd %d, var %d, value %d)", snd, var, value);
+ }
+ break;
case 92:
debug(0, "o100_startSound (ID %d, Offset %d, Channel %d, Flags %d)", _heSndSoundId, _heSndOffset, _heSndChannel, _heSndFlags);
_sound->addSoundToQueue(_heSndSoundId, _heSndOffset, _heSndChannel, _heSndFlags);
More information about the Scummvm-git-logs
mailing list