MCPcopy Create free account
hub / github.com/NBlood/NBlood / ScreenSaveSetup

Function ScreenSaveSetup

source/sw/src/draw.cpp:2704–2720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2702}
2703
2704int
2705ScreenSaveSetup(PLAYERp pp)
2706{
2707 short i;
2708
2709 ScreenLoadSaveSetup(Player + myconnectindex);
2710
2711 setviewtotile(SAVE_SCREEN_TILE, SAVE_SCREEN_YSIZE, SAVE_SCREEN_XSIZE);
2712
2713 ScreenSavePic = TRUE;
2714 drawscreen(Player + myconnectindex);
2715 ScreenSavePic = FALSE;
2716
2717 setviewback();
2718
2719 return SAVE_SCREEN_TILE;
2720}
2721
2722
2723

Callers 1

SaveGameFunction · 0.85

Calls 2

ScreenLoadSaveSetupFunction · 0.85
drawscreenFunction · 0.70

Tested by

no test coverage detected