From 6ace2f8bf01a7ac505d408e3288fa8035bc1579d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 14 Jan 2020 20:12:08 +0100 Subject: [PATCH] - added savepic generation to RR. --- source/rr/src/duke3d.h | 1 + source/rr/src/game.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/source/rr/src/duke3d.h b/source/rr/src/duke3d.h index 0b73ca1e5..1a840434c 100644 --- a/source/rr/src/duke3d.h +++ b/source/rr/src/duke3d.h @@ -148,6 +148,7 @@ struct GameInterface : ::GameInterface int app_main() override; void UpdateScreenSize() override; void FreeGameData() override; + bool GenerateSavePic() override; bool validate_hud(int) override; void set_hud_layout(int size) override; void set_hud_scale(int size) override; diff --git a/source/rr/src/game.cpp b/source/rr/src/game.cpp index ccaf44f5e..f33952647 100644 --- a/source/rr/src/game.cpp +++ b/source/rr/src/game.cpp @@ -1510,6 +1510,13 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio) } } +bool GameInterface::GenerateSavePic() +{ + G_DrawRooms(myconnectindex, 65536); + return true; +} + + void G_DumpDebugInfo(void) { int32_t j,x;