Commit Graph
22 Commits
Author SHA1 Message Date
void_17 b7bd9bb903 Move to newer C++17 language standard 2026-03-08 00:23:39 +07:00
void_17 fc7ddbab14 Cherry-pick non-code files to exclude from vscode search
It slowed down the code search significantly, so I had to manually cherry-pick assets and binary files from vscode search which made it much, much faster.
2026-03-07 02:35:34 +07:00
void_17 acf4a38555 Enable more aggressive optimizations /O2 /Ob3 2026-03-03 09:45:52 +07:00
void_17 d7882b68a4 Fix crash on item frame destruction 2026-03-03 09:27:28 +07:00
void_17 ccebb87ca7 Enable Whole Program Optimization in Release mode
This noticeably improves FPS
2026-03-03 08:54:08 +07:00
void_17 a5e3cb04b3 Remove #203 core code before a cleaner implementation 2026-03-03 08:45:26 +07:00
void_17 95d4d0a703 Temporarily turn off all MSVC warnings
Before any major refactoring, warnings do help a little except for slowing down the compilation (as it needs to output everything to stdout), so disable MSVC warnings in Release mode.
2026-03-03 07:10:55 +07:00
void_17 dea460381f Remove dyn_SetProcessDpiAwareness 2026-03-03 07:00:55 +07:00
void_17 13c8bafad5 Minor fixes
1. Improve const correctness in a few places (such as `Container::getMaxStackSize()` -> `Container::getMaxStackSize() const`)

2. Use C++11 varargs for `I18n::get`, `Entity::newDoubleList` and `Language::getElement`
2026-03-03 06:14:34 +07:00
void_17 796a743b75 remove dynamic shcore dependency
Almost forgot it. https://github.com/smartcmd/MinecraftConsoles/pull/160
2026-03-03 02:19:57 +07: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 82c4a50ba0 Merge branch 'main' of https://github.com/smartcmd/MinecraftConsoles 2026-03-02 17:40:01 +07: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 8a2a62ea1d Revert "Add hook for modloader (#117)"
This reverts commit 7bee4770df.
2026-03-02 17:37:12 +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
void_17 09e0c04f7b Further C-style struct definitions fixes 2026-03-02 15:11:05 +07:00
void_17 def238ff08 Fix C-style struct functor definitions 2026-03-02 14:51:05 +07:00
void_17 df2925a4ed Fix Iggy player crashes on systems with DPI changed
The code that was supposed to make the game DPI-aware was broken. I remove it until a proper implementation.
2026-03-02 13:32:41 +07:00