ACCESS: Split the bubble box code from Room into it's own file

This commit is contained in:
Paul Gilbert 2014-08-17 11:14:30 -04:00
parent 3e61eb9cc3
commit 404c7cd5d3
8 changed files with 229 additions and 146 deletions

View file

@ -117,7 +117,7 @@ void Scripts::executeCommand(int commandIndex) {
}
void Scripts::CMDOBJECT() {
_vm->_room->_bubbleBox.load(_data);
_vm->_bubbleBox->load(_data);
}
void Scripts::CMDENDOBJECT() { error("TODO ENDOBJECT"); }
@ -176,7 +176,7 @@ void Scripts::cmdPrint() {
_vm->_timers[PRINT_TIMER]._initTm = 50;
_vm->_timers[PRINT_TIMER]._flag = true;
_vm->_room->placeBubble();
_vm->_bubbleBox->placeBubble();
_vm->_events->waitKeyMouse();
while (_vm->_timers[PRINT_TIMER]._flag) {