mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GROOVIE: Fix warning of mismatched prototype
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -57,7 +57,6 @@ const byte GalleryGame::kGalleryLinks[21][10] = {
|
||||
{12, 14, 15, 18, 20, 0, 0, 0, 0, 0 } // 21
|
||||
};
|
||||
|
||||
const int kPieceCount = 21;
|
||||
enum kGalleryPieceStatus {
|
||||
kPieceUnselected = 0,
|
||||
kPieceSelected = 1
|
||||
|
||||
@@ -76,6 +76,8 @@ namespace Groovie {
|
||||
* +-----------+--------+-----------------------------------------+
|
||||
*/
|
||||
|
||||
const int kPieceCount = 21;
|
||||
|
||||
class GalleryGame {
|
||||
public:
|
||||
GalleryGame(bool easierAi) {
|
||||
@@ -95,7 +97,7 @@ private:
|
||||
|
||||
void test();
|
||||
void ensureSamanthaWins(int seed);
|
||||
void testsWriteMove(int move, byte pieceStatus[]);
|
||||
void testsWriteMove(int move, byte pieceStatus[kPieceCount]);
|
||||
};
|
||||
|
||||
} // End of Groovie namespace
|
||||
|
||||
Reference in new issue
Block a user