Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
Support for the upcoming Syreen re-dub by SoulReaver
Browse files Browse the repository at this point in the history
A bit of jiggery pokery was involved to get the Syreen comm sequence to act like the original PC version per SoulReaver's request. Dude is killing it with these new voice mods.
  • Loading branch information
Serosis committed Mar 14, 2018
1 parent 9506286 commit 0f352a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/uqm/comm/syreen/syreenc.c
Expand Up @@ -780,7 +780,9 @@ NormalSyreen (RESPONSE_REF R)
SET_GAME_STATE (SYREEN_HOME_VISITS, 0);
SET_GAME_STATE (SYREEN_KNOW_ABOUT_MYCON, 1);

SyreenShuttle ((RESPONSE_REF)0);
if(!SyreenVoiceFix){
SyreenShuttle ((RESPONSE_REF)0);
}
return;
}

Expand Down Expand Up @@ -1011,8 +1013,8 @@ Intro (void)
Response (we_are_impressed, InitialSyreen);
}
}
#ifdef NEVER
else if (!GET_GAME_STATE (SYREEN_SHUTTLE))

else if (!GET_GAME_STATE (SYREEN_SHUTTLE) && SyreenVoiceFix)
{
switch (NumVisits++)
{
Expand All @@ -1024,7 +1026,7 @@ Intro (void)

SyreenShuttle ((RESPONSE_REF)0);
}
#endif /* NEVER */

else if (GET_GAME_STATE (SHIP_VAULT_UNLOCKED))
{
PlanAmbush ((RESPONSE_REF)0);
Expand Down
8 changes: 6 additions & 2 deletions src/uqm/setup.c
Expand Up @@ -74,11 +74,12 @@ STRING GameStrings;
QUEUE disp_q;
// Serosis
BOOLEAN solTexturesPresent;
BOOLEAN SyreenVoiceFix;
BOOLEAN comingFromInit;
BYTE Rando;
// JMS_GFX
BOOLEAN hires2xPackPresent;
BOOLEAN hires4xPackPresent;
BOOLEAN comingFromInit;
BYTE Rando;

uio_Repository *repository;
uio_DirHandle *rootDir;
Expand Down Expand Up @@ -176,6 +177,9 @@ LoadKernel (int argc, char *argv[], BOOLEAN ReloadPackages)
loadAddon("rmx-utwig");
// Autoload support for Soul Reaver's dialog fixes
loadAddon("MelnormeVoiceFix");
if(loadAddon("SyreenVoiceFix")){
SyreenVoiceFix = TRUE;
}
}

if (opt3doMusic) {
Expand Down
1 change: 1 addition & 0 deletions src/uqm/setup.h
Expand Up @@ -64,6 +64,7 @@ extern QUEUE race_q[];

// Serosis
extern BOOLEAN solTexturesPresent;
extern BOOLEAN SyreenVoiceFix;
extern BOOLEAN hires2xPackPresent; // JMS
extern BOOLEAN hires4xPackPresent; // JMS
extern BOOLEAN comingFromInit;
Expand Down

0 comments on commit 0f352a2

Please sign in to comment.