MADS: Added skeleton framework for game scene classes
This commit is contained in:
parent
8ee283d921
commit
37b788b7dd
15 changed files with 576 additions and 18 deletions
|
@ -329,4 +329,16 @@ void MessageDialog::show() {
|
|||
}
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
Dialogs *Dialogs::init(MADSEngine *vm) {
|
||||
if (vm->getGameID() == GType_RexNebular)
|
||||
return new Dialogs(vm);
|
||||
|
||||
error("Unknown game");
|
||||
}
|
||||
|
||||
Dialogs::Dialogs(MADSEngine *vm): _vm(vm) {
|
||||
}
|
||||
|
||||
} // End of namespace MADS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue