ZVISION: Move more graphics code out of the main engine code
This commit is contained in:
parent
e8820d26e7
commit
eea1ee445f
7 changed files with 167 additions and 169 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "zvision/sound/zork_raw.h"
|
||||
#include "zvision/video/zork_avi_decoder.h"
|
||||
#include "zvision/file/save_manager.h"
|
||||
#include "zvision/scripting/menu.h"
|
||||
#include "zvision/scripting/sidefx/timer_node.h"
|
||||
#include "zvision/scripting/sidefx/music_node.h"
|
||||
#include "zvision/scripting/sidefx/syncsound_node.h"
|
||||
|
@ -439,7 +440,7 @@ ActionMenuBarEnable::ActionMenuBarEnable(ZVision *engine, int32 slotkey, const C
|
|||
}
|
||||
|
||||
bool ActionMenuBarEnable::execute() {
|
||||
_engine->menuBarEnable(_menus);
|
||||
_engine->getMenuHandler()->setEnable(_menus);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -819,7 +820,7 @@ ActionRotateTo::ActionRotateTo(ZVision *engine, int32 slotkey, const Common::Str
|
|||
}
|
||||
|
||||
bool ActionRotateTo::execute() {
|
||||
_engine->rotateTo(_toPos, _time);
|
||||
_engine->getRenderManager()->rotateTo(_toPos, _time);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue