Skip to content

Commit

Permalink
- moved several IWAD dependent files into the game_support resource
Browse files Browse the repository at this point in the history
* sprite offset definitions, which are IWAD dependent
* Freedoom's decal overrides
* conversation ID definitions for the Strife teasers
* the fallback BigFont now can also be loaded by IWADs which declare themselves as GAME_Heretic or GAME_Hexen.
  • Loading branch information
coelckers committed Jul 16, 2019
1 parent c64aedb commit 77b1ebe
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/gamedata/fonts/v_font.cpp
Expand Up @@ -1583,11 +1583,17 @@ void V_InitFonts()

if (!(BigFont = V_GetFont("BigFont")))
{
if (gameinfo.gametype & GAME_Raven)
if (Wads.CheckNumForName("FONTB_S") >= 0)
{
BigFont = new FFont("BigFont", "FONTB%02u", "defbigfont", HU_FONTSTART, HU_FONTSIZE, 1, -1);
}
}

if (!BigFont)
{
// Load the generic fallback if no BigFont is found.
BigFont = V_GetFont("BigFont", "ZBIGFONT");
}

if (gameinfo.gametype & GAME_Raven)
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 77b1ebe

Please sign in to comment.