mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
MADS: Implement Scene201::setup, remove some function definition, add some Noun enum values
This commit is contained in:
parent
ecbe2c87fd
commit
834cf846f1
@ -39,6 +39,7 @@ enum {
|
||||
};
|
||||
|
||||
enum Noun {
|
||||
NOUN_D = 0xD,
|
||||
NOUN_BLOWGUN = 0x29,
|
||||
NOUN_BURGER = 0x35,
|
||||
NOUN_CHAIR = 0x47,
|
||||
@ -76,6 +77,7 @@ enum Noun {
|
||||
NOUN_SIT_IN = 0x13F,
|
||||
NOUN_SMELL = 0x147,
|
||||
NOUN_STUFFED_FISH = 0x157,
|
||||
NOUN_15F = 0x15F,
|
||||
NOUN_VIEW_SCREEN = 0x180,
|
||||
NOUN_CAPTIVE_CREATURE = 0x1C3,
|
||||
NOUN_NATIVE_WOMAN = 0x1DC,
|
||||
@ -83,7 +85,8 @@ enum Noun {
|
||||
NOUN_DOLLOP = 0x3AC,
|
||||
NOUN_DROP = 0x3AD,
|
||||
NOUN_DASH = 0x3AE,
|
||||
NOUN_SPLASH = 0x3AF
|
||||
NOUN_SPLASH = 0x3AF,
|
||||
NOUN_487 = 0x487
|
||||
};
|
||||
|
||||
class SceneFactory {
|
||||
|
@ -69,6 +69,13 @@ void Scene2xx::setPlayerSpritesPrefix() {
|
||||
}
|
||||
|
||||
void Scene201::setup() {
|
||||
setPlayerSpritesPrefix();
|
||||
setAAName();
|
||||
|
||||
Scene &scene = _vm->_game->_scene;
|
||||
scene.addActiveVocab(NOUN_15F);
|
||||
scene.addActiveVocab(NOUN_487);
|
||||
scene.addActiveVocab(NOUN_D);
|
||||
}
|
||||
|
||||
void Scene201::enter() {
|
||||
@ -77,14 +84,8 @@ void Scene201::enter() {
|
||||
void Scene201::step() {
|
||||
}
|
||||
|
||||
void Scene201::preActions() {
|
||||
}
|
||||
|
||||
void Scene201::actions() {
|
||||
}
|
||||
|
||||
void Scene201::postActions() {
|
||||
}
|
||||
|
||||
} // End of namespace Nebular
|
||||
} // End of namespace MADS
|
||||
|
@ -53,9 +53,7 @@ public:
|
||||
virtual void setup();
|
||||
virtual void enter();
|
||||
virtual void step();
|
||||
virtual void preActions();
|
||||
virtual void actions();
|
||||
virtual void postActions();
|
||||
};
|
||||
|
||||
} // End of namespace Nebular
|
||||
|
Loading…
Reference in New Issue
Block a user