From 956e5e2b3dfe7658732ee036862e347e4c8c13aa Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 1 Mar 2003 21:26:45 +0000 Subject: don't hardcode the Simon GameID values, rather use the #defines from simon/intern.h. Proper solution pending svn-id: r6651 --- simon/intern.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'simon') diff --git a/simon/intern.h b/simon/intern.h index 210f96c688..9128f024a2 100644 --- a/simon/intern.h +++ b/simon/intern.h @@ -132,13 +132,14 @@ struct GameSpecificSettings { const char *gamepc_filename; }; +// TODO: the following really should be turned into GameFeatures... enum { - GAME_SIMON2 = 1, - GAME_WIN = 2, - GAME_TALKIE = 4, - GAME_DEMO = 8, - GAME_MAC = 16, - GAME_AMIGA = 32, + GAME_SIMON2 = 1 << 0, + GAME_WIN = 1 << 1, + GAME_TALKIE = 1 << 2, + GAME_DEMO = 1 << 3, + GAME_MAC = 1 << 4, + GAME_AMIGA = 1 << 5, GAME_SIMON1DOS = 0, GAME_SIMON2DOS = GAME_SIMON2, -- cgit v1.2.3