MADS: Implement Scene201::setup, remove some function definition, add some Noun enum values

This commit is contained in:
Strangerke 2014-03-16 18:32:46 +01:00
parent ecbe2c87fd
commit 834cf846f1
3 changed files with 11 additions and 9 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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