mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Add PR_RTL_XFLIP to some important places
Okay, the "Font:" thing needed some local code after all, because both the interface font as well as the level font are used there. But it's good enough - all the other places can just use the flag. Notably, I also used this for the menus, since the existing ones are kinda LTR-oriented, and it's something that we don't *really* have to do, but I think it shows we care!
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
eac612c309
commit
2b22f7cda2
@@ -14,7 +14,6 @@
|
||||
#include "Entity.h"
|
||||
#include "Enums.h"
|
||||
#include "FileSystemUtils.h"
|
||||
#include "Font.h"
|
||||
#include "GlitchrunnerMode.h"
|
||||
#include "Graphics.h"
|
||||
#include "LevelDebugger.h"
|
||||
@@ -6487,7 +6486,7 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
||||
for (uint8_t i = 0; i < font::font_idx_options_n; i++)
|
||||
{
|
||||
uint8_t idx = font::font_idx_options[i];
|
||||
option(font::get_main_font_display_name(idx), true, PR_FONT_IDX(idx, false));
|
||||
option(font::get_main_font_display_name(idx), true, PR_FONT_IDX(idx, font::is_rtl(PR_FONT_INTERFACE)) | PR_RTL_XFLIP);
|
||||
if (font::level_font_is_main_idx(idx))
|
||||
{
|
||||
option_match = i;
|
||||
|
||||
Reference in New Issue
Block a user