diff options
author | uruk | 2013-12-17 14:28:12 +0100 |
---|---|---|
committer | uruk | 2013-12-17 14:28:12 +0100 |
commit | 47bdabdb31156f84c704e90af10ead3292f026ee (patch) | |
tree | d5dbcf4ba6c9bb6e8b3680aad3b649a917173f63 | |
parent | 30e27e11bb135b06d3f61450b5793106a695f719 (diff) | |
download | scummvm-rg350-47bdabdb31156f84c704e90af10ead3292f026ee.tar.gz scummvm-rg350-47bdabdb31156f84c704e90af10ead3292f026ee.tar.bz2 scummvm-rg350-47bdabdb31156f84c704e90af10ead3292f026ee.zip |
AVALANCHE: Implement startMove() in Nim.
-rw-r--r-- | engines/avalanche/nim.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp index fad0bb71e5..cae890fbd3 100644 --- a/engines/avalanche/nim.cpp +++ b/engines/avalanche/nim.cpp @@ -198,7 +198,14 @@ void Nim::board() { } void Nim::startMove() { - warning("STUB: Nim::startMove()"); + _turns++; + Common::String turnsStr = Common::String::format("%d", _turns); + int y = 55 + _turns * 10; + _dogfoodsTurn = !_dogfoodsTurn; + chalk(433, y, turnsStr); + chalk(493, y, kNames[_dogfoodsTurn]); + for (int i = 0; i < 3; i++) + _old[i] = _stones[i]; } void Nim::showChanges() { |