diff options
author | Max Horn | 2006-10-08 00:21:40 +0000 |
---|---|---|
committer | Max Horn | 2006-10-08 00:21:40 +0000 |
commit | d280234ae7ee3a336d87e8ef61c1af321926c02d (patch) | |
tree | 79cdf993567620b57073161d8c1d02da6b5b4bff | |
parent | dca237598b7389745fe4d545e1fd942e4a38ca3c (diff) | |
download | scummvm-rg350-d280234ae7ee3a336d87e8ef61c1af321926c02d.tar.gz scummvm-rg350-d280234ae7ee3a336d87e8ef61c1af321926c02d.tar.bz2 scummvm-rg350-d280234ae7ee3a336d87e8ef61c1af321926c02d.zip |
Added more const qualifiers
svn-id: r24182
-rw-r--r-- | engines/agos/agos.h | 2 | ||||
-rw-r--r-- | engines/agos/game.cpp | 146 | ||||
-rw-r--r-- | engines/agos/midi.cpp | 2 |
3 files changed, 75 insertions, 75 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index 1a64adeea4..6e3fc6b2bd 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -167,7 +167,7 @@ class AGOSEngine : public Engine { void setupFeebleVideoOpcodes(VgaOpcodeProc *op); public: - AGOSGameDescription *_gameDescription; + const AGOSGameDescription *_gameDescription; bool initGame(void); void setupGame(); diff --git a/engines/agos/game.cpp b/engines/agos/game.cpp index 00bacaf93f..387ca80128 100644 --- a/engines/agos/game.cpp +++ b/engines/agos/game.cpp @@ -169,50 +169,50 @@ namespace AGOS { using Common::ADGameFileDescription; using Common::ADGameDescription; -static ADGameFileDescription ELVIRA1AMIGADEMO_GameFiles[] = { +static const ADGameFileDescription ELVIRA1AMIGADEMO_GameFiles[] = { { "englishdemo", GAME_BASEFILE, "7bbc2dfe8619ef579004ff57674c6e92"}, { "icon.dat", GAME_ICONFILE, "68b329da9893e34099c7d8ad5cb9c940"}, }; -static ADGameFileDescription ELVIRA1AMIGA_GameFiles[] = { +static const ADGameFileDescription ELVIRA1AMIGA_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "7bdaff4a118d8035047cf9b1393b3fa0"}, { "icon.dat", GAME_ICONFILE, "2db931e84f1ca01f0816dddfae3f49e1"}, }; -static ADGameFileDescription ELVIRA1DOS_GameFiles[] = { +static const ADGameFileDescription ELVIRA1DOS_GameFiles[] = { { "gamepc", GAME_BASEFILE, "a49e132a1f18306dd5d1ec2fe435e178"}, { "icon.dat", GAME_ICONFILE, "fda48c9da7f3e72d0313e2f5f760fc45"}, { "tbllist", GAME_TBLFILE, "319f6b227c7822a551f57d24e70f8149"}, }; -static ADGameFileDescription ELVIRA1DOS2_GameFiles[] = { +static const ADGameFileDescription ELVIRA1DOS2_GameFiles[] = { { "gamepc", GAME_BASEFILE, "9076d507d60cc454df662316438ec843"}, { "icon.dat", GAME_ICONFILE, "fda48c9da7f3e72d0313e2f5f760fc45"}, { "tbllist", GAME_TBLFILE, "319f6b227c7822a551f57d24e70f8149"}, }; -static ADGameFileDescription ELVIRA2AMIGA_GameFiles[] = { +static const ADGameFileDescription ELVIRA2AMIGA_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "4aa163967f5d2bd319f8350d6af03186"}, { "icon.dat", GAME_ICONFILE, "a88b1c02e13ab04dd790ec30502c323d"}, { "stripped.txt", GAME_STRFILE, "41c975a9c1106cb5298a0bc3df0a266e"}, { "tbllist", GAME_TBLFILE, "177f5f2640e80ef92d1421d32de06a5e"}, }; -static ADGameFileDescription ELVIRA2DOS_GameFiles[] = { +static const ADGameFileDescription ELVIRA2DOS_GameFiles[] = { { "gamepc", GAME_BASEFILE, "3313254722031b22d833a2cf45a91fd7"}, { "icon.dat", GAME_ICONFILE, "83a7278bff55c82fbb3aef92981866c9"}, { "stripped.txt", GAME_STRFILE, "c2533277b7ff11f5495967d55355ea17"}, { "tbllist", GAME_TBLFILE, "8252660df0edbdbc3e6377e155bbd0c5"}, }; -static ADGameFileDescription ELVIRA2DOS_FR_GameFiles[] = { +static const ADGameFileDescription ELVIRA2DOS_FR_GameFiles[] = { { "gamepc", GAME_BASEFILE, "4bf28ab00f5324fd938e632595742382"}, { "icon.dat", GAME_ICONFILE, "83a7278bff55c82fbb3aef92981866c9"}, { "stripped.txt", GAME_STRFILE, "c3a8f644551a27c8a2fec0f8070b46b7"}, { "tbllist", GAME_TBLFILE, "8252660df0edbdbc3e6377e155bbd0c5"}, }; -static ADGameFileDescription WAXWORKSAMIGA_GameFiles[] = { +static const ADGameFileDescription WAXWORKSAMIGA_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "e6207a69cf7356f13acbe8d14bdd844e"}, // Unpacked version { "icon.pkd", GAME_ICONFILE, "4822a91c18b1b2005ac17fc617f7dcbe"}, { "stripped.txt", GAME_STRFILE, "6faaebff2786216900061eeb978f10af"}, @@ -220,7 +220,7 @@ static ADGameFileDescription WAXWORKSAMIGA_GameFiles[] = { { "xtbllist", GAME_XTBLFILE, "6c7b3db345d46349a5226f695c03e20f"}, }; -static ADGameFileDescription WAXWORKSDOS_GameFiles[] = { +static const ADGameFileDescription WAXWORKSDOS_GameFiles[] = { { "gamepc", GAME_BASEFILE, "7751e9358e894e32ef40ef3b3bae0f2a"}, { "icon.dat", GAME_ICONFILE, "ef1b8ad3494cf103dc10a99fe152ef9a"}, { "roomslst", GAME_RMSLFILE, "e3758c46ab8f3c23a1ac012bd607108d"}, @@ -229,7 +229,7 @@ static ADGameFileDescription WAXWORKSDOS_GameFiles[] = { { "xtbllist", GAME_XTBLFILE, "6c7b3db345d46349a5226f695c03e20f"}, }; -static ADGameFileDescription SIMON1ACORNDEMO_GameFiles[] = { +static const ADGameFileDescription SIMON1ACORNDEMO_GameFiles[] = { { "data", GAME_GMEFILE, "b4a7526ced425ba8ad0d548d0ec69900"}, { "gamebase", GAME_BASEFILE, "425c7d1957699d35abca7e12a08c7422"}, { "icondata", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, @@ -237,7 +237,7 @@ static ADGameFileDescription SIMON1ACORNDEMO_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1ACORN_GameFiles[] = { +static const ADGameFileDescription SIMON1ACORN_GameFiles[] = { { "data", GAME_GMEFILE, "64958b3a38afdcb85da1eeed85169806"}, { "gamebase", GAME_BASEFILE, "28261b99cd9da1242189b4f6f2841bd6"}, { "icondata", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, @@ -245,112 +245,112 @@ static ADGameFileDescription SIMON1ACORN_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1AMIGA_GameFiles[] = { +static const ADGameFileDescription SIMON1AMIGA_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "6c9ad2ff571d34a4cf0c696cf4e13500"}, { "icon.pkd", GAME_ICONFILE, "565ef7a98dcc21ef526a2bb10b6f42ed"}, { "stripped.txt", GAME_STRFILE, "c649fcc0439766810e5097ee7e81d4c8"}, { "tbllist", GAME_TBLFILE, "f9d5bf2ce09f82289c791c3ca26e1e4b"}, }; -static ADGameFileDescription SIMON1AMIGA_FR_GameFiles[] = { +static const ADGameFileDescription SIMON1AMIGA_FR_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "bd9828b9d4e5d89b50fe8c47a8e6bc07"}, { "icon.pkd", GAME_ICONFILE, "565ef7a98dcc21ef526a2bb10b6f42ed"}, { "stripped.txt", GAME_STRFILE, "2297baec985617d0d5612a0124bac359"}, { "tbllist", GAME_TBLFILE, "f9d5bf2ce09f82289c791c3ca26e1e4b"}, }; -static ADGameFileDescription SIMON1AMIGA_DE_GameFiles[] = { +static const ADGameFileDescription SIMON1AMIGA_DE_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "a2de9553f3b73064369948b5af38bb30"}, { "icon.pkd", GAME_ICONFILE, "565ef7a98dcc21ef526a2bb10b6f42ed"}, { "stripped.txt", GAME_STRFILE, "c649fcc0439766810e5097ee7e81d4c8"}, { "tbllist", GAME_TBLFILE, "f9d5bf2ce09f82289c791c3ca26e1e4b"}, }; -static ADGameFileDescription SIMON1AMIGADEMO_GameFiles[] = { +static const ADGameFileDescription SIMON1AMIGADEMO_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "a12b696170f14eca5ff75f1549829251"}, // Unpacked version { "icon.pkd", GAME_ICONFILE, "ebc96af15bfaf75ba8210326b9260d2f"}, { "stripped.txt", GAME_STRFILE, "8edde5b9498dc9f31da1093028da467c"}, { "tbllist", GAME_TBLFILE, "1247e024e1f13ca54c1e354120c7519c"}, }; -static ADGameFileDescription SIMON1CD32_GameFiles[] = { +static const ADGameFileDescription SIMON1CD32_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "bab7f19237cf7d7619b6c73631da1854"}, { "icon.pkd", GAME_ICONFILE, "565ef7a98dcc21ef526a2bb10b6f42ed"}, { "stripped.txt", GAME_STRFILE, "59be788020441e21861e284236fd08c1"}, { "tbllist", GAME_TBLFILE, "f9d5bf2ce09f82289c791c3ca26e1e4b"}, }; -static ADGameFileDescription SIMON1CD32_2_GameFiles[] = { +static const ADGameFileDescription SIMON1CD32_2_GameFiles[] = { { "gameamiga", GAME_BASEFILE, "ec5358680c117f29b128cbbb322111a4"}, { "icon.pkd", GAME_ICONFILE, "8ce5a46466a4f8f6d0f780b0ef00d5f5"}, { "stripped.txt", GAME_STRFILE, "59be788020441e21861e284236fd08c1"}, { "tbllist", GAME_TBLFILE, "f9d5bf2ce09f82289c791c3ca26e1e4b"}, }; -static ADGameFileDescription SIMON1DOS_INF_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_INF_GameFiles[] = { { "gamepc", GAME_BASEFILE, "9f93d27432ce44a787eef10adb640870"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "2af9affc5981eec44b90d4c556145cb8"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DOS_INF_RU_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_INF_RU_GameFiles[] = { { "gamepc", GAME_BASEFILE, "605fb866e03ec1c41b10c6a518ddfa49"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "2af9affc5981eec44b90d4c556145cb8"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DOS_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_GameFiles[] = { { "gamepc", GAME_BASEFILE, "c392e494dcabed797b98cbcfc687b33a"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "c95a0a1ee973e19c2a1c5d12026c139f"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DOS_RU_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_RU_GameFiles[] = { { "gamepc", GAME_BASEFILE, "605fb866e03ec1c41b10c6a518ddfa49"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "c95a0a1ee973e19c2a1c5d12026c139f"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DOS_FR_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_FR_GameFiles[] = { { "gamepc", GAME_BASEFILE, "34759d0d4285a2f4b21b8e03b8fcefb3"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "aa01e7386057abc0c3e27dbaa9c4ba5b"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DOS_DE_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_DE_GameFiles[] = { { "gamepc", GAME_BASEFILE, "063015e6ce7d90b570dbc21fe0c667b1"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "c95a0a1ee973e19c2a1c5d12026c139f"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DOS_IT_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_IT_GameFiles[] = { { "gamepc", GAME_BASEFILE, "65c9b2dea57df84ef55d1eaf384ebd30"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "2af9affc5981eec44b90d4c556145cb8"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DOS_ES_GameFiles[] = { +static const ADGameFileDescription SIMON1DOS_ES_GameFiles[] = { { "gamepc", GAME_BASEFILE, "5374fafdea2068134f33deab225feed3"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "stripped.txt", GAME_STRFILE, "2af9affc5981eec44b90d4c556145cb8"}, { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1DEMO_GameFiles[] = { +static const ADGameFileDescription SIMON1DEMO_GameFiles[] = { { "gdemo", GAME_BASEFILE, "2be4a21bc76e2fdc071867c130651439"}, { "icon.dat", GAME_ICONFILE, "55af3b4d93972bc58bfee38a86b76c3f"}, { "stripped.txt", GAME_STRFILE, "33a2e329b97b2a349858d6a093159eb7"}, { "tbllist", GAME_TBLFILE, "1247e024e1f13ca54c1e354120c7519c"}, }; -static ADGameFileDescription SIMON1TALKIE_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE_GameFiles[] = { { "gamepc", GAME_BASEFILE, "28261b99cd9da1242189b4f6f2841bd6"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "64958b3a38afdcb85da1eeed85169806"}, @@ -358,7 +358,7 @@ static ADGameFileDescription SIMON1TALKIE_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1TALKIE2_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE2_GameFiles[] = { { "gamepc", GAME_BASEFILE, "c0b948b6821d2140f8b977144f21027a"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "64f73e94639b63af846ac4a8a94a23d8"}, @@ -366,7 +366,7 @@ static ADGameFileDescription SIMON1TALKIE2_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1TALKIE_FR_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE_FR_GameFiles[] = { { "gamepc", GAME_BASEFILE, "3cfb9d1ff4ec725af9924140126cf69f"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "638049fa5d41b81fb6fb11671721b871"}, @@ -374,7 +374,7 @@ static ADGameFileDescription SIMON1TALKIE_FR_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1TALKIE_DE_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE_DE_GameFiles[] = { { "gamepc", GAME_BASEFILE, "48b1f3499e2e0d731047f4d481ff7817"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "7db9912acac4f1d965a64bdcfc370ba1"}, @@ -382,7 +382,7 @@ static ADGameFileDescription SIMON1TALKIE_DE_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1TALKIE_HB_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE_HB_GameFiles[] = { { "gamepc", GAME_BASEFILE, "bc66e9c0b296e1b155a246917133f71a"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "a34b2c8642f2e3676d7088b5c8b3e884"}, @@ -390,7 +390,7 @@ static ADGameFileDescription SIMON1TALKIE_HB_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1TALKIE_IT_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE_IT_GameFiles[] = { { "gamepc", GAME_BASEFILE, "8d3ca654e158c91b860c7eae31d65312"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "52e315e0e02feca86d15cc82e3306b6c"}, @@ -398,7 +398,7 @@ static ADGameFileDescription SIMON1TALKIE_IT_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1TALKIE_IT2_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE_IT2_GameFiles[] = { { "gamepc", GAME_BASEFILE, "8d3ca654e158c91b860c7eae31d65312"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "104efd83c8f3edf545982e07d87f66ac"}, @@ -406,7 +406,7 @@ static ADGameFileDescription SIMON1TALKIE_IT2_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1TALKIE_ES_GameFiles[] = { +static const ADGameFileDescription SIMON1TALKIE_ES_GameFiles[] = { { "gamepc", GAME_BASEFILE, "439f801ba52c02c9d1844600d1ce0f5e"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "eff2774a73890b9eac533db90cd1afa1"}, @@ -414,7 +414,7 @@ static ADGameFileDescription SIMON1TALKIE_ES_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1WIN_GameFiles[] = { +static const ADGameFileDescription SIMON1WIN_GameFiles[] = { { "gamepc", GAME_BASEFILE, "c7c12fea7f6d0bfd22af5cdbc8166862"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "b1b18d0731b64c0738c5cc4a2ee792fc"}, @@ -422,7 +422,7 @@ static ADGameFileDescription SIMON1WIN_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1WIN_RU_GameFiles[] = { +static const ADGameFileDescription SIMON1WIN_RU_GameFiles[] = { { "gamepc", GAME_BASEFILE, "4536a706412b36d628f12142bfa97af0"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "b1b18d0731b64c0738c5cc4a2ee792fc"}, @@ -430,7 +430,7 @@ static ADGameFileDescription SIMON1WIN_RU_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON1WIN_DE_GameFiles[] = { +static const ADGameFileDescription SIMON1WIN_DE_GameFiles[] = { { "gamepc", GAME_BASEFILE, "48b1f3499e2e0d731047f4d481ff7817"}, { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19"}, { "simon.gme", GAME_GMEFILE, "acd9cc438525b142d93b15c77a6f551b"}, @@ -438,7 +438,7 @@ static ADGameFileDescription SIMON1WIN_DE_GameFiles[] = { { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8"}, }; -static ADGameFileDescription SIMON2DOS_GameFiles[] = { +static const ADGameFileDescription SIMON2DOS_GameFiles[] = { { "game32", GAME_BASEFILE, "27c8e7feada80c75b70b9c2f6088d519"}, { "icon.dat", GAME_ICONFILE, "ee92d1f84893195a60449f2430d07285"}, { "simon2.gme", GAME_GMEFILE, "eefcc32b1f2c0482c1a59a963a146345"}, @@ -446,7 +446,7 @@ static ADGameFileDescription SIMON2DOS_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2DOS_RU_GameFiles[] = { +static const ADGameFileDescription SIMON2DOS_RU_GameFiles[] = { { "game32", GAME_BASEFILE, "7edfc633dd50f8caa719c478443db70b"}, { "icon.dat", GAME_ICONFILE, "ee92d1f84893195a60449f2430d07285"}, { "simon2.gme", GAME_GMEFILE, "eefcc32b1f2c0482c1a59a963a146345"}, @@ -454,7 +454,7 @@ static ADGameFileDescription SIMON2DOS_RU_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2DOS2_GameFiles[] = { +static const ADGameFileDescription SIMON2DOS2_GameFiles[] = { { "game32", GAME_BASEFILE, "604d04315935e77624bd356ac926e068"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "aa6840420899a31874204f90bb214108"}, @@ -462,7 +462,7 @@ static ADGameFileDescription SIMON2DOS2_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2DOS2_RU_GameFiles[] = { +static const ADGameFileDescription SIMON2DOS2_RU_GameFiles[] = { { "game32", GAME_BASEFILE, "eb8bde3685842a8fd38f60bc476ef8e9"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "aa6840420899a31874204f90bb214108"}, @@ -470,7 +470,7 @@ static ADGameFileDescription SIMON2DOS2_RU_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2DOS_DE_GameFiles[] = { +static const ADGameFileDescription SIMON2DOS_DE_GameFiles[] = { { "game32", GAME_BASEFILE, "eb6e3e37fe52993f948d7e2d6b869828"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "5fa9d080b04c610f526bd685be1bf747"}, @@ -478,7 +478,7 @@ static ADGameFileDescription SIMON2DOS_DE_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2DOS_IT_GameFiles[] = { +static const ADGameFileDescription SIMON2DOS_IT_GameFiles[] = { { "game32", GAME_BASEFILE, "3e11d400bea0638f360a724687005cd1"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "f306a397565d7f13bec7ecf14c723de7"}, @@ -486,7 +486,7 @@ static ADGameFileDescription SIMON2DOS_IT_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2DEMO_GameFiles[] = { +static const ADGameFileDescription SIMON2DEMO_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "3794c15887539b8578bacab694ccf08a"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "f8c9e6df1e55923a749e115ba74210c4"}, @@ -494,7 +494,7 @@ static ADGameFileDescription SIMON2DEMO_GameFiles[] = { { "tbllist", GAME_TBLFILE, "a0d5a494b5d3d209d1a1d76cc8d76601"}, }; -static ADGameFileDescription SIMON2TALKIE_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "8c301fb9c4fcf119d2730ccd2a565eb3"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "9c535d403966750ae98bdaf698375a38"}, @@ -502,7 +502,7 @@ static ADGameFileDescription SIMON2TALKIE_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2TALKIE2_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE2_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "608e277904d87dd28725fa08eacc2c0d"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "8d6dcc65577e285dbca03ff6d7d9323c"}, @@ -510,7 +510,7 @@ static ADGameFileDescription SIMON2TALKIE2_GameFiles[] = { { "tbllist", GAME_TBLFILE, "a0d5a494b5d3d209d1a1d76cc8d76601"}, }; -static ADGameFileDescription SIMON2TALKIE_FR_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE_FR_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "43b3a04d2f0a0cbd1b024c814856561a"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "8af0e02c0c3344db64dffc12196eb59d"}, @@ -518,7 +518,7 @@ static ADGameFileDescription SIMON2TALKIE_FR_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2TALKIE_DE_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE_DE_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "0d05c3f4c06c9a4ceb3d2f5bc0b18e11"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "6c5fdfdd0eab9038767c2d22858406b2"}, @@ -526,7 +526,7 @@ static ADGameFileDescription SIMON2TALKIE_DE_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2TALKIE_DE2_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE_DE2_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "a76ea940076b5d9316796dea225a9b69"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "ec9f0f24fd895e7ea72e3c8e448c0240"}, @@ -534,7 +534,7 @@ static ADGameFileDescription SIMON2TALKIE_DE2_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2TALKIE_HB_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE_HB_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "952a2b1be23c3c609ba8d988a9a1627d"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "a2b249a82ea182af09789eb95fb6c5be"}, @@ -542,7 +542,7 @@ static ADGameFileDescription SIMON2TALKIE_HB_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2TALKIE_IT_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE_IT_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "3e11d400bea0638f360a724687005cd1"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "344aca58e5ad5e25c517d5eb1d85c435"}, @@ -550,7 +550,7 @@ static ADGameFileDescription SIMON2TALKIE_IT_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2TALKIE_ES_GameFiles[] = { +static const ADGameFileDescription SIMON2TALKIE_ES_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "268dc322aa73bcf27bb016b8e8ceb889"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "4f43bd06b6cc78dbd25a7475ca964eb1"}, @@ -558,7 +558,7 @@ static ADGameFileDescription SIMON2TALKIE_ES_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2WIN_GameFiles[] = { +static const ADGameFileDescription SIMON2WIN_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "608e277904d87dd28725fa08eacc2c0d"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "e749c4c103d7e7d51b34620ed76c5a04"}, @@ -566,7 +566,7 @@ static ADGameFileDescription SIMON2WIN_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2WIN_DE_GameFiles[] = { +static const ADGameFileDescription SIMON2WIN_DE_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "a76ea940076b5d9316796dea225a9b69"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "9609a933c541fed2e00c6c3479d7c181"}, @@ -574,7 +574,7 @@ static ADGameFileDescription SIMON2WIN_DE_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2WIN_DE2_GameFiles[] = { +static const ADGameFileDescription SIMON2WIN_DE2_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "9e858b3bb189c134c3a5f34c3385a8d3"}, { "icon.dat", GAME_ICONFILE, "ee92d1f84893195a60449f2430d07285"}, { "simon2.gme", GAME_GMEFILE, "16d574da07e93bcae43cee353dab8c7e"}, @@ -582,7 +582,7 @@ static ADGameFileDescription SIMON2WIN_DE2_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription SIMON2WIN_PL_GameFiles[] = { +static const ADGameFileDescription SIMON2WIN_PL_GameFiles[] = { { "gsptr30", GAME_BASEFILE, "657fd873f5d0637097ee02315b447e6f"}, { "icon.dat", GAME_ICONFILE, "72096a62d36e6034ea9fecc13b2dbdab"}, { "simon2.gme", GAME_GMEFILE, "7b9afcf82a94722707e0d025c0192be8"}, @@ -590,89 +590,89 @@ static ADGameFileDescription SIMON2WIN_PL_GameFiles[] = { { "tbllist", GAME_TBLFILE, "2082f8d02075e590300478853a91ffd9"}, }; -static ADGameFileDescription FEEBLEFILES_AMI_DE_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_AMI_DE_GameFiles[] = { { "game22", GAME_BASEFILE, "bcd76ac080003eee3649df18db25b60e"}, { "gfxindex.dat", GAME_GFXIDXFILE,"f550f7915c5ce3a68c9f870f507449c2"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_AMI_UK_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_AMI_UK_GameFiles[] = { { "game22", GAME_BASEFILE, "629762ea9ca9ee9ff85f4774d219f5c7"}, { "gfxindex.dat", GAME_GFXIDXFILE,"f550f7915c5ce3a68c9f870f507449c2"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_MAC_DE_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_MAC_DE_GameFiles[] = { { "game22", GAME_BASEFILE, "bcd76ac080003eee3649df18db25b60e"}, { "graphics.vga", GAME_GFXIDXFILE,"11a4853cb35956846976e9473ee0e41e"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_MAC_FR_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_MAC_FR_GameFiles[] = { { "game22", GAME_BASEFILE, "ba90b40a47726039671d9e91630dd7ed"}, { "graphics.vga", GAME_GFXIDXFILE,"11a4853cb35956846976e9473ee0e41e"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_MAC_ES_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_MAC_ES_GameFiles[] = { { "game22", GAME_BASEFILE, "71d7d2d5e479b053c5a9757f1702c9c3"}, { "graphics.vga", GAME_GFXIDXFILE,"11a4853cb35956846976e9473ee0e41e"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_MAC_UK_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_MAC_UK_GameFiles[] = { { "game22", GAME_BASEFILE, "629762ea9ca9ee9ff85f4774d219f5c7"}, { "graphics.vga", GAME_GFXIDXFILE,"11a4853cb35956846976e9473ee0e41e"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_2CD_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_2CD_GameFiles[] = { { "game22", GAME_BASEFILE, "629762ea9ca9ee9ff85f4774d219f5c7"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_4CD_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_4CD_GameFiles[] = { { "game22", GAME_BASEFILE, "a8746407a5b20a7da0da0a14c380af1c"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_DE_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_DE_GameFiles[] = { { "game22", GAME_BASEFILE, "bcd76ac080003eee3649df18db25b60e"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_FR_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_FR_GameFiles[] = { { "game22", GAME_BASEFILE, "ba90b40a47726039671d9e91630dd7ed"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_IT_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_IT_GameFiles[] = { { "game22", GAME_BASEFILE, "80576f2e1ed4c912b63921fe77af313e"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription FEEBLEFILES_ES_GameFiles[] = { +static const ADGameFileDescription FEEBLEFILES_ES_GameFiles[] = { { "game22", GAME_BASEFILE, "71d7d2d5e479b053c5a9757f1702c9c3"}, { "tbllist", GAME_TBLFILE, "0bbfee8e69739111eb36b0d138da8ddf"}, }; -static ADGameFileDescription DIMP_GameFiles[] = { +static const ADGameFileDescription DIMP_GameFiles[] = { { "Gdimp", GAME_BASEFILE, "0b1e89ae1dc2e012b7fa7a987b4ac42a"}, }; -static ADGameFileDescription JUMBLE_GameFiles[] = { +static const ADGameFileDescription JUMBLE_GameFiles[] = { { "Gjumble", GAME_BASEFILE, "d54cce46d339038d1a6b74ea213655bc"}, }; -static ADGameFileDescription PUZZLE_GameFiles[] = { +static const ADGameFileDescription PUZZLE_GameFiles[] = { { "Gpuzzle", GAME_BASEFILE, "3f80dac8e0d85401a1058a560fe49ab6"}, }; -static ADGameFileDescription SWAMPY_GameFiles[] = { +static const ADGameFileDescription SWAMPY_GameFiles[] = { { "Gswampy", GAME_BASEFILE, "3a6d4d7b2433e660f2483f9396cc87a2"}, }; -static AGOSGameDescription gameDescriptions[] = { +static const AGOSGameDescription gameDescriptions[] = { // Elvira - English Amiga Floppy { { diff --git a/engines/agos/midi.cpp b/engines/agos/midi.cpp index 977c054e67..5087830b90 100644 --- a/engines/agos/midi.cpp +++ b/engines/agos/midi.cpp @@ -352,7 +352,7 @@ void MidiPlayer::resetVolumeTable() { } } -static int simon1_gmf_size[] = { +static const int simon1_gmf_size[] = { 8900, 12166, 2848, 3442, 4034, 4508, 7064, 9730, 6014, 4742, 3138, 6570, 5384, 8909, 6457, 16321, 2742, 8968, 4804, 8442, 7717, 9444, 5800, 1381, 5660, 6684, 2456, 4744, 2455, 1177, 1232, |