mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-19 22:00:49 +00:00
- some minor reordering of code to only have one call to credLogosDos.
This commit is contained in:
parent
709dac7c37
commit
8a92ecb70c
2 changed files with 9 additions and 10 deletions
|
@ -1030,6 +1030,8 @@ int GameInterface::app_main()
|
||||||
hud_size.Callback();
|
hud_size.Callback();
|
||||||
Printf("Initializing sound system\n");
|
Printf("Initializing sound system\n");
|
||||||
sndInit();
|
sndInit();
|
||||||
|
registerosdcommands();
|
||||||
|
|
||||||
gChoke.sub_83ff0(518, sub_84230);
|
gChoke.sub_83ff0(518, sub_84230);
|
||||||
if (bAddUserMap)
|
if (bAddUserMap)
|
||||||
{
|
{
|
||||||
|
@ -1037,10 +1039,11 @@ int GameInterface::app_main()
|
||||||
gStartNewGame = 1;
|
gStartNewGame = 1;
|
||||||
}
|
}
|
||||||
videoSetViewableArea(0, 0, xdim - 1, ydim - 1);
|
videoSetViewableArea(0, 0, xdim - 1, ydim - 1);
|
||||||
if (!bQuickStart)
|
bool playvideo = !bQuickStart;
|
||||||
|
|
||||||
|
if (playvideo)
|
||||||
credLogosDos();
|
credLogosDos();
|
||||||
|
|
||||||
registerosdcommands();
|
|
||||||
|
|
||||||
RESTART:
|
RESTART:
|
||||||
sub_79760();
|
sub_79760();
|
||||||
|
@ -1228,9 +1231,10 @@ RESTART:
|
||||||
gDemo.NextDemo();
|
gDemo.NextDemo();
|
||||||
#endif
|
#endif
|
||||||
videoSetViewableArea(0,0,xdim-1,ydim-1);
|
videoSetViewableArea(0,0,xdim-1,ydim-1);
|
||||||
if (!bQuickStart)
|
playvideo = !bQuickStart;
|
||||||
credLogosDos();
|
|
||||||
}
|
}
|
||||||
|
else playvideo = false;
|
||||||
|
|
||||||
goto RESTART;
|
goto RESTART;
|
||||||
}
|
}
|
||||||
ShutDown();
|
ShutDown();
|
||||||
|
|
|
@ -3370,13 +3370,8 @@ void viewDrawScreen(bool sceneonly)
|
||||||
{
|
{
|
||||||
gView->pSprite->cstat |= 514;
|
gView->pSprite->cstat |= 514;
|
||||||
}
|
}
|
||||||
#ifdef POLYMER
|
|
||||||
if (videoGetRenderMode() == REND_POLYMER)
|
|
||||||
polymer_setanimatesprites(viewProcessSprites, cX, cY, cZ, fix16_to_int(cA), gInterpolate);
|
|
||||||
#endif
|
|
||||||
yax_preparedrawrooms();
|
|
||||||
renderDrawRoomsQ16(cX, cY, cZ, cA, q16horiz + fix16_from_int(defaultHoriz) + deliriumPitchI, nSectnum);
|
renderDrawRoomsQ16(cX, cY, cZ, cA, q16horiz + fix16_from_int(defaultHoriz) + deliriumPitchI, nSectnum);
|
||||||
yax_drawrooms(viewProcessSprites, nSectnum, 0, gInterpolate);
|
|
||||||
viewProcessSprites(cX, cY, cZ, fix16_to_int(cA), gInterpolate);
|
viewProcessSprites(cX, cY, cZ, fix16_to_int(cA), gInterpolate);
|
||||||
bool do_ror_hack = false;
|
bool do_ror_hack = false;
|
||||||
for (int i = 0; i < 16; i++)
|
for (int i = 0; i < 16; i++)
|
||||||
|
|
Loading…
Reference in a new issue