[Scummvm-git-logs] scummvm master -> ca95bfacee5c068945462be2793fb9db1bb2741e
bluegr
noreply at scummvm.org
Sun Nov 14 12:51:52 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ca95bfacee GROOVIE: Format arrays in the Othello mini-game logic
Commit: ca95bfacee5c068945462be2793fb9db1bb2741e
https://github.com/scummvm/scummvm/commit/ca95bfacee5c068945462be2793fb9db1bb2741e
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2021-11-14T14:51:31+02:00
Commit Message:
GROOVIE: Format arrays in the Othello mini-game logic
Changed paths:
engines/groovie/logic/othello.cpp
diff --git a/engines/groovie/logic/othello.cpp b/engines/groovie/logic/othello.cpp
index fe701d4093..3f7648fa51 100644
--- a/engines/groovie/logic/othello.cpp
+++ b/engines/groovie/logic/othello.cpp
@@ -554,11 +554,59 @@ void OthelloGame::op5(byte *vars) {
OthelloGame::OthelloGame()
: _random("OthelloGame"),
- _depths{1, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 7, 6, 5, 4, 3, 2, 1, 1},
- _lookupPlayer{21, 40, 31},
- _scores{{30, 0, 0, 0}, {4, 0, 0, 0}, {5, 0, 0, 0}},
- _edgesScores{0, 3, 6, 9, 3, 15, 12, 18, 6, 0, 45, 6, 0, 3, 27, 12, 60, 15, 9, 18, 36, 21, 24, 27, 30, 24, 36, 33, 39, 27, 21, 3, 27, 21, 24, 69, 33, 18, 36, 30, 39, 78, 42, 45, 48, 51, 45, 57, 54, 60, 48, 42, 87, 48, 42, 45, 6, 54, 102, 57, 51, 60, 15, 63, 66, 69, 72, 66, 78, 75, 81, 69, 63, 24, 69, 63, 66, 69, 75, 39, 78, 72, 81, 78, 84, 87, 90, 93, 87, 99, 96, 102, 90, 84, 87, 90, 84, 87, 48, 96, 102, 99, 93, 102, 57, 0, 0, 0, 0, 0, 0, 0},
- _cornersScores{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, 0, 0, 20, 0, -20, 0, 0, 0, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 40, 20, 0, 20, 20, 20, 40, -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, -40, -20, -20, -20, 0, -20, -40, -20, -20, -20, 0, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 20, 40, 40, 40, 40, 40, 20, 40, 40, 40, 40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -20, -40, -40, -40, -40, -40, -20},
+ _depths {
+ 1, 4, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 4, 7, 6, 5, 4, 3, 2, 1, 1
+ },
+ _lookupPlayer { 21, 40, 31 },
+ _scores {
+ { 30, 0, 0, 0 },
+ { 4, 0, 0, 0 },
+ { 5, 0, 0, 0 }
+ },
+ _edgesScores{
+ 0, 3, 6, 9, 3, 15, 12, 18,
+ 6, 0, 45, 6, 0, 3, 27, 12,
+ 60, 15, 9, 18, 36, 21, 24, 27,
+ 30, 24, 36, 33, 39, 27, 21, 3,
+ 27, 21, 24, 69, 33, 18, 36, 30,
+ 39, 78, 42, 45, 48, 51, 45, 57,
+ 54, 60, 48, 42, 87, 48, 42, 45,
+ 6, 54, 102, 57, 51, 60, 15, 63,
+ 66, 69, 72, 66, 78, 75, 81, 69,
+ 63, 24, 69, 63, 66, 69, 75, 39,
+ 78, 72, 81, 78, 84, 87, 90, 93,
+ 87, 99, 96, 102, 90, 84, 87, 90,
+ 84, 87, 48, 96, 102, 99, 93, 102,
+ 57, 0, 0, 0, 0, 0, 0, 0
+ },
+ _cornersScores{
+ 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0,
+ -20, 0, 0, 0, 20,
+ 0, -20, 0, 0, 0,
+ 20, 20, 20, 20, 20,
+ 20, 20, 20, 20, 20,
+ 20, 0, 20, 20, 20,
+ 40, 20, 0, 20, 20,
+ 20, 40, -20, -20, -20,
+ -20, -20, -20, -20, -20,
+ -20, -20, -40, -20, -20,
+ -20, 0, -20, -40, -20,
+ -20, -20, 0, 40, 40,
+ 40, 40, 40, 40, 40,
+ 40, 40, 40, 20, 40,
+ 40, 40, 40, 40, 20,
+ 40, 40, 40, 40, -40,
+ -40, -40, -40, -40, -40,
+ -40, -40, -40, -40, -40,
+ -40, -40, -40, -20, -40,
+ -40, -40, -40, -40, -20
+ },
_movesLateGame(52)
{
_isLateGame = false;
More information about the Scummvm-git-logs
mailing list