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.h132
1 files changed, 66 insertions, 66 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h
index 9a94e16f..d4b2621a 100644
--- a/src/audio/sampman.h
+++ b/src/audio/sampman.h
@@ -16,83 +16,83 @@ struct tSample {
#ifdef GTA_PS2
#define PS2BANK(e) e
#else
-#define PS2BANK(e) e = SAMPLEBANK_MAIN
+#define PS2BANK(e) e = SFX_BANK_0
#endif // GTA_PS2
enum
{
- SAMPLEBANK_MAIN,
+ SFX_BANK_0,
- 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,
+ CAR_SFX_BANKS_OFFSET,
+ SFX_BANK_PACARD = CAR_SFX_BANKS_OFFSET,
+ SFX_BANK_PATHFINDER,
+ SFX_BANK_PORSCHE,
+ SFX_BANK_SPIDER,
+ SFX_BANK_MERC,
+ SFX_BANK_TRUCK,
+ SFX_BANK_HOTROD,
+ SFX_BANK_COBRA,
+ SFX_BANK_NONE,
- PS2BANK(SAMPLEBANK_FRONTEND),
+ PS2BANK(SFX_BANK_FRONT_END_MENU),
- PS2BANK(SAMPLEBANK_TRAIN),
+ PS2BANK(SFX_BANK_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(SFX_BANK_BUILDING_CLUB_1),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_2),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_3),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_4),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_5),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_6),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_7),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_8),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_9),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_10),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_11),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_12),
+ PS2BANK(SFX_BANK_BUILDING_CLUB_RAGGA),
+ PS2BANK(SFX_BANK_BUILDING_STRIP_CLUB_1),
+ PS2BANK(SFX_BANK_BUILDING_STRIP_CLUB_2),
+ PS2BANK(SFX_BANK_BUILDING_WORKSHOP),
+ PS2BANK(SFX_BANK_BUILDING_PIANO_BAR),
+ PS2BANK(SFX_BANK_BUILDING_SAWMILL),
+ PS2BANK(SFX_BANK_BUILDING_DOG_FOOD_FACTORY),
+ PS2BANK(SFX_BANK_BUILDING_LAUNDERETTE),
+ PS2BANK(SFX_BANK_BUILDING_RESTAURANT_CHINATOWN),
+ PS2BANK(SFX_BANK_BUILDING_RESTAURANT_ITALY),
+ PS2BANK(SFX_BANK_BUILDING_RESTAURANT_GENERIC_1),
+ PS2BANK(SFX_BANK_BUILDING_RESTAURANT_GENERIC_2),
+ PS2BANK(SFX_BANK_BUILDING_AIRPORT),
+ PS2BANK(SFX_BANK_BUILDING_SHOP),
+ PS2BANK(SFX_BANK_BUILDING_CINEMA),
+ PS2BANK(SFX_BANK_BUILDING_DOCKS),
+ PS2BANK(SFX_BANK_BUILDING_HOME),
+ PS2BANK(SFX_BANK_BUILDING_PORN_1),
+ PS2BANK(SFX_BANK_BUILDING_PORN_2),
+ PS2BANK(SFX_BANK_BUILDING_PORN_3),
+ PS2BANK(SFX_BANK_BUILDING_POLICE_BALL),
+ PS2BANK(SFX_BANK_BUILDING_BANK_ALARM),
+ PS2BANK(SFX_BANK_BUILDING_RAVE_INDUSTRIAL),
+ PS2BANK(SFX_BANK_BUILDING_RAVE_COMMERCIAL),
+ PS2BANK(SFX_BANK_BUILDING_RAVE_SUBURBAN),
+ PS2BANK(SFX_BANK_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(SFX_BANK_BUILDING_39),
+ PS2BANK(SFX_BANK_BUILDING_40),
+ PS2BANK(SFX_BANK_BUILDING_41),
+ PS2BANK(SFX_BANK_BUILDING_42),
+ PS2BANK(SFX_BANK_BUILDING_43),
+ PS2BANK(SFX_BANK_BUILDING_44),
+ PS2BANK(SFX_BANK_BUILDING_45),
+ PS2BANK(SFX_BANK_BUILDING_46),
+ PS2BANK(SFX_BANK_BUILDING_47),
- PS2BANK(SAMPLEBANK_EXTRAS),
+ PS2BANK(SFX_BANK_GENERIC_EXTRA),
- SAMPLEBANK_PED,
- MAX_SAMPLEBANKS,
- SAMPLEBANK_INVALID
+ SFX_BANK_PED_COMMENTS,
+ MAX_SFX_BANKS,
+ INVALID_SFX_BANK
};
#define MAX_PEDSFX 7
@@ -216,7 +216,7 @@ public:
};
extern cSampleManager SampleManager;
-extern uint32 BankStartOffset[MAX_SAMPLEBANKS];
+extern uint32 BankStartOffset[MAX_SFX_BANKS];
#ifdef AUDIO_OPUS
static char StreamedNameTable[][25] = {