mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
GROOVIE: Fix warning of mismatched prototype
This commit is contained in:
parent
a5ed6cdf5e
commit
b657ff8ef2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user