diff options
author | Paul Gilbert | 2011-10-02 19:59:13 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-10-02 19:59:13 +1100 |
commit | f99e904f9a85c4a6876b2b68285c1a32fe80835c (patch) | |
tree | ee2cc9112b8313360586bdc0bb2b09b29d26e4a7 /engines/tsage/blue_force/blueforce_logic.cpp | |
parent | edd1ebb8204fbdfcfd65f00e182dc604e3c38998 (diff) | |
download | scummvm-rg350-f99e904f9a85c4a6876b2b68285c1a32fe80835c.tar.gz scummvm-rg350-f99e904f9a85c4a6876b2b68285c1a32fe80835c.tar.bz2 scummvm-rg350-f99e904f9a85c4a6876b2b68285c1a32fe80835c.zip |
TSAGE: Added 'g' prefix to global variables
Diffstat (limited to 'engines/tsage/blue_force/blueforce_logic.cpp')
-rw-r--r-- | engines/tsage/blue_force/blueforce_logic.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/tsage/blue_force/blueforce_logic.cpp b/engines/tsage/blue_force/blueforce_logic.cpp index 80b379d5d5..15d68ae4f0 100644 --- a/engines/tsage/blue_force/blueforce_logic.cpp +++ b/engines/tsage/blue_force/blueforce_logic.cpp @@ -43,9 +43,9 @@ namespace BlueForce { void BlueForceGame::start() { // Start the game - _globals->_sceneManager.changeScene(300); + g_globals->_sceneManager.changeScene(300); - _globals->_events.setCursor(CURSOR_WALK); + g_globals->_events.setCursor(CURSOR_WALK); } Scene *BlueForceGame::createScene(int sceneNumber) { @@ -240,20 +240,20 @@ void BlueForceGame::processEvent(Event &event) { case Common::KEYCODE_F4: // F4 - Restart restartGame(); - _globals->_events.setCursorFromFlag(); + g_globals->_events.setCursorFromFlag(); break; case Common::KEYCODE_F7: // F7 - Restore restoreGame(); - _globals->_events.setCursorFromFlag(); + g_globals->_events.setCursorFromFlag(); break; case Common::KEYCODE_F10: // F10 - Pause GfxDialog::setPalette(); MessageDialog::show(GAME_PAUSED_MSG, OK_BTN_STRING); - _globals->_events.setCursorFromFlag(); + g_globals->_events.setCursorFromFlag(); break; default: @@ -470,16 +470,16 @@ void NamedObject::setDetails(int resNum, int lookLineNum, int talkLineNum, int u switch (mode) { case 2: - _globals->_sceneItems.push_front(this); + g_globals->_sceneItems.push_front(this); break; case 4: - _globals->_sceneItems.addBefore(item, this); + g_globals->_sceneItems.addBefore(item, this); break; case 5: - _globals->_sceneItems.addAfter(item, this); + g_globals->_sceneItems.addAfter(item, this); break; default: - _globals->_sceneItems.push_back(this); + g_globals->_sceneItems.push_back(this); break; } } |