Skip to content

Commit

Permalink
- hook up GLDEFS parser and do some final fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Jan 20, 2022
1 parent 360dd76 commit 33c71b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/core/gamecontrol.cpp
Expand Up @@ -148,6 +148,7 @@ void FontCharCreated(FGameTexture* base, FGameTexture* untranslated);
void LoadVoxelModels();
void MarkMap();
void BuildFogTable();
void ParseGLDefs();

DStatusBarCore* StatusBar;

Expand Down Expand Up @@ -1063,6 +1064,7 @@ int RunGame()
gi->app_init();
StartScreen->Progress();
G_ParseMapInfo();
ParseGLDefs();
ReplaceMusics(true);
CreateStatusBar();
SetDefaultMenuColors();
Expand Down
2 changes: 2 additions & 0 deletions source/core/r_data/gldefs.cpp
Expand Up @@ -1799,9 +1799,11 @@ class GLDefsParser
case TAG_MATERIAL:
ParseMaterial();
break;
#endif
case TAG_HARDWARESHADER:
ParseHardwareShader();
break;
#if 0
case TAG_DETAIL:
ParseDetailTexture();
break;
Expand Down

0 comments on commit 33c71b1

Please sign in to comment.