AGS: Removal of _GP macros from strings they shouldn't be in

This commit is contained in:
Paul Gilbert 2021-06-27 18:29:53 -07:00
parent 35eeefc616
commit b080b83fdb
3 changed files with 4 additions and 4 deletions

View File

@ -147,7 +147,7 @@ String GetSavegameErrorText(SavegameErrorType err) {
case kSvgErr_UnsupportedComponentVersion:
return "Component data version not supported.";
case kSvgErr_GameContentAssertion:
return "Saved content does not match current _GP(game).";
return "Saved content does not match current game.";
case kSvgErr_InconsistentData:
return "Inconsistent save data, or file is corrupted.";
case kSvgErr_InconsistentPlugin:

View File

@ -914,7 +914,7 @@ HSaveError WriteThisRoom(Stream *out) {
// persistent room's indicator
const bool persist = _G(displayed_room) < MAX_ROOMS;
out->WriteBool(persist);
// write the current _GP(troom) state, in case they save in temporary room
// write the current troom state, in case they save in temporary room
if (!persist)
_GP(troom).WriteToSavegame(out);
return HSaveError::None();
@ -960,7 +960,7 @@ HSaveError ReadThisRoom(Stream *in, int32_t cmp_ver, const PreservedParams &pp,
// save the new room music vol for later use
r_data.RoomVolume = (RoomVolumeMod)in->ReadInt32();
// read the current _GP(troom) state, in case they saved in temporary room
// read the current troom state, in case they saved in temporary room
if (!in->ReadBool())
_GP(troom).ReadFromSavegame(in);

View File

@ -316,7 +316,7 @@ static void restore_game_displayed_room_status(Stream *in, RestoredData &r_data)
if (bb)
_G(raw_saved_screen) = read_serialized_bitmap(in);
// get the current _GP(troom), in case they save in room 600 or whatever
// get the current troom, in case they save in room 600 or whatever
ReadRoomStatus_Aligned(&_GP(troom), in);
if (_GP(troom).tsdatasize > 0) {