Commit graph

49 commits

Author SHA1 Message Date
Loki Rautio 090cc653cc Disable "Debug Settings" in Release builds
People keep breaking random stuff by using these settings, so turn them
off for now in release builds. If folks can figure out how to compile a
debug build locally, they can use em :)
2026-03-05 20:32:04 -06:00
dtentiion aadb511504
Fix save list, delete save, exit without saving, and blank username on Windows64 (#539)
* Fix world save rename not applying new name

KeyboardCompleteWorldNameCallback had no _WINDOWS64 branch, so the
typed name was validated then silently discarded on every rename attempt.

Write the new name to a worldname.txt sidecar file next to the save
(Windows64\GameHDD\{folder}\worldname.txt) and update the in-memory
display name immediately. ReadLevelNameFromSaveFile now checks for this
sidecar first so renamed saves persist correctly across restarts.

* Fixed gamertag being blank upon renaming and re-joining a save

* Save deletion fix, exiting without saving fix

* Add native in-game keyboard UI for world naming and renaming
2026-03-05 14:57:37 -06:00
void_17 55231bb8d3
Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
Alezito2008 87e3bd193c
Fix beacon crash (#512) 2026-03-05 14:17:17 +07:00
Loki Rautio 51eb86ad28 Revert "fix: fix #464"
This reverts commit 5922824950.
2026-03-04 13:43:40 -06:00
daoge_cmd 5922824950 fix: fix #464 2026-03-05 02:57:52 +08:00
daoge_cmd 7b35df8714 Fix controller paging regression in creative menu
Preserve smooth row-by-row scrolling for mouse wheel input, but restore
full-page movement for controller/menu scroll actions in the creative
inventory.

Commit 3093ca3 changed page indexing to support smooth scrolling, which
caused ACTION_MENU_OTHER_STICK_UP/DOWN to advance by one row instead of
one page. Track whether the scroll action originated from the mouse
wheel and only use single-row steps in that case.

Fixes #253
2026-03-05 01:38:34 +08:00
daoge_cmd 1dc8a005ed refactor: refactor KBM input code 2026-03-05 01:12:48 +08:00
Alezito2008 cea1084978
Fix duplicated stained glass when art tools enabled (#426) 2026-03-04 23:28:20 +07:00
Davi Eler Magalhães ca5fde56fe
Fix: Sorted the item list in the debug overlay (#340)
* Fix: Sorted the item list in the debug overlay

* revert show all files to false

* Revert ShowAllFiles by removing it

* removed extra line

* Adressed PR review changes

* Replaced push_back with emplace_back

* Removed redundant emplace_back
2026-03-04 22:07:37 +07:00
Marlian 2d430798a5
Fix creative inventory crash with Art Tools debug option (#399)
Fix vector out-of-bounds crash when scrolling the potions tab in the creative inventory with Art Tools debug enabled.

- Fix getPageCount() returning total rows instead of scrollable pages in Art Tools mode

- Fix off-by-one boundary check in populateMenu() for both static and debug group loops (< should be <=)

Fixes #386
2026-03-04 19:47:43 +07:00
Loki Rautio 52d9bcc9a9 Enable Stained Glass in Creative Menu 2026-03-04 06:14:06 -06:00
Loki Rautio 42aec6dac5 Merge branch 'main' into pr/win64-world-saves
# Conflicts:
#	Minecraft.Client/MinecraftServer.cpp
#	README.md
2026-03-04 03:56:03 -06:00
4win f216abca42
fix: properly offset the mouse position in containers (#327) 2026-03-04 12:30:14 +08:00
Alezito2008 d31d261ffd
Prevent world input from affecting inventory (#354) 2026-03-04 12:29:29 +08:00
Zekken f870ef2a10
Fix Texture Pack images in menu (#335) 2026-03-03 23:56:16 +00:00
slcyed 5c91c26086
shift + click for quickmove (#278)
* shift + click for quickmove

* shift click quick move in inventory
2026-03-03 23:27:23 +07:00
void_17 3093ca37d3
Implement smooth scrolling in Creative Mode menu (#240) 2026-03-03 13:21:41 +08:00
MijaeLio 17a11d7913
FOV option without debug menu (#209)
Now located in Graphics section.

Based on the FOV thing from discord idk
2026-03-03 09:02:25 +07:00
lspepinho 8b28c20d7a
Fixes for PR #96 (#170)
* Implement basic multiplayer functionality

* Update README.md

---------

Co-authored-by: Slenderman <ssimulpong@outlook.com>
2026-03-03 06:30:22 +07:00
dtentiion 63e590d783 Win64: show actual world names in save list, sort newest-first, preserve level name on load/resave 2026-03-02 21:13:11 +00:00
daoge_cmd 8f6647b5d8 fix: fix mouse and controller input handling in container menus 2026-03-03 04:59:08 +08:00
daoge_cmd b08493cdac fix: fix cursor for controller 2026-03-03 04:02:35 +08:00
daoge b3feddfef3
feat: TU19 (Dec 2014) Features & Content (#155)
* try to resolve merge conflict

* feat: TU19 (Dec 2014) Features & Content (#32)

* December 2014 files

* Working release build

* Fix compilation issues

* Add sound to Windows64Media

* Add DLC content and force Tutorial DLC

* Revert "Add DLC content and force Tutorial DLC"

This reverts commit 97a4399472.

* Disable broken light packing

* Disable breakpoint during DLC texture map load

Allows DLC loading but the DLC textures are still broken

* Fix post build not working

* ...

* fix vs2022 build

* fix cmake build

---------

Co-authored-by: Loki <lokirautio@gmail.com>
2026-03-03 03:04:10 +08:00
void_17 84c31a2331 Also remove clicking sound effect on empty container UI slots for rclick and middle mouse button click
Tested by me so no PR and just push upstream
2026-03-03 02:01:12 +07:00
void_17 53443f1d55
Disable annoying click sound effect when clicking the empty container UI (#152) 2026-03-03 00:41:01 +07:00
void_17 7ad6102763
Revert "Revert "fix: fix resolution detection (#133)" (#143)" (#144)
This reverts commit 8c18926d59.
2026-03-02 23:01:57 +07:00
void_17 8c18926d59
Revert "fix: fix resolution detection (#133)" (#143)
This reverts commit afa4efbc85.
2026-03-02 22:56:56 +07:00
daoge afa4efbc85
fix: fix resolution detection (#133)
* fix: fix UI skin/scene resolution mismatch and readd screen resolution detection

* fix: fix build in vs2022
2026-03-02 23:52:18 +08:00
void_17 b9a2951901 Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f.
2026-03-02 17:39:35 +07:00
void_17 119bff3514 Revert "shared_ptr -> std::shared_ptr"
This reverts commit 7074f35e4b.
2026-03-02 17:37:16 +07:00
void_17 7ae0c13854 Revert "dynamic_pointer_cast -> std::dynamic_pointer_cast"
This reverts commit 07ad68bc15.
2026-03-02 17:36:56 +07:00
void_17 07ad68bc15 dynamic_pointer_cast -> std::dynamic_pointer_cast 2026-03-02 17:10:34 +07:00
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00
void_17 d63f79325f Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
2026-03-02 15:53:32 +07:00
Karsam d6ec138710
Fixed issue 109 with tab menu (#116) 2026-03-02 15:28:30 +07:00
rtm516 109f563daa
Fixes the exit button sound (#92) 2026-03-02 13:41:40 +08:00
Ryan K 8048c793ed Crafting menu LB RB KBM fix 2026-03-01 14:54:15 -05:00
Slenderman a2bcce6426 fix my cast and put it into a separate function 2026-03-01 14:22:01 -05:00
Slenderman 6080c4ceac use C++ style cast instead of C-style cast 2026-03-01 14:12:39 -05:00
Slenderman 90504b1479 fix various things 2026-03-01 13:38:11 -05:00
rtm516 31e993d6ee
Fix game exit 2026-03-01 17:29:59 +00:00
Sean Hoyt b5111232aa
feat: Windows64 local multiplayer support (#13)
- Skip QuadrantSignin (profile selector) on Windows64 in both LoadMenu
  and CreateWorldMenu, proceeding directly to local play since Xbox Live
  stubs always return true for IsSignedInLive()
- Fix IsLocalMultiplayerAvailable() to not require IsHiDef() on Windows64
- Allow pad-connected players to join without a profile sign-in check
- Fix ghost RemotePlayer creation by scanning all local player slots and
  matching on server-assigned player index rather than controller slot,
  fixing P3/P4 ghost entities when joining out of controller order
- Give each player a unique name (Player 1-4) based on controller index
  instead of a single shared stub name
- Use raw XInput (XInputGetState) for secondary controller join detection,
  bypassing the 4J toggle system which consumes all button presses before
  game logic runs; uses a 120-frame latch for a reliable detection window
- Add .gitignore for Visual Studio build artifacts and output directories
2026-03-02 00:50:48 +08:00
daoge_cmd d5707899db feat: update scroll wheel behavior for page navigation 2026-03-02 00:50:37 +08:00
daoge_cmd 47e00f7b62 feat: improve mouse input handling 2026-03-02 00:43:04 +08:00
daoge_cmd 7e3bdebd77 fix: do not use hardcoded screen size 2026-03-01 21:32:42 +08:00
daoge_cmd 8b1dafd361 feat: add DPI awareness and auto-detect screen resolution 2026-03-01 21:22:02 +08:00
daoge_cmd bdef1f9412 feat: add support for keyboard and mouse input 2026-03-01 19:20:41 +08:00
daoge_cmd b691c43c44 Initial commit 2026-03-01 12:16:08 +08:00