aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/imuse.cpp231
1 files changed, 117 insertions, 114 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp
index c4b3a8c3e5..00f8e8a701 100644
--- a/scumm/imuse.cpp
+++ b/scumm/imuse.cpp
@@ -4863,123 +4863,126 @@ struct imuse_music_table {
struct imuse_music_map {
int16 room;
int16 table_index;
- int16 param1;
- int16 param2;
+ int16 unk1;
+ int16 unk2;
+ int16 unk3;
+ int16 unk4;
};
static const imuse_music_map _digStateMusicMap[] = {
- {1, 0, 0, 0 },
- {2, 2, 0, 0 },
- {3, 47, 0, 0 },
- {4, 3, 0, 0 },
- {5, 3, 0, 0 },
- {6, 3, 0, 0 },
- {7, 3, 0, 0 },
- {8, 4, 0, 0 },
- {9, 5, 0, 0 },
- {10, 4, 0, 0 },
- {11, 44, 0, 0 },
- {12, 5, 0, 0 },
- {13, 1, 0, 0 },
- {14, 5, 0, 0 },
- {15, 6, 29, 7 },
- {16, 8, 0, 0 },
- {17, 1, 0, 0 },
- {18, 9, 0, 0 },
- {19, 9, 0, 0 },
- {20, 6, 0, 0 },
- {21, 6, 0, 0 },
- {22, 44, 0, 0 },
- {23, 10, 7, 0 },
- {24, 26, 0, 0 },
- {25, 17, 0, 0 },
- {26, 17, 0, 0 },
- {27, 18, 0, 0 },
- {28, 1, 0, 0 },
- {29, 20, 0, 0 },
- {30, 22, 0, 0 },
- {31, 23, 0, 0 },
- {32, 22, 0, 0 },
- {33, 26, 0, 0 },
- {34, 24, 0, 0 },
- {35, 1, 0, 0 },
- {36, 1, 0, 0 },
- {37, 42, 0, 0 },
- {38, 43, 0, 0 },
- {39, 44, 0, 0 },
- {40, 1, 0, 0 },
- {41, 43, 0, 0 },
- {42, 44, 0, 0 },
- {43, 43, 0, 0 },
- {44, 45, 0, 0 },
- {45, 1, 0, 0 },
- {46, 33, 6, 35},
- {47, 1, 117,45},
- {48, 43, 0, 0 },
- {49, 44, 0, 0 },
- {50, 1, 0, 0 },
- {51, 1, 0, 0 },
- {52, 0, 0, 0 },
- {53, 28, 0, 0 },
- {54, 28, 0, 0 },
- {55, 29, 0, 0 },
- {56, 29, 0, 0 },
- {57, 29, 0, 0 },
- {58, 31, 0, 0 },
- {59, 1, 0, 0 },
- {60, 37, 0, 0 },
- {61, 39, 0, 0 },
- {62, 38, 0, 0 },
- {63, 39, 0, 0 },
- {64, 39, 0, 0 },
- {65, 40, 0, 0 },
- {66, 1, 0, 0 },
- {67, 40, 0, 0 },
- {68, 39, 0, 0 },
- {69, 1, 0, 0 },
- {70, 49, 0, 0 },
- {71, 1, 0, 0 },
- {72, 1, 0, 0 },
- {73, 50, 0, 0 },
- {74, 1, 0, 0 },
- {75, 51, 0, 0 },
- {76, 1, 0, 0 },
- {77, 52, 7, 0 },
- {78, 63, 0, 0 },
- {79, 1, 0, 0 },
- {80, 41, 0, 0 },
- {81, 48, 0, 0 },
- {82, 21, 0, 0 },
- {83, 27, 0, 0 },
- {84, 1, 0, 0 },
- {85, 1, 0, 0 },
- {86, 0, 0, 0 },
- {87, 1, 0, 0 },
- {88, 32, 0, 0 },
- {89, 33, 6, 35},
- {90, 16, 0, 0 },
- {91, 57, 0, 0 },
- {92, 25, 0, 0 },
- {93, 0, 0, 0 },
- {94, 36, 0, 0 },
- {95, 19, 0, 0 },
- {96, 13, 0, 0 },
- {97, 14, 0, 0 },
- {98, 11, 0, 0 },
- {99, 15, 0, 0 },
- {100, 17, 0, 0 },
- {101, 38, 0, 0 },
- {102, 1, 0, 0 },
- {103, 0, 0, 0 },
- {104, 0, 0, 0 },
- {105, 30, 128,29},
- {106, 0, 0, 0 },
- {107, 1, 0, 0 },
- {108, 1, 0, 0 },
- {109, 1, 0, 0 },
- {110, 2, 0, 0 },
- {111, 1, 0, 0 },
- {-1, 1, 0, 0 },
+ {0, 0, 0, 0, 0, 0 },
+ {1, 0, 0, 0, 0, 0 },
+ {2, 2, 0, 0, 0, 0 },
+ {3, 47, 0, 0, 0, 0 },
+ {4, 3, 0, 0, 0, 0 },
+ {5, 3, 0, 0, 0, 0 },
+ {6, 3, 0, 0, 0, 0 },
+ {7, 3, 0, 0, 0, 0 },
+ {8, 4, 0, 0, 0, 0 },
+ {9, 5, 0, 0, 0, 0 },
+ {10, 4, 0, 0, 0, 0 },
+ {11, 44, 0, 0, 0, 0 },
+ {12, 5, 0, 0, 0, 0 },
+ {13, 1, 0, 0, 0, 0 },
+ {14, 5, 0, 0, 0, 0 },
+ {15, 6, 29, 7, 0, 0 },
+ {16, 8, 0, 0, 0, 0 },
+ {17, 1, 0, 0, 0, 0 },
+ {18, 9, 0, 0, 0, 0 },
+ {19, 9, 0, 0, 0, 0 },
+ {20, 6, 0, 0, 0, 0 },
+ {21, 6, 0, 0, 0, 0 },
+ {22, 44, 0, 0, 0, 0 },
+ {23, 10, 7, 0, 0, 0 },
+ {24, 26, 0, 0, 0, 0 },
+ {25, 17, 0, 0, 0, 0 },
+ {26, 17, 0, 0, 0, 0 },
+ {27, 18, 0, 0, 0, 0 },
+ {28, 1, 0, 0, 0, 0 },
+ {29, 20, 0, 0, 0, 0 },
+ {30, 22, 0, 0, 0, 0 },
+ {31, 23, 0, 0, 0, 0 },
+ {32, 22, 0, 0, 0, 0 },
+ {33, 26, 0, 0, 0, 0 },
+ {34, 24, 0, 0, 0, 0 },
+ {35, 1, 0, 0, 0, 0 },
+ {36, 1, 0, 0, 0, 0 },
+ {37, 42, 0, 0, 0, 0 },
+ {38, 43, 0, 0, 0, 0 },
+ {39, 44, 0, 0, 0, 0 },
+ {40, 1, 0, 0, 0, 0 },
+ {41, 43, 0, 0, 0, 0 },
+ {42, 44, 0, 0, 0, 0 },
+ {43, 43, 0, 0, 0, 0 },
+ {44, 45, 0, 0, 0, 0 },
+ {45, 1, 0, 0, 0, 0 },
+ {46, 33, 6, 35, 5, 34},
+ {47, 1, 117,45, 114,46},
+ {48, 43, 0, 0, 0, 0 },
+ {49, 44, 0, 0, 0, 0 },
+ {50, 1, 0, 0, 0, 0 },
+ {51, 1, 0, 0, 0, 0 },
+ {52, 0, 0, 0, 0, 0 },
+ {53, 28, 0, 0, 0, 0 },
+ {54, 28, 0, 0, 0, 0 },
+ {55, 29, 0, 0, 0, 0 },
+ {56, 29, 0, 0, 0, 0 },
+ {57, 29, 0, 0, 0, 0 },
+ {58, 31, 0, 0, 0, 0 },
+ {59, 1, 0, 0, 0, 0 },
+ {60, 37, 0, 0, 0, 0 },
+ {61, 39, 0, 0, 0, 0 },
+ {62, 38, 0, 0, 0, 0 },
+ {63, 39, 0, 0, 0, 0 },
+ {64, 39, 0, 0, 0, 0 },
+ {65, 40, 0, 0, 0, 0 },
+ {66, 1, 0, 0, 0, 0 },
+ {67, 40, 0, 0, 0, 0 },
+ {68, 39, 0, 0, 0, 0 },
+ {69, 1, 0, 0, 0, 0 },
+ {70, 49, 0, 0, 0, 0 },
+ {71, 1, 0, 0, 0, 0 },
+ {72, 1, 0, 0, 0, 0 },
+ {73, 50, 0, 0, 0, 0 },
+ {74, 1, 0, 0, 0, 0 },
+ {75, 51, 0, 0, 0, 0 },
+ {76, 1, 0, 0, 0, 0 },
+ {77, 52, 7, 0, 0, 0 },
+ {78, 63, 0, 0, 0, 0 },
+ {79, 1, 0, 0, 0, 0 },
+ {80, 41, 0, 0, 0, 0 },
+ {81, 48, 0, 0, 0, 0 },
+ {82, 21, 0, 0, 0, 0 },
+ {83, 27, 0, 0, 0, 0 },
+ {84, 1, 0, 0, 0, 0 },
+ {85, 1, 0, 0, 0, 0 },
+ {86, 0, 0, 0, 0, 0 },
+ {87, 1, 0, 0, 0, 0 },
+ {88, 32, 0, 0, 0, 0 },
+ {89, 33, 6, 35, 5, 34},
+ {90, 16, 0, 0, 0, 0 },
+ {91, 57, 0, 0, 0, 0 },
+ {92, 25, 0, 0, 0, 0 },
+ {93, 0, 0, 0, 0, 0 },
+ {94, 36, 0, 0, 0, 0 },
+ {95, 19, 0, 0, 0, 0 },
+ {96, 13, 0, 0, 0, 0 },
+ {97, 14, 0, 0, 0, 0 },
+ {98, 11, 0, 0, 0, 0 },
+ {99, 15, 0, 0, 0, 0 },
+ {100, 17, 0, 0, 0, 0 },
+ {101, 38, 0, 0, 0, 0 },
+ {102, 1, 0, 0, 0, 0 },
+ {103, 0, 0, 0, 0, 0 },
+ {104, 0, 0, 0, 0, 0 },
+ {105, 30, 128,29, 0, 0 },
+ {106, 0, 0, 0, 0, 0 },
+ {107, 1, 0, 0, 0, 0 },
+ {108, 1, 0, 0, 0, 0 },
+ {109, 1, 0, 0, 0, 0 },
+ {110, 2, 0, 0, 0, 0 },
+ {111, 1, 0, 0, 0, 0 },
+ {-1, 1, 0, 0, 0, 0 },
};
static const imuse_music_table _digStateMusicTable[] = {