aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs/minigames
diff options
context:
space:
mode:
authorjohndoe1232014-02-16 00:27:00 +0100
committerjohndoe1232014-02-16 00:27:00 +0100
commit882cf2f5ba1f51263d3458f413ba1addaf235db5 (patch)
treef5ac79a84b551e9a67513ea926c6d729841b8783 /engines/bbvs/minigames
parentf0acfd4645b19592812acd45b6765303238c1cfe (diff)
downloadscummvm-rg350-882cf2f5ba1f51263d3458f413ba1addaf235db5.tar.gz
scummvm-rg350-882cf2f5ba1f51263d3458f413ba1addaf235db5.tar.bz2
scummvm-rg350-882cf2f5ba1f51263d3458f413ba1addaf235db5.zip
BBVS: Fix const char string arrays
Diffstat (limited to 'engines/bbvs/minigames')
-rw-r--r--engines/bbvs/minigames/bbairguitar.cpp4
-rw-r--r--engines/bbvs/minigames/bbant.cpp2
-rw-r--r--engines/bbvs/minigames/bbloogie.cpp2
-rw-r--r--engines/bbvs/minigames/bbtennis.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/engines/bbvs/minigames/bbairguitar.cpp b/engines/bbvs/minigames/bbairguitar.cpp
index 26434d3ad6..2c97bcd6bc 100644
--- a/engines/bbvs/minigames/bbairguitar.cpp
+++ b/engines/bbvs/minigames/bbairguitar.cpp
@@ -24,7 +24,7 @@
namespace Bbvs {
-static const char *kNoteSoundFilenames[] = {
+static const char * const kNoteSoundFilenames[] = {
"a.aif", "a#.aif", "b.aif", "c.aif", "c#.aif",
"d.aif", "d#.aif", "e.aif", "f.aif", "f#.aif",
"g.aif", "g#.aif", "a_oct.aif"
@@ -32,7 +32,7 @@ static const char *kNoteSoundFilenames[] = {
static const uint kNoteSoundFilenamesCount = ARRAYSIZE(kNoteSoundFilenames);
-static const char *kPatchDirectories[] = {
+static const char * const kPatchDirectories[] = {
"rock", "burp", "fart"
};
diff --git a/engines/bbvs/minigames/bbant.cpp b/engines/bbvs/minigames/bbant.cpp
index a51a9d8a08..1b9293a231 100644
--- a/engines/bbvs/minigames/bbant.cpp
+++ b/engines/bbvs/minigames/bbant.cpp
@@ -42,7 +42,7 @@ static const int kScoreTbl[] = {
0, 1, 1, 3, 2, 4
};
-static const char *kSoundFilenames[] = {
+static const char * const kSoundFilenames[] = {
"ant1.aif", "ant2.aif", "ant3.aif", "ant4.aif", "ant5.aif",
"ant6.aif", "ant7.aif", "ant8.aif", "ant9.aif", "ant10.aif",
"ant11.aif", "antmus1.aif", "fryant.aif", "stomp.aif", "bing.aif",
diff --git a/engines/bbvs/minigames/bbloogie.cpp b/engines/bbvs/minigames/bbloogie.cpp
index 70e7e7d155..df7fec3123 100644
--- a/engines/bbvs/minigames/bbloogie.cpp
+++ b/engines/bbvs/minigames/bbloogie.cpp
@@ -75,7 +75,7 @@ static const uint kPrincipalSounds[] = {
3, 4, 5, 7
};
-static const char *kSoundFilenames[] = {
+static const char * const kSoundFilenames[] = {
"loog1.aif", "loog2.aif", "loog3.aif", "loog4.aif", "loog5.aif",
"loog6.aif", "loog7.aif", "loog8.aif", "loog9.aif", "loog10.aif",
"loog11.aif", "loog12.aif", "loog13.aif", "loog14.aif", "loog15.aif",
diff --git a/engines/bbvs/minigames/bbtennis.cpp b/engines/bbvs/minigames/bbtennis.cpp
index 82c9037954..aa9e2c2ae2 100644
--- a/engines/bbvs/minigames/bbtennis.cpp
+++ b/engines/bbvs/minigames/bbtennis.cpp
@@ -35,7 +35,7 @@ static const int kLeftPlayerOffY[] = {
-18, -18, -14, -11, -11, -11, -11
};
-static const char *kSoundFilenames[] = {
+static const char * const kSoundFilenames[] = {
"tenis9.aif", "tenis10.aif", "tenis11.aif", "tenis12.aif", "tenis13.aif",
"tenis14.aif", "tenis15.aif", "tenis16.aif", "tenis17.aif", "tenis18.aif",
"tenis19.aif", "tenis20.aif", "tenis21.aif", "1ahh.aif", "1dammit.aif",