mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
- fixed Shadow Warrior startup.
It runs to the menu, unfortunately key input is broken.
This commit is contained in:
parent
5b1036093c
commit
535c68fac1
1 changed files with 2 additions and 21 deletions
|
@ -701,26 +701,6 @@ LoadLevel(const char *filename)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
LoadImages(const char *filename)
|
||||
{
|
||||
short ndx;
|
||||
FILE *fin;
|
||||
|
||||
if (TileFiles.LoadArtFile(filename) == -1)
|
||||
{
|
||||
TerminateGame();
|
||||
#ifdef RENDERTYPEWIN
|
||||
{
|
||||
wm_msgbox(apptitle, "Art not found. Please check your GRP file.");
|
||||
}
|
||||
#else
|
||||
printf("Art not found. Please check your GRP file.\n");
|
||||
#endif
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
void LoadDemoRun(void)
|
||||
{
|
||||
short i;
|
||||
|
@ -968,7 +948,7 @@ InitGame(int32_t argc, char const * const * argv)
|
|||
//_outtext("\n\n\n\n\n\n\n\n");
|
||||
//AnimateCacheCursor();
|
||||
buildputs("Loading sound and graphics...\n");
|
||||
LoadImages("tiles%03d.art");
|
||||
TileFiles.LoadArtSet("tiles%03d.art");
|
||||
|
||||
// Now free it up for later use
|
||||
/*
|
||||
|
@ -2828,6 +2808,7 @@ GameIntro(void)
|
|||
void
|
||||
Control(int32_t argc, char const * const * argv)
|
||||
{
|
||||
cacheInitBuffer(50'000'000);
|
||||
|
||||
InitGame(argc, argv);
|
||||
|
||||
|
|
Loading…
Reference in a new issue