mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +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();
|
||||
Printf("Initializing sound system\n");
|
||||
sndInit();
|
||||
registerosdcommands();
|
||||
|
||||
gChoke.sub_83ff0(518, sub_84230);
|
||||
if (bAddUserMap)
|
||||
{
|
||||
|
@ -1037,10 +1039,11 @@ int GameInterface::app_main()
|
|||
gStartNewGame = 1;
|
||||
}
|
||||
videoSetViewableArea(0, 0, xdim - 1, ydim - 1);
|
||||
if (!bQuickStart)
|
||||
bool playvideo = !bQuickStart;
|
||||
|
||||
if (playvideo)
|
||||
credLogosDos();
|
||||
|
||||
registerosdcommands();
|
||||
|
||||
RESTART:
|
||||
sub_79760();
|
||||
|
@ -1228,9 +1231,10 @@ RESTART:
|
|||
gDemo.NextDemo();
|
||||
#endif
|
||||
videoSetViewableArea(0,0,xdim-1,ydim-1);
|
||||
if (!bQuickStart)
|
||||
credLogosDos();
|
||||
playvideo = !bQuickStart;
|
||||
}
|
||||
else playvideo = false;
|
||||
|
||||
goto RESTART;
|
||||
}
|
||||
ShutDown();
|
||||
|
|
|
@ -3370,13 +3370,8 @@ void viewDrawScreen(bool sceneonly)
|
|||
{
|
||||
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);
|
||||
yax_drawrooms(viewProcessSprites, nSectnum, 0, gInterpolate);
|
||||
viewProcessSprites(cX, cY, cZ, fix16_to_int(cA), gInterpolate);
|
||||
bool do_ror_hack = false;
|
||||
for (int i = 0; i < 16; i++)
|
||||
|
|
Loading…
Reference in a new issue