diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-06 08:42:58 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-06 08:42:58 +0300 |
commit | afa4fa65102360a157b500e2771c1c350fd6e1e0 (patch) | |
tree | bcf6a3b841c22a7c46b4a6bcb61cc079887905bb /src/audio/sampman.h | |
parent | 68caac1abd44b40bd37d8a9defb0d7b124b46a96 (diff) | |
parent | 2016cd54b0038cf3a56fb4aa6b36ce98e12cbe7f (diff) |
Merge branch 'master' into miami
# Conflicts:
# src/audio/AudioLogic.cpp
# src/audio/AudioSamples.h
# src/audio/soundlist.h
# src/core/Frontend.cpp
# src/core/Frontend.h
# src/core/MenuScreens.cpp
# src/peds/Ped.cpp
# src/peds/PlayerPed.cpp
# src/render/Hud.cpp
# src/vehicles/Vehicle.h
Diffstat (limited to 'src/audio/sampman.h')
-rw-r--r-- | src/audio/sampman.h | 74 |
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 |