Commit Graph

15 Commits

Author SHA1 Message Date
Loki Rautio
087b7e7abf Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.

This reverts commit a9be52c41a.
2026-03-07 21:12:22 -06:00
ModMaker101
a9be52c41a Project modernization (#630)
* Fixed boats falling and a TP glitch #266

* Replaced every C-style cast with C++ ones

* Replaced every C-style cast with C++ ones

* Fixed boats falling and a TP glitch #266

* Updated NULL to nullptr and fixing some type issues

* Modernized and fixed a few bugs

- Replaced most instances of `NULL` with `nullptr`.
- Replaced most `shared_ptr(new ...)` with `make_shared`.
- Removed the `nullptr` macro as it was interfering with the actual nullptr keyword in some instances.

* Fixing more conflicts

* Replace int loops with size_t and start work on overrides
2026-03-08 09:56:03 +07:00
Marlian
9c17f3473a Fix Ctrl-sprint not working while flying in creative mode (#563)
Remove the !player->abilities.flying guard that was incorrectly added around the Ctrl-sprint block in Input.cpp during the KBM refactor. This prevented Ctrl+W from initiating sprint while flying in creative mode. Sprinting on the ground in both survival and creative worked fine.

The sprint flag now sets correctly whenever Ctrl+W is held, including while flying. LocalPlayer::aiStep() still properly gates setSprinting() with onGround, enoughFoodToSprint, isUsingItem etc.

Fixes smartcmd/MinecraftConsoles#470
2026-03-05 07:39:11 -06:00
daoge_cmd
4108ed142b fix: restore KBM sprint on either Ctrl key 2026-03-05 01:49:38 +08:00
daoge_cmd
1dc8a005ed refactor: refactor KBM input code 2026-03-05 01:12:48 +08:00
4win
ca7615d77d feat: make the game sensitivity slider affect mouse sensitivity (#255) 2026-03-03 15:13:20 +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
DFelipeh
bab9b563de fix being able to walk, jump and sneak on inventory, crafting, anvil, chest screens (#122) 2026-03-02 17:51:06 +07:00
void_17
236e9d9f71 Revert "Implement item drop functionality with Q key (#99)"
This reverts commit 9e5d9d19ee.
2026-03-02 13:24:19 +07:00
MrSimpleJS
9e5d9d19ee Implement item drop functionality with Q key (#99)
Added functionality to drop items using the Q key, with support for dropping entire stacks when Ctrl is held. Included checks to prevent dropping items while destroying blocks.
2026-03-02 13:43:51 +08:00
daoge_cmd
6cba5705dd fix: fix sprinting 2026-03-02 01:21:56 +08:00
daoge_cmd
5fa4418adb feat: implement per-frame mouse look for reduced input latency on Windows 2026-03-01 21:50:44 +08:00
daoge_cmd
2aee607d6c feat: implement game-tick input handling and per-frame edge detection 2026-03-01 19:59:48 +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