mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Change saved <summary> tag back to English
This ensures loading a 2.4 save in the English-only 2.3 or earlier doesn't result in missing characters because a translated area name appears in the save file. We are not reading from <summary> anymore in 2.4. The way this is done is by not translating the area names inside mapclass::currentarea(), but at the callsites other than the one which saves the <summary>.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
ac7fe4475c
commit
187fd85e14
@@ -1282,7 +1282,7 @@ static void menurender(void)
|
||||
font::print(PR_2X | PR_CEN, -1, 20, title, tr, tg, tb);
|
||||
font::print(
|
||||
PR_CEN, -1, 80-20,
|
||||
map.currentarea(summary->saverx, summary->savery),
|
||||
loc::gettext_roomname_special(map.currentarea(summary->saverx, summary->savery)),
|
||||
25, 255 - (help.glow / 2), 255 - (help.glow / 2)
|
||||
);
|
||||
for (int i = 0; i < 6; i++)
|
||||
@@ -2991,7 +2991,7 @@ void maprender(void)
|
||||
buffer, sizeof(buffer),
|
||||
loc::gettext("{area}, {time}"),
|
||||
"area:str, time:str",
|
||||
map.currentarea(last->saverx, last->savery),
|
||||
loc::gettext_roomname_special(map.currentarea(last->saverx, last->savery)),
|
||||
game.giventimestring(last->hours, last->minutes, last->seconds).c_str()
|
||||
);
|
||||
|
||||
@@ -3014,7 +3014,7 @@ void maprender(void)
|
||||
size_t i;
|
||||
font::print(
|
||||
PR_CEN, -1, FLIP(80, 8),
|
||||
map.currentarea(game.last_quicksave.saverx, game.last_quicksave.savery),
|
||||
loc::gettext_roomname_special(map.currentarea(game.last_quicksave.saverx, game.last_quicksave.savery)),
|
||||
25, 255 - help.glow/2, 255 - help.glow/2
|
||||
);
|
||||
for (i = 0; i < SDL_arraysize(game.crewstats); ++i)
|
||||
|
||||
Reference in New Issue
Block a user