Commit Graph

18 Commits

Author SHA1 Message Date
NΞVΛR
fa25430694 Fix for exe not running, not founding the project directory
In _tWinMain (Windows64_Minecraft.cpp) add logic to detect if the executable path contains "\\x64\\". If found, truncate the path at that position, append "\\Minecraft.Client" and call SetCurrentDirectoryA to set the process working directory. This ensures relative resource paths resolve correctly when running from an x64 build output directory; the change is guarded by a substring check and uses MAX_PATH-safe APIs.
2026-03-01 18:19:38 +01: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
hehcker
e16600a3e6 fix: render issues on release builds (#16) 2026-03-02 00:06:51 +08:00
void_17
754303b327 Fix compilation for Clang-cl (#10)
1. Converted `MinecraftWindows.rc` and `Resource.h` to UTF-8 from UTF-16(they didn't use any UTF-16 symbols anyway);

2. Added explicit signed->unsigned integer casts in `gdraw_d3d1x_shared.inl` for C++11 compatibility

3. Linked against `legacy_stdio_definitions.lib` to avoid undefined references to `_vsnprintf` llvm-link errors
2026-03-01 23:29:08 +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
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
f90c74d9a3 Merge pull request #3 from deadman96385/main
fix: copy sound assets to Windows64 build output
2026-03-01 21:10:47 +08:00
daoge_cmd
4c81c7960c feat: fullscreen mode 2026-03-01 21:05:16 +08:00
deadman96385
4a7d75194a fix: copy sound assets to Windows64 build output
The Debug|x64 and Release|x64 configurations had no PostBuildEvent to
deploy sound assets alongside the executable. At runtime, SoundEngine
looks for Durango\Sound\Minecraft.msscmp and music\ relative to the
output directory, causing silent failure (no sound effects or music).

Add post-build xcopy steps for both configurations to mirror what the
Durango build already does.
2026-03-01 06:36:06 -06:00
daoge_cmd
52a256562f feat: disable vsync 2026-03-01 20:12:58 +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
e067d710e3 fea: remove fps limit 2026-03-01 19:32:00 +08:00
daoge_cmd
bdef1f9412 feat: add support for keyboard and mouse input 2026-03-01 19:20:41 +08:00
daoge_cmd
9af787692e fix: fix release mode compilation on Windows 2026-03-01 16:04:34 +08:00
daoge_cmd
b691c43c44 Initial commit 2026-03-01 12:16:08 +08:00