[Scummvm-cvs-logs] SF.net SVN: scummvm:[39551] scummvm/trunk/engines/gob
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Fri Mar 20 00:42:19 CET 2009
Revision: 39551
http://scummvm.svn.sourceforge.net/scummvm/?rev=39551&view=rev
Author: drmccoy
Date: 2009-03-19 23:42:19 +0000 (Thu, 19 Mar 2009)
Log Message:
-----------
Adding detection and title music playback for Little Red Riding Hood (Amiga version)
Modified Paths:
--------------
scummvm/trunk/engines/gob/detection.cpp
scummvm/trunk/engines/gob/inter.h
scummvm/trunk/engines/gob/inter_v2.cpp
Modified: scummvm/trunk/engines/gob/detection.cpp
===================================================================
--- scummvm/trunk/engines/gob/detection.cpp 2009-03-19 23:40:59 UTC (rev 39550)
+++ scummvm/trunk/engines/gob/detection.cpp 2009-03-19 23:42:19 UTC (rev 39551)
@@ -50,6 +50,7 @@
{"gob2cd", "Gobliins 2 CD"},
{"ween", "Ween: The Prophecy"},
{"bargon", "Bargon Attack"},
+ {"littlered", "Little Red Riding Hood"},
{"ajworld", "A.J's World of Discovery"},
{"gob3", "Goblins Quest 3"},
{"gob3cd", "Goblins Quest 3 CD"},
@@ -1002,6 +1003,19 @@
},
{
{
+ "littlered",
+ "",
+ AD_ENTRY1s("intro.stk", "0b72992f5d8b5e6e0330572a5753ea25", 256490),
+ UNK_LANG,
+ kPlatformAmiga,
+ ADGF_NO_FLAGS
+ },
+ kGameTypeGob2,
+ kFeaturesNone,
+ "intro"
+ },
+ {
+ {
"ajworld",
"",
AD_ENTRY1s("intro.stk", "e453bea7b28a67c930764d945f64d898", 3913628),
Modified: scummvm/trunk/engines/gob/inter.h
===================================================================
--- scummvm/trunk/engines/gob/inter.h 2009-03-19 23:40:59 UTC (rev 39550)
+++ scummvm/trunk/engines/gob/inter.h 2009-03-19 23:42:19 UTC (rev 39551)
@@ -401,6 +401,8 @@
void o2_startInfogrames(OpGobParams ¶ms);
void o2_stopInfogrames(OpGobParams ¶ms);
void o2_handleGoblins(OpGobParams ¶ms);
+ void o2_playProtracker(OpGobParams ¶ms);
+ void o2_stopProtracker(OpGobParams ¶ms);
};
class Inter_Bargon : public Inter_v2 {
Modified: scummvm/trunk/engines/gob/inter_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v2.cpp 2009-03-19 23:40:59 UTC (rev 39550)
+++ scummvm/trunk/engines/gob/inter_v2.cpp 2009-03-19 23:42:19 UTC (rev 39551)
@@ -90,37 +90,8 @@
{52, 37},
{53, 38},
{100, 39},
- {152, 40},
- {200, 41},
- {201, 42},
- {202, 43},
- {203, 44},
- {204, 45},
- {250, 46},
- {251, 47},
- {252, 48},
- {500, 49},
- {502, 50},
- {503, 51},
- {600, 52},
- {601, 53},
- {602, 54},
- {603, 55},
- {604, 56},
- {605, 57},
- {1000, 58},
- {1001, 59},
- {1002, 60},
- {1003, 61},
- {1004, 62},
- {1005, 63},
- {1006, 64},
- {1008, 65},
- {1009, 66},
- {1010, 67},
- {1011, 68},
- {1015, 69},
- {2005, 70}
+ {500, 40},
+ {501, 41}
};
Inter_v2::Inter_v2(GobEngine *vm) : Inter_v1(vm) {
@@ -606,10 +577,10 @@
{NULL, ""},
OPCODE(o2_handleGoblins),
/* 28 */
+ OPCODE(o2_playProtracker),
+ OPCODE(o2_stopProtracker),
{NULL, ""},
{NULL, ""},
- {NULL, ""},
- {NULL, ""},
/* 2C */
{NULL, ""},
{NULL, ""},
@@ -2063,6 +2034,14 @@
_vm->_sound->infogramesStop();
}
+void Inter_v2::o2_playProtracker(OpGobParams ¶ms) {
+ _vm->_sound->protrackerPlay("mod.babayaga");
+}
+
+void Inter_v2::o2_stopProtracker(OpGobParams ¶ms) {
+ _vm->_sound->protrackerStop();
+}
+
void Inter_v2::o2_handleGoblins(OpGobParams ¶ms) {
_vm->_goblin->_gob1NoTurn = VAR(load16()) != 0;
_vm->_goblin->_gob2NoTurn = VAR(load16()) != 0;
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