Tropical
e4c0a3a35b
fix: assets loading and text input issues
2026-03-29 23:24:37 -05:00
MatthewBeshay
95e0a14b36
refactor: use convStringToWstring for text input instead of uint16 helpers
...
GetText now returns UTF-8 directly so callers go through simdutf via
convStringToWstring(). Remove dead uint16_to_wstring helpers.
2026-03-30 14:10:14 +11:00
MatthewBeshay
1ead072c45
Add text input support: safe uint16_t* to wstring conversion
...
Replace unsafe (wchar_t*)pchText casts with uint16_to_wstring() in all
keyboard callbacks. The direct cast is incorrect on platforms where
wchar_t is 4 bytes (Linux/macOS). New helpers in StringHelpers route
through u16string for proper UTF-16 to wchar_t conversion.
- Add uint16_len, uint16_to_u16string, uint16_to_wstring to StringHelpers
- Fix casts in AnvilMenu, CreateWorldMenu, DebugCreateSchematic,
DebugSetCamera, LaunchMoreOptionsMenu, SignEntryMenu
- Truncate sign text to 15 chars in SignEntryMenu
- Move m_bIgnoreInput reset after if-block in LaunchMoreOptionsMenu
2026-03-30 12:46:50 +11:00
orng
1538074b4d
refactor: remove integer caching
2026-03-25 02:47:51 -05:00
Tropical
e1a31d1b3e
fix: Minecraft.World compiles
2026-03-22 15:10:27 -05:00
Tropical
852d3aa1b8
fix UIScene_CreateWorldMenu
2026-03-22 13:07:33 -05:00
Tropical
b9d18bf641
TU19: merge Minecraft.Client/Platform/Common/UI
2026-03-22 11:44:26 -05:00
Tropical
4dd9b683bf
format Platform/Common/UI
2026-03-22 04:25:54 -05:00
notmatthewbeshay
8a66847c65
Remove UINT from common resource ID arrays
2026-03-14 06:33:33 +11:00
notmatthewbeshay
d285f41969
Use standard types in keyboard request APIs
2026-03-11 15:38:47 +11:00
notmatthewbeshay
6b149fdc38
Remove Win32 wide char aliases from world load menus
2026-03-11 15:38:46 +11:00
notmatthewbeshay
4e102e1391
Remove Win32 local state types from create world menu
2026-03-11 15:38:46 +11:00
notmatthewbeshay
b4a005fb8c
Remove Win32 callback types from launch menus
2026-03-11 15:38:43 +11:00
notmatthewbeshay
74650536f7
Use bool launch option flags in common UI
2026-03-11 15:38:43 +11:00
notmatthewbeshay
eb52911d25
Use standard buffer types for TPD extraction
2026-03-11 15:38:42 +11:00
notmatthewbeshay
5f991ccd6a
Use standard buffer types for in-memory TPD data
2026-03-11 15:38:42 +11:00
notmatthewbeshay
0ab0fd9209
Standardise fixed-width integer usage in touched files
2026-03-11 15:38:42 +11:00
notmatthewbeshay
7bdf4c8ced
Remove Win32 byte counts from texture pack images
2026-03-10 10:13:59 +11:00
Tropical
ad1e8369bc
refactor: move Common to Platform/Common
2026-03-09 00:17:42 -05:00