MatthewBeshay
831d5fb0b3
Merge branch '4jcraft:dev' into feat/text-input-support
2026-03-30 12:50:18 +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
Tropical
8c6c17677d
Merge pull request #334 from Merc6/refactor/remove-PolygonArray
...
Publish Documentation / build (push) Waiting to run
Build (Linux, x86_64) / build-linux (push) Waiting to run
Build (Linux, x86_64) / build-linux-debug (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
refactor: optimize `Block` rendering
2026-03-29 18:45:06 -05:00
orng
b630ec8800
fix: Vec3 construct wasn't constexpr
2026-03-29 18:34:00 -05:00
Sally Knight
1ab985805a
feat(jui): add beacon screen
2026-03-29 15:52:35 -05:00
Sally Knight
0ce9597e2e
chore: fmt (again)
2026-03-29 15:52:18 -05:00
Sally Knight
1a478c8a5b
refactor(jui): specify overrides, resourcelocations, and localization
2026-03-29 15:51:23 -05:00
Tropical
0e56f2c660
fix: regression in tile bounding box clip
2026-03-29 14:55:36 -05:00
Tropical
2302f25e93
chore: fmt
2026-03-28 21:38:26 -05:00
Tropical
ad77a955c0
fix: correctly restore entity bounding boxes when computing movement physics
2026-03-28 21:36:17 -05:00
orng
f614e661d2
refactor: remove PolygonArray
2026-03-28 13:34:20 -05:00
orng
5ba20b155c
refactor: remove VertexArray
2026-03-28 12:53:07 -05:00
MatthewBeshay
c12f32f637
fix: restore ghast reach checks and fire collision bounds after AABB refactor
2026-03-28 20:43:36 +11:00
orng
a0be2e2fb5
refactor: remove aabb tls
2026-03-28 03:05:06 -05:00
orng
7101d03c6a
refactor: remove heap-allocated AABBs
2026-03-28 02:58:56 -05:00
orng
e48a05bb8f
refactor: remove the last AABB::newTemp
2026-03-28 00:50:56 -05:00
orng
ddfe9b3d48
refactor: make Tile::getTileAABB return AABB
2026-03-28 00:30:07 -05:00
orng
7158fd398f
refactor: make Tile::getAABB return optional<AABB>
2026-03-28 00:11:19 -05:00
orng
78b5255224
refactor: make AABBList own its values
2026-03-27 22:37:22 -05:00
orng
d7d99db4c5
refactor: remove AABB::newTemp when not returned
2026-03-27 21:56:57 -05:00
orng
534879e2e7
refactor: replace AABB::newPermanent with new AABB
2026-03-27 21:17:55 -05:00
orng
79217ca8e3
refactor: modernize AABB class
2026-03-27 21:11:11 -05:00
Tropical
9bed5431eb
Merge pull request #310 from 4jcraft/refactor/replace-winapi-stubs
...
refactor: finish up removing `Tls*` functions from linux code
2026-03-27 18:53:22 -05:00
Tropical
06c73c821c
Merge pull request #312 from 4jcraft/refactor/replace-sleep
...
refactor: replace win32 thread sleeping and yielding with `std::thread` primitives
2026-03-27 18:47:47 -05:00
Tropical
8b11eb7a3a
Merge branch 'dev' into refactor/replace-winapi-stubs
Build (Linux, x86_64) / build-linux (push) Has been cancelled
Build (Linux, x86_64) / build-linux-debug (push) Has been cancelled
Clang Format / clang-format (push) Has been cancelled
2026-03-27 18:35:12 -05:00
Tropical
293590ef77
Merge branch 'dev' into dev
2026-03-27 18:20:24 -05:00
Sally Knight
23ab4de9ac
fix(goal): add a duration to panics
2026-03-28 02:18:23 +03:00
orng
99a7330e31
fit: missing const on Vec3::distanceToSqr
2026-03-26 16:03:43 -05:00
orng
20982f11c1
chore: format files touched by refactor/remove-vec3-tls
2026-03-26 14:13:45 -05:00
orng
87e8078a65
refactor: remove new Vec3
2026-03-26 14:01:14 -05:00
orng
9fe3315112
refactor: remove vec3 tls
2026-03-26 13:37:01 -05:00
orng
e887c8cf45
refactor: remove calls to Vec3::newTemp and Vec3::newPermanent
2026-03-26 13:29:05 -05:00
orng
bee10e55a8
refactor: remove calls to Vec3::newTemp when not returned
2026-03-26 04:19:04 -05:00
orng
9405f38f80
fix: crashing on world join
2026-03-26 02:56:15 -05:00
orng
7b021bc99d
wip: removing vec3 tls
2026-03-26 01:10:27 -05:00
Tropical
8e94b763a7
refactor: remove usage of win32 Sleep function for this_thread::sleep_for
2026-03-25 19:12:11 -05:00
Tropical
06a4096cf6
fix: properly assign new pool to m_tlsPool
Clang Format / clang-format (push) Has been cancelled
Build (Linux, x86_64) / build-linux (push) Has been cancelled
Build (Linux, x86_64) / build-linux-debug (push) Has been cancelled
2026-03-25 18:43:10 -05:00
orng
9ea379eb44
chore: fix formatting in files touched by
...
refactor/remove-BasicTypeContainers
2026-03-25 18:01:56 -05:00
orng
f1ae42c659
refactor: remove basic type containers
2026-03-25 17:51:27 -05:00
Tropical
7c6c6d3df7
refactor: replace winapi TLS functions in Vec3 and AABB
2026-03-25 16:22:02 -05:00
Tropical
aff677a995
chore: fmt
2026-03-25 16:08:00 -05:00
Tropical
73392fa06a
fix: use correct name for default Compression thread storage
2026-03-25 16:02:26 -05:00
Tropical
22671562ca
fix: add back public visibility specifier for Entity
2026-03-25 16:00:13 -05:00
Tropical
29c0185553
fix: remove PistonBaseTile::tlsIdx
2026-03-25 15:56:08 -05:00
Tropical
e5414bf871
refactor: remove unneeded TlsKey typedefs
2026-03-25 15:55:37 -05:00
Tropical
28816876a1
chore: remove unneeded pthread includes
2026-03-25 15:52:37 -05:00
Tropical
30170b8f9c
adjust naming scheme of private TLS members
2026-03-25 14:46:16 -05:00
Tropical
9ff2fb4fef
refactor: switch to thread_local in Chunk, PistonBaseTile, TheEndPortalTile, Compression
2026-03-25 14:41:08 -05:00
Tropical
4a1fb94600
refactor: convert Tile::tlsIdxShape to thread_local
2026-03-25 14:20:08 -05:00
Tropical
625ce97385
refactor: use thread_local in OldChunkStorage, FireworksRecipe, Level, Entity
2026-03-25 14:13:00 -05:00