mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Strip out old special roomname system
This commit replaces the old system with the new one, making it much easier to edit the transforming and glitchy roomnames. Additionally, this syncs flag 72 to finalstretch. Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
dd108a035f
commit
5beaf973ce
@@ -1933,16 +1933,7 @@ void gamerender(void)
|
||||
|
||||
if ((map.extrarow==0 || (map.custommode && map.roomname[0] != '\0')) && !force_roomname_hidden)
|
||||
{
|
||||
const char* roomname;
|
||||
|
||||
if (map.finalmode)
|
||||
{
|
||||
roomname = loc::gettext_roomname(map.custommode, game.roomx, game.roomy, map.glitchname, map.roomname_special);
|
||||
}
|
||||
else
|
||||
{
|
||||
roomname = loc::gettext_roomname(map.custommode, game.roomx, game.roomy, map.roomname, map.roomname_special);
|
||||
}
|
||||
const char* roomname = loc::gettext_roomname(map.custommode, game.roomx, game.roomy, map.roomname, map.roomname_special);
|
||||
|
||||
graphics.render_roomname(
|
||||
roomname_untranslated ? PR_FONT_8X8 : PR_FONT_LEVEL,
|
||||
@@ -2281,10 +2272,6 @@ static void draw_roomname_menu(void)
|
||||
{
|
||||
name = loc::gettext_roomname_special(map.hiddenname);
|
||||
}
|
||||
else if (map.finalmode)
|
||||
{
|
||||
name = loc::gettext_roomname(map.custommode, game.roomx, game.roomy, map.glitchname, map.roomname_special);
|
||||
}
|
||||
else
|
||||
{
|
||||
name = loc::gettext_roomname(map.custommode, game.roomx, game.roomy, map.roomname, map.roomname_special);
|
||||
|
||||
Reference in New Issue
Block a user