mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +00:00
- save the global view variables in a savegame.
I have no idea why but these did not get restored to something useful anymore.
This commit is contained in:
parent
b253ae123f
commit
1cf0ca3f75
1 changed files with 4 additions and 0 deletions
|
@ -646,6 +646,8 @@ void MyLoadSave::Load(void)
|
||||||
Read(&gMapRev, sizeof(gMapRev));
|
Read(&gMapRev, sizeof(gMapRev));
|
||||||
Read(&gSongId, sizeof(gSkyCount));
|
Read(&gSongId, sizeof(gSkyCount));
|
||||||
Read(&gFogMode, sizeof(gFogMode));
|
Read(&gFogMode, sizeof(gFogMode));
|
||||||
|
Read(&gViewAngle, sizeof(gViewAngle));
|
||||||
|
Read(&gViewLook, sizeof(gViewLook));
|
||||||
#ifdef NOONE_EXTENSIONS
|
#ifdef NOONE_EXTENSIONS
|
||||||
Read(&gModernMap, sizeof(gModernMap));
|
Read(&gModernMap, sizeof(gModernMap));
|
||||||
#endif
|
#endif
|
||||||
|
@ -732,6 +734,8 @@ void MyLoadSave::Save(void)
|
||||||
Write(&gMapRev, sizeof(gMapRev));
|
Write(&gMapRev, sizeof(gMapRev));
|
||||||
Write(&gSongId, sizeof(gSkyCount));
|
Write(&gSongId, sizeof(gSkyCount));
|
||||||
Write(&gFogMode, sizeof(gFogMode));
|
Write(&gFogMode, sizeof(gFogMode));
|
||||||
|
Write(&gViewAngle, sizeof(gViewAngle));
|
||||||
|
Write(&gViewLook, sizeof(gViewLook));
|
||||||
#ifdef NOONE_EXTENSIONS
|
#ifdef NOONE_EXTENSIONS
|
||||||
Write(&gModernMap, sizeof(gModernMap));
|
Write(&gModernMap, sizeof(gModernMap));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue