mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +00:00
Always load widescreen def file
This commit is contained in:
parent
0a74187512
commit
f87f38b8f0
3 changed files with 30 additions and 20 deletions
|
@ -1511,6 +1511,10 @@ int app_main(int argc, char const * const * argv)
|
||||||
LoadExtraArts();
|
LoadExtraArts();
|
||||||
|
|
||||||
levelLoadDefaults();
|
levelLoadDefaults();
|
||||||
|
|
||||||
|
loaddefinitionsfile(BLOODWIDESCREENDEF);
|
||||||
|
loaddefinitions_game(BLOODWIDESCREENDEF, FALSE);
|
||||||
|
|
||||||
const char *defsfile = G_DefFile();
|
const char *defsfile = G_DefFile();
|
||||||
uint32_t stime = timerGetTicks();
|
uint32_t stime = timerGetTicks();
|
||||||
if (!loaddefinitionsfile(defsfile))
|
if (!loaddefinitionsfile(defsfile))
|
||||||
|
@ -2134,6 +2138,8 @@ static int parsedefinitions_game(scriptfile *pScript, int firstPass)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!firstPass)
|
||||||
|
{
|
||||||
if (EDUKE32_PREDICT_FALSE((unsigned)tile >= MAXUSERTILES))
|
if (EDUKE32_PREDICT_FALSE((unsigned)tile >= MAXUSERTILES))
|
||||||
{
|
{
|
||||||
initprintf("Error: missing or invalid 'tile number' for texture definition near line %s:%d\n",
|
initprintf("Error: missing or invalid 'tile number' for texture definition near line %s:%d\n",
|
||||||
|
@ -2160,6 +2166,7 @@ static int parsedefinitions_game(scriptfile *pScript, int firstPass)
|
||||||
if (haveview)
|
if (haveview)
|
||||||
picanm[tile].extra = view&7;
|
picanm[tile].extra = view&7;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
@ -241,6 +241,7 @@ void G_LoadGroups(int32_t autoload)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loaddefinitions_game(BLOODWIDESCREENDEF, TRUE);
|
||||||
loaddefinitions_game(G_DefFile(), TRUE);
|
loaddefinitions_game(G_DefFile(), TRUE);
|
||||||
|
|
||||||
struct strllist *s;
|
struct strllist *s;
|
||||||
|
|
|
@ -39,6 +39,8 @@ extern int g_useCwd;
|
||||||
#define APPBASENAME "nblood"
|
#define APPBASENAME "nblood"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define BLOODWIDESCREENDEF "blood_widescreen.def"
|
||||||
|
|
||||||
#define BYTEVERSION 102
|
#define BYTEVERSION 102
|
||||||
#define EXEVERSION 101
|
#define EXEVERSION 101
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue