Commit graph

969 commits

Author SHA1 Message Date
Tropical 94a67d41b6 inline that 2026-03-29 20:55:59 -05:00
Tropical 21092cb686 fix: stub IggyValueGetTypeRS 2026-03-29 20:55:59 -05:00
JuiceyDev 5e7bba862c perf fix culler thing 2026-03-29 20:55:58 -05:00
JuiceyDev 5357e75037 gamerenderer bit more optimized 2026-03-29 20:55:58 -05:00
JuiceyDev bb50db7d9b Cleaned up linuxGL.cpp 2026-03-29 20:55:58 -05:00
Tropical d6394de900 fix: get rid of redundant option check 2026-03-29 20:55:58 -05:00
Tropical 73a74f4872 chore: clean up LevelRenderer diffs 2026-03-29 20:55:58 -05:00
JuiceyDev d2e77c63ad refactor meson and final gles support, cleaner gdraw 2026-03-29 20:55:58 -05:00
JuiceyDev 4aa8106e52 rewrote & formatted meson, also added gles to renderer, no need to touch, it works, and it'll help for future support. basically a neat lil touch 2026-03-29 20:55:58 -05:00
JuiceyDev e2a6c3f92c ss not here 2026-03-29 20:55:58 -05:00
MatthewBeshay 31acc46308 fix(linux): localise chunk transforms and guard optional iggy paths 2026-03-29 20:55:57 -05:00
JuiceyDev dc8c0b04c0 apply setchuckoffset to direct shader matrix 2026-03-29 20:55:57 -05:00
Tropical 35d92fe504 docs: add FIXME for clipChunk translation 2026-03-29 20:55:57 -05:00
MatthewBeshay d53831186e fix(linux): stop core-profile GL state leakage in iggy title rendering 2026-03-29 20:55:57 -05:00
Tropical 485edf0679 clean up the diff further 2026-03-29 20:55:57 -05:00
Tropical fc6e4e32b1 undo further LevelRenderer changes 2026-03-29 20:55:57 -05:00
Tropical fb745767f2 undo changes to Camera.cpp 2026-03-29 20:55:57 -05:00
Tropical 69e9db9edc chore: undo some comments 2026-03-29 20:55:57 -05:00
MatthewBeshay 8dfd9e5044 fix(gui): always rebind textures for java font rendering 2026-03-29 20:55:57 -05:00
Tropical c60a71581d revert ItemRenderer changes 2026-03-29 20:55:57 -05:00
MatthewBeshay 9680753f5e fix(linux): restore UI GL state handoff for core renderer 2026-03-29 20:55:57 -05:00
Tropical fa24812582 revert some seemingly unneeded changes 2026-03-29 20:55:57 -05:00
Tropical 23af1b0a72 revert unintentional turnOnGui 2026-03-29 20:55:57 -05:00
Tropical a4db31ee64 add back ItemRenderer comment 2026-03-29 20:55:57 -05:00
Tropical dbd7ce40cd fix: don't GL_NORMALIZE/GL_RESCALE_NORMAL when rendering items 2026-03-29 20:55:57 -05:00
Tropical ca601c8205 restore original code for renderGuiItem 2026-03-29 20:55:57 -05:00
Tropical 98c8d49eaf fix: make hit outline width 1 pixel 2026-03-29 20:55:56 -05:00
JuiceyDev e0aa739aac batch 2.4 | highlight fix 2026-03-29 20:55:56 -05:00
JuiceyDev 08ed9861b9 batch 2.3 enabling back optimizations 2026-03-29 20:55:56 -05:00
Tropical b7ac84ca79 fix: revert changes to lighting direction 2026-03-29 20:55:56 -05:00
JuiceyDev 97b068260a batch 2.2, clamp be gone 2026-03-29 20:55:56 -05:00
JuiceyDev e71ff8699a batch 2.1; entity lightfix 2026-03-29 20:55:56 -05:00
JuiceyDev 09e8a8f981 batch 2: fixing chunk rendering & frustum culling; rewrote most of it, but now it works. next step is to fix the "highlight" effect & add the optimizations i wrote on optifromhell.txt 2026-03-29 20:55:56 -05:00
JuiceyDev fbb7b304c8 first batch & fix with new files (very hacky & uncleaned state); state: game runs but broken rendering every chunks is at 0,0,0 @n@ 2026-03-29 20:55:56 -05:00
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
Some checks are pending
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 7062ef7564 chore: fmt 2026-03-29 18:40:55 -05:00
Tropical a856a7e54e fix: rebase issue with CreativeInventoryScreen 2026-03-29 16:12:30 -05:00
Tropical 3653b7b465 fix: readjust VideoSettingsScreen ITEM_COUNT 2026-03-29 15:53:10 -05:00
Tropical 238b001910 fix: remove remaining iggy checkmarks for pano 2026-03-29 15:53:10 -05:00
Tropical ad67f4be71 refactor: configure classic panorama at compile-time 2026-03-29 15:53:10 -05:00
Sally Knight ca276943f2 fix(jui): make creative screen correctly override menu clicked()
(also made rendertooltip names in AbstractContainerScreen match so my editor stops complaining)
2026-03-29 15:52:38 -05:00
Sally Knight cd6959b989 chore: fmt 2026-03-29 15:52:38 -05:00
StevenSYS 7889fbb4d2 [Java Creative Inventory] Added tooltip when hovering over the tab icons. 2026-03-29 15:52:38 -05:00
Sally Knight 1ab985805a feat(jui): add beacon screen 2026-03-29 15:52:35 -05:00
Sally Knight 03fac5b8e1 refactor(jui): backport tooltip overloads from JE 1.6.4 2026-03-29 15:52:34 -05:00
Sally Knight cfb54e65bd fix(jui): accidental ! in deprecated recipe check 2026-03-29 15:52:19 -05:00
Sally Knight 97c6704d82 feat(jui): add merchant screen 2026-03-29 15:52:19 -05:00
Sally Knight 32149b7ec3 refactor(jui): backport hovering over helper from 1.6.x 2026-03-29 15:52:18 -05:00
Sally Knight 80966a501c refactor(jui): extract tooltip rendering into standalone method
so we can use tooltips elsewhere (the upcoming merchantscreen more specifically)
2026-03-29 15:52:18 -05:00
Sally Knight affe60603c make AbstractContainerScreen's itemRenderer protected 2026-03-29 15:52:18 -05:00
Sally Knight 3dcc985cd4 feat(jui): add brewing stand screen (+ fix enchantment screen not being used) 2026-03-29 15:52:18 -05:00
Sally Knight ed83397c55 chore(jui): remove inaccurate "unused" comments 2026-03-29 15:52:18 -05:00
Sally Knight 141678ed96 fix(jui): add Slot.h include
Fixes clang builds
2026-03-29 15:52:18 -05:00
Sally Knight 678a186c46 fix(jui): put button render method behind ifdef
Fixes build error if using iggy instead of jui
2026-03-29 15:52:18 -05:00
Sally Knight 02845d9a5f chore: fmt 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
Sally Knight c512bcb19c feat(jui): add enchanting table screen 2026-03-29 15:50:37 -05:00
Sally Knight bdebc23e91 fix(jui): open hopper screen for minecart hopper as well 2026-03-29 15:50:36 -05:00
Sally Knight 5ac7f23577 feat(jui): add hopper screen 2026-03-29 15:50:36 -05:00
StevenSYS b854af49c6 Added option to use the TU panorama or the Java one. 2026-03-29 15:50:36 -05:00
Sally Knight 975f716f9c feat(jui): re-enable and update TrapScreen
(Dispenser and Dropper GUI)
2026-03-29 15:50:36 -05:00
Sally Knight fbbf086f71 feat(jui): add anvil screen 2026-03-29 15:50:35 -05:00
Sally Knight 9a2062c70a fix(jui): always use white if background is disabled in EditBox 2026-03-29 15:50:35 -05:00
StevenSYS d18733b14c Ported over the Java Edition's title screen panorama. 2026-03-29 15:50:35 -05:00
Sally Knight a9a3cbb0f5 fix(jui): disable isConstantBlended for hotbar slot rendering
Fixes the issue where in the java UI hotbar, enchant glints make the item appear as a black texture
2026-03-29 15:50:34 -05:00
Sally Knight 2131c12de7 feat(jui): make edit box background be able to get disabled 2026-03-29 15:50:34 -05:00
Sally Knight 11f71c12b2 chore: fmt 2026-03-29 15:50:34 -05:00
Sally Knight 5f5e7e7f99 feat(jui): add item switch tooltips 2026-03-29 15:50:34 -05:00
Sally Knight 11e944f78b fix(jui): remove debug autoconfirm from ConfirmScreen 2026-03-29 15:50:34 -05:00
Sally Knight 7a0ebe7e36 fix(jui): remove debug world autocreate from CreateWorldScreen 2026-03-29 15:50:34 -05:00
Sally Knight 08a87c432a fix: put jui-specific texture usage behind ifdefs 2026-03-29 15:50:34 -05:00
Sally Knight 65ff6a97f0 feat(jui): add horse inventory screen 2026-03-29 15:50:34 -05:00
Sally Knight 3f2c6e0012 feat(jui): add panorama and splashes to title screen
Also moved the version string to the same height as the copyright message, matching Beta 1.8+
2026-03-29 15:50:34 -05:00
Sally Knight 0728ac8731 fix(jui): tick screen even if not ingame
required for title screen panorama
2026-03-29 15:50:34 -05:00
aedanmills 740f1b5c64 Update 2026-03-28 22:53:15 -04:00
aedanmills 75d83a4556 Fixed broken quit game button again. 2026-03-28 21:01:28 -04:00
orng 659b9c32cb fix: OOB when iterating over all cube faces 2026-03-28 13:50:35 -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
Tropical eb7bb6e518
Merge pull request #330 from 4jcraft/meson-options-cleanup
Some checks are pending
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: rework meson options, fix ENABLE_VSYNC
2026-03-28 11:12:24 -05: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
Tropical 939310be64 refactor: rework meson options, fix ENABLE_VSYNC 2026-03-28 02:13:27 -05:00
orng ddfe9b3d48 refactor: make Tile::getTileAABB return AABB 2026-03-28 00:30:07 -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
ffqq 016a3ebfb4
Merge branch '4jcraft:dev' into dev 2026-03-28 03:48:04 +03:00
Sally Knight 40a3f90d89 fix: add null check to renderItemInHand 2026-03-28 03:47:49 +03: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
Some checks failed
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 e38f162c10
Merge pull request #314 from Merc6/refactor/remove-vec3-tls
refactor: remove vec3 tls
2026-03-27 18:19:21 -05:00
JuiceyDev 6be5f627ef make consoles_app use pathhelper :)
Some checks failed
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 20:57:46 +01:00
JuiceyDev 21fc2166ff cleaned up, less hacky, more silly 2026-03-27 20:54:21 +01:00
JuiceyDev ca84ac0512 okay managed to do it, anyways hacky code land :3
mainly rewrote a bit of the soundengine, made files now load without being mean and uh yeah it works
2026-03-27 18:07:38 +01:00
StevenSYS 396e819b9b
Made the Java creative inventory more complete. 2026-03-27 14:32:47 +00:00