diff options
Diffstat (limited to 'src/f_finale.c')
-rw-r--r-- | src/f_finale.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/f_finale.c b/src/f_finale.c index f72f6c5a..631578e4 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: f_finale.c 149 2005-10-02 04:16:47Z fraggle $ +// $Id: f_finale.c 160 2005-10-03 21:39:39Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2005/10/03 21:39:39 fraggle +// Dehacked text substitutions +// // Revision 1.3 2005/10/02 04:16:47 fraggle // Fixes for Final Doom // @@ -39,11 +42,12 @@ static const char -rcsid[] = "$Id: f_finale.c 149 2005-10-02 04:16:47Z fraggle $"; +rcsid[] = "$Id: f_finale.c 160 2005-10-03 21:39:39Z fraggle $"; #include <ctype.h> // Functions. +#include "deh_main.h" #include "i_system.h" #include "m_swap.h" #include "z_zone.h" @@ -152,6 +156,10 @@ void F_StartFinale (void) finaleflat = screen->background; } } + + // Do dehacked substitutions of strings + + finaletext = DEH_String(finaletext); finalestage = 0; finalecount = 0; @@ -555,7 +563,7 @@ void F_CastDrawer (void) // erase the entire screen to a background V_DrawPatch (0,0,0, W_CacheLumpName ("BOSSBACK", PU_CACHE)); - F_CastPrint (castorder[castnum].name); + F_CastPrint (DEH_String(castorder[castnum].name)); // draw the current frame in the middle of the screen sprdef = &sprites[caststate->sprite]; |