mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
- enabled savegame pictures in Shadow Warrior.
Unlike the original game this enables mirrors - no idea why they were disabled, some limitation of the software renderer, maybe?
This commit is contained in:
parent
6ace2f8bf0
commit
e30975581b
2 changed files with 5 additions and 16 deletions
|
@ -2049,7 +2049,7 @@ drawscreen(PLAYERp pp)
|
||||||
DrawScreen = TRUE;
|
DrawScreen = TRUE;
|
||||||
PreDraw();
|
PreDraw();
|
||||||
// part of new border refresh method
|
// part of new border refresh method
|
||||||
if (RedrawScreen)
|
if (RedrawScreen && !ScreenSavePic)
|
||||||
{
|
{
|
||||||
RedrawCompass = TRUE;
|
RedrawCompass = TRUE;
|
||||||
RedrawScreen = FALSE;
|
RedrawScreen = FALSE;
|
||||||
|
@ -2189,7 +2189,7 @@ drawscreen(PLAYERp pp)
|
||||||
DrawOverlapRoom(tx, ty, tz, tang, thoriz, tsectnum);
|
DrawOverlapRoom(tx, ty, tz, tang, thoriz, tsectnum);
|
||||||
OverlapDraw = FALSE;
|
OverlapDraw = FALSE;
|
||||||
|
|
||||||
if (dimensionmode != 6 && !ScreenSavePic)
|
if (dimensionmode != 6)// && !ScreenSavePic)
|
||||||
{
|
{
|
||||||
// TEST this! Changed to camerapp
|
// TEST this! Changed to camerapp
|
||||||
//JS_DrawMirrors(camerapp, tx, ty, tz, tang, thoriz);
|
//JS_DrawMirrors(camerapp, tx, ty, tz, tang, thoriz);
|
||||||
|
@ -2444,27 +2444,15 @@ DrawCompass(PLAYERp pp)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
bool GameInterface::GenerateSavePic()
|
||||||
int
|
|
||||||
ScreenSaveSetup(PLAYERp pp)
|
|
||||||
{
|
{
|
||||||
short i;
|
short i;
|
||||||
|
|
||||||
ScreenLoadSaveSetup(Player + myconnectindex);
|
|
||||||
|
|
||||||
renderSetTarget(SAVE_SCREEN_TILE, SAVE_SCREEN_YSIZE, SAVE_SCREEN_XSIZE);
|
|
||||||
|
|
||||||
ScreenSavePic = TRUE;
|
ScreenSavePic = TRUE;
|
||||||
drawscreen(Player + myconnectindex);
|
drawscreen(Player + myconnectindex);
|
||||||
ScreenSavePic = FALSE;
|
ScreenSavePic = FALSE;
|
||||||
|
return true;
|
||||||
renderRestoreTarget();
|
|
||||||
|
|
||||||
return SAVE_SCREEN_TILE;
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
END_SW_NS
|
END_SW_NS
|
||||||
|
|
|
@ -2431,6 +2431,7 @@ struct GameInterface : ::GameInterface
|
||||||
int app_main() override;
|
int app_main() override;
|
||||||
void UpdateScreenSize() override;
|
void UpdateScreenSize() override;
|
||||||
void FreeGameData() override;
|
void FreeGameData() override;
|
||||||
|
bool GenerateSavePic() override;
|
||||||
bool validate_hud(int) override;
|
bool validate_hud(int) override;
|
||||||
void set_hud_layout(int size) override;
|
void set_hud_layout(int size) override;
|
||||||
void set_hud_scale(int size) override;
|
void set_hud_scale(int size) override;
|
||||||
|
|
Loading…
Reference in a new issue