summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-23 15:14:26 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-23 15:15:36 +0200
commitbcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1 (patch)
tree7ba31097ee9065fa78ce3260c592b7d7fa466b0f /src
parentupdate librw (diff)
downloadre3-bcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1.tar
re3-bcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1.tar.gz
re3-bcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1.tar.bz2
re3-bcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1.tar.lz
re3-bcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1.tar.xz
re3-bcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1.tar.zst
re3-bcb2b7a534d6ed38c2109bfff253cfd7b3ca0ca1.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/sampman.h98
-rw-r--r--src/core/config.h1
-rw-r--r--src/rw/RwMatFX.cpp6
3 files changed, 102 insertions, 3 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h
index 391e884b..8c909af7 100644
--- a/src/audio/sampman.h
+++ b/src/audio/sampman.h
@@ -220,6 +220,103 @@ extern uint32 BankStartOffset[MAX_SAMPLEBANKS];
static char StreamedNameTable[][25]=
{
+#ifdef PS2_AUDIO
+ "AUDIO\\MUSIC\\HEAD.VB",
+ "AUDIO\\MUSIC\\CLASS.VB",
+ "AUDIO\\MUSIC\\KJAH.VB",
+ "AUDIO\\MUSIC\\RISE.VB",
+ "AUDIO\\MUSIC\\LIPS.VB",
+ "AUDIO\\MUSIC\\GAME.VB",
+ "AUDIO\\MUSIC\\MSX.VB",
+ "AUDIO\\MUSIC\\FLASH.VB",
+ "AUDIO\\MUSIC\\CHAT.VB",
+ "AUDIO\\MUSIC\\HEAD.VB",
+ "AUDIO\\MUSIC\\POLICE.VB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D_PH4.VB",
+ "AUDIO\\PHONE\\HD_PH5.VB",
+ "AUDIO\\PHONE\\MT_PH1.VB",
+ "AUDIO\\PHONE\\MT_PH2.VB",
+ "AUDIO\\PHONE\\MT_PH3.VB",
+ "AUDIO\\PHONE\\MT_PH4.VB",
+ "AUDIO\\MUSIC\\MISCOM.VB",
+ "AUDIO\\MUSIC\\END.VB",
+#else
"AUDIO\\HEAD.WAV",
"AUDIO\\CLASS.WAV",
"AUDIO\\KJAH.WAV",
@@ -315,6 +412,7 @@ static char StreamedNameTable[][25]=
"AUDIO\\MT_PH4.MP3",
"AUDIO\\MISCOM.WAV",
"AUDIO\\END.MP3",
+#endif
"AUDIO\\lib_a1.WAV",
"AUDIO\\lib_a2.WAV",
"AUDIO\\lib_a.WAV",
diff --git a/src/core/config.h b/src/core/config.h
index 9dd25064..2f11a84b 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -278,3 +278,4 @@ enum Config {
// Audio
#define AUDIO_CACHE // cache sound lengths to speed up the cold boot
+//#define PS2_AUDIO // changes audio paths for cutscenes and radio to PS2 paths, needs vbdec to support VB with MSS \ No newline at end of file
diff --git a/src/rw/RwMatFX.cpp b/src/rw/RwMatFX.cpp
index 3533eb24..a128ff1a 100644
--- a/src/rw/RwMatFX.cpp
+++ b/src/rw/RwMatFX.cpp
@@ -51,9 +51,9 @@ extern "C" {
extern int MatFXAtomicDataOffset;
void _rpMatFXD3D8AtomicMatFXEnvRender(RxD3D8InstanceData* inst, int flags, int sel, RwTexture* texture, RwTexture* envMap);
- void _rpMatFXD3D8AtomicMatFXRenderBlack(RxD3D8InstanceData *inst);
- void _rpMatFXD3D8AtomicMatFXBumpMapRender(RxD3D8InstanceData *inst, int flags, RwTexture *texture, RwTexture *bumpMap, RwTexture *envMap);
- void _rpMatFXD3D8AtomicMatFXDualPassRender(RxD3D8InstanceData *inst, int flags, RwTexture *texture, RwTexture *dualTexture);
+ void _rpMatFXD3D8AtomicMatFXRenderBlack(RxD3D8InstanceData *inst);
+ void _rpMatFXD3D8AtomicMatFXBumpMapRender(RxD3D8InstanceData *inst, int flags, RwTexture *texture, RwTexture *bumpMap, RwTexture *envMap);
+ void _rpMatFXD3D8AtomicMatFXDualPassRender(RxD3D8InstanceData *inst, int flags, RwTexture *texture, RwTexture *dualTexture);
}