MinecraftConsoles/Minecraft.Client/Common/GameRules
ModMaker101 28614b922f
Modernize project codebase (#906)
* 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

* Add safety checks and fix a issue with vector going OOR
2026-03-08 18:08:36 -05:00
..
AddEnchantmentRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
AddEnchantmentRuleDefinition.h Revert "shared_ptr -> std::shared_ptr" 2026-03-02 17:37:16 +07:00
AddItemRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
AddItemRuleDefinition.h Revert "shared_ptr -> std::shared_ptr" 2026-03-02 17:37:16 +07:00
ApplySchematicRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
ApplySchematicRuleDefinition.h Remove all MSVC __int64 (#742) 2026-03-07 03:31:30 +07:00
BiomeOverride.cpp Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
BiomeOverride.h Initial commit 2026-03-01 12:16:08 +08:00
CollectItemRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
CollectItemRuleDefinition.h Revert "shared_ptr -> std::shared_ptr" 2026-03-02 17:37:16 +07:00
CompleteAllRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
CompleteAllRuleDefinition.h Revert "shared_ptr -> std::shared_ptr" 2026-03-02 17:37:16 +07:00
CompoundGameRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
CompoundGameRuleDefinition.h Revert "shared_ptr -> std::shared_ptr" 2026-03-02 17:37:16 +07:00
ConsoleGameRules.h Initial commit 2026-03-01 12:16:08 +08:00
ConsoleGameRulesConstants.h Initial commit 2026-03-01 12:16:08 +08:00
ConsoleGenerateStructure.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
ConsoleGenerateStructure.h Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
ConsoleGenerateStructureAction.h Initial commit 2026-03-01 12:16:08 +08:00
ConsoleSchematicFile.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
ConsoleSchematicFile.h Remove all MSVC __int64 (#742) 2026-03-07 03:31:30 +07:00
GameRule.cpp Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
GameRule.h Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
GameRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
GameRuleDefinition.h Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
GameRuleManager.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
GameRuleManager.h win cpp23 compat: Minecraft.Client 2026-03-07 23:58:51 +07:00
GameRulesInstance.h Initial commit 2026-03-01 12:16:08 +08:00
LevelGenerationOptions.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
LevelGenerationOptions.h Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
LevelGenerators.cpp Initial commit 2026-03-01 12:16:08 +08:00
LevelGenerators.h Initial commit 2026-03-01 12:16:08 +08:00
LevelRules.cpp Initial commit 2026-03-01 12:16:08 +08:00
LevelRules.h Initial commit 2026-03-01 12:16:08 +08:00
LevelRuleset.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
LevelRuleset.h Initial commit 2026-03-01 12:16:08 +08:00
NamedAreaRuleDefinition.cpp Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
NamedAreaRuleDefinition.h Initial commit 2026-03-01 12:16:08 +08:00
StartFeature.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
StartFeature.h feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
UpdatePlayerRuleDefinition.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
UpdatePlayerRuleDefinition.h Revert "shared_ptr -> std::shared_ptr" 2026-03-02 17:37:16 +07:00
UseTileRuleDefinition.cpp Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
UseTileRuleDefinition.h Initial commit 2026-03-01 12:16:08 +08:00
XboxStructureActionGenerateBox.cpp Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
XboxStructureActionGenerateBox.h Initial commit 2026-03-01 12:16:08 +08:00
XboxStructureActionPlaceBlock.cpp Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
XboxStructureActionPlaceBlock.h Initial commit 2026-03-01 12:16:08 +08:00
XboxStructureActionPlaceContainer.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
XboxStructureActionPlaceContainer.h Initial commit 2026-03-01 12:16:08 +08:00
XboxStructureActionPlaceSpawner.cpp Modernize project codebase (#906) 2026-03-08 18:08:36 -05:00
XboxStructureActionPlaceSpawner.h Initial commit 2026-03-01 12:16:08 +08:00