MR-2: Realtime character level updates

This commit is contained in:
Mind Rapist
2025-12-19 22:15:38 +02:00
parent e3ae5541ba
commit 06c8e6f9b0
3 changed files with 6 additions and 18 deletions

View File

@@ -670,6 +670,10 @@ void CInstanceBase::UpdateTextTailLevel(DWORD level)
//static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f);
static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);
#if defined(__BL_LEVEL_FIX__)
m_dwLevel = level;
#endif
char szText[256];
sprintf(szText, "Lv %d", level);
CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);

View File

@@ -13,6 +13,7 @@
#define FIX_SEQ_254
#define CHAR_SELECT_STATS_IMPROVEMENT // Improve stats values in character select screen
#define __ENABLE_STEALTH_FIX__
#define __BL_LEVEL_FIX__
// Python-only
#define FIX_HORSE_SKILLS_TAB