diff options
author | Johannes Schickel | 2016-02-02 18:43:36 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-02-02 20:15:18 +0100 |
commit | 6778175f6d2ba33565b15d3b94c8eea4b0ec3215 (patch) | |
tree | 9bd26262ae254315531c61cb055e0a238b79cfa1 /engines/agi/cycle.cpp | |
parent | 9ad3712aa30944fa3bdc5e03eb87499daf626592 (diff) | |
download | scummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.tar.gz scummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.tar.bz2 scummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.zip |
AGI: Fix formatting.
This mostly enforces tabs for indentation and spaces for formatting. But also
fixes spaces on empty lines, some extra/missing spaces.
astyle + manual fixup
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r-- | engines/agi/cycle.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp index 0151de638e..553eda541e 100644 --- a/engines/agi/cycle.cpp +++ b/engines/agi/cycle.cpp @@ -270,7 +270,7 @@ int AgiEngine::mainCycle(bool onlyCheckForEvents) { } else { // inner loop active // call specific workers - setVar(VM_VAR_KEY, 0); // clear keys, they must not be passed to the scripts + setVar(VM_VAR_KEY, 0); // clear keys, they must not be passed to the scripts _game.keypress = 0; switch (_game.cycleInnerLoopType) { @@ -339,10 +339,10 @@ int AgiEngine::playGame() { _game.horizon = 36; _game.playerControl = false; - setFlag(VM_FLAG_LOGIC_ZERO_FIRST_TIME, true); // not in 2.917 - setFlag(VM_FLAG_NEW_ROOM_EXEC, true); // needed for MUMG and SQ2! - setFlag(VM_FLAG_SOUND_ON, true); // enable sound - setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed + setFlag(VM_FLAG_LOGIC_ZERO_FIRST_TIME, true); // not in 2.917 + setFlag(VM_FLAG_NEW_ROOM_EXEC, true); // needed for MUMG and SQ2! + setFlag(VM_FLAG_SOUND_ON, true); // enable sound + setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed _game.gfxMode = true; _text->promptRow_Set(22); @@ -422,7 +422,7 @@ int AgiEngine::runGame() { if (_restartGame) { setFlag(VM_FLAG_RESTART_GAME, true); - setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed + setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed // Reset in-game timer inGameTimerReset(); |