summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/sampman.h')
-rw-r--r--src/audio/sampman.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h
index b539854c..6ed239b1 100644
--- a/src/audio/sampman.h
+++ b/src/audio/sampman.h
@@ -13,9 +13,83 @@ struct tSample {
int32 nLoopEnd;
};
+#ifdef GTA_PS2
+#define PS2BANK(e) e
+#else
+#define PS2BANK(e) e = SAMPLEBANK_MAIN
+#endif // GTA_PS2
+
+
enum
{
SAMPLEBANK_MAIN,
+
+ CAR_SAMPLEBANKS_OFFSET,
+ SAMPLEBANK_CAR_PACARD = CAR_SAMPLEBANKS_OFFSET,
+ SAMPLEBANK_CAR_PATHFINDER,
+ SAMPLEBANK_CAR_PORSCHE,
+ SAMPLEBANK_CAR_SPIDER,
+ SAMPLEBANK_CAR_MERC,
+ SAMPLEBANK_CAR_MACKTRUCK,
+ SAMPLEBANK_CAR_HOTROD,
+ SAMPLEBANK_CAR_COBRA,
+ SAMPLEBANK_CAR_NONE,
+
+ PS2BANK(SAMPLEBANK_FRONTEND),
+
+ PS2BANK(SAMPLEBANK_TRAIN),
+
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_1),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_2),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_3),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_4),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_5),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_6),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_7),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_8),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_9),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_10),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_11),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_12),
+ PS2BANK(SAMPLEBANK_BUILDING_CLUB_RAGGA),
+ PS2BANK(SAMPLEBANK_BUILDING_STRIP_CLUB_1),
+ PS2BANK(SAMPLEBANK_BUILDING_STRIP_CLUB_2),
+ PS2BANK(SAMPLEBANK_BUILDING_WORKSHOP),
+ PS2BANK(SAMPLEBANK_BUILDING_PIANO_BAR),
+ PS2BANK(SAMPLEBANK_BUILDING_SAWMILL),
+ PS2BANK(SAMPLEBANK_BUILDING_DOG_FOOD_FACTORY),
+ PS2BANK(SAMPLEBANK_BUILDING_LAUNDERETTE),
+ PS2BANK(SAMPLEBANK_BUILDING_RESTAURANT_CHINATOWN),
+ PS2BANK(SAMPLEBANK_BUILDING_RESTAURANT_ITALY),
+ PS2BANK(SAMPLEBANK_BUILDING_RESTAURANT_GENERIC_1),
+ PS2BANK(SAMPLEBANK_BUILDING_RESTAURANT_GENERIC_2),
+ PS2BANK(SAMPLEBANK_BUILDING_AIRPORT),
+ PS2BANK(SAMPLEBANK_BUILDING_SHOP),
+ PS2BANK(SAMPLEBANK_BUILDING_CINEMA),
+ PS2BANK(SAMPLEBANK_BUILDING_DOCKS),
+ PS2BANK(SAMPLEBANK_BUILDING_HOME),
+ PS2BANK(SAMPLEBANK_BUILDING_PORN_1),
+ PS2BANK(SAMPLEBANK_BUILDING_PORN_2),
+ PS2BANK(SAMPLEBANK_BUILDING_PORN_3),
+ PS2BANK(SAMPLEBANK_BUILDING_POLICE_BALL),
+ PS2BANK(SAMPLEBANK_BUILDING_BANK_ALARM),
+ PS2BANK(SAMPLEBANK_BUILDING_RAVE_INDUSTRIAL),
+ PS2BANK(SAMPLEBANK_BUILDING_RAVE_COMMERCIAL),
+ PS2BANK(SAMPLEBANK_BUILDING_RAVE_SUBURBAN),
+ PS2BANK(SAMPLEBANK_BUILDING_RAVE_COMMERCIAL_2),
+
+ PS2BANK(SAMPLEBANK_BUILDING_39),
+ PS2BANK(SAMPLEBANK_BUILDING_40),
+ PS2BANK(SAMPLEBANK_BUILDING_41),
+ PS2BANK(SAMPLEBANK_BUILDING_42),
+ PS2BANK(SAMPLEBANK_BUILDING_43),
+ PS2BANK(SAMPLEBANK_BUILDING_44),
+ PS2BANK(SAMPLEBANK_BUILDING_45),
+ PS2BANK(SAMPLEBANK_BUILDING_46),
+ PS2BANK(SAMPLEBANK_BUILDING_47),
+
+ PS2BANK(SAMPLEBANK_EXTRAS),
+
SAMPLEBANK_PED,
MAX_SAMPLEBANKS,
SAMPLEBANK_INVALID