Remove LPCWSTR from shared UI text structs

This commit is contained in:
notmatthewbeshay 2026-03-10 22:04:38 +11:00
parent c3f3bc5a66
commit 7b3b49c662

View file

@ -321,8 +321,8 @@ typedef struct _TutorialPopupInfo
#else #else
UIScene *interactScene; UIScene *interactScene;
#endif #endif
LPCWSTR desc; const wchar_t *desc;
LPCWSTR title; const wchar_t *title;
int icon; int icon;
int iAuxVal /* = 0 */; int iAuxVal /* = 0 */;
bool isFoil /* = false */; bool isFoil /* = false */;
@ -356,7 +356,7 @@ typedef struct _SignInInfo
// Credits // Credits
typedef struct typedef struct
{ {
LPCWSTR m_Text; // Should contain string, optionally with %s to add in translated string ... e.g. "Andy West - %s" const wchar_t * m_Text; // Should contain string, optionally with %s to add in translated string ... e.g. "Andy West - %s"
int m_iStringID[2]; // May be NO_TRANSLATED_STRING if we do not require to add any translated string. int m_iStringID[2]; // May be NO_TRANSLATED_STRING if we do not require to add any translated string.
ECreditTextTypes m_eType; ECreditTextTypes m_eType;
} }