mirror of
https://github.com/M2noa/MCLCE-Archive.git
synced 2026-09-23 11:32:41 +00:00
- Removed console-edition-2014/lcemp/ from git tracking (not properly organized) - Added *.log and .vs/ to .gitignore - Committed remaining line ending changes in full-multiplatform/
7.7 KiB
7.7 KiB
Enhanced Debug/Cheat Features & Graphics Control
Summary of Changes
This document outlines all the debug/cheat features and advanced graphics controls added to the Minecraft Console Edition build.
New Game Settings (App_enums.h)
Graphics Settings
eGameSetting_ShowFPS- Display FPS counter on HUDeGameSetting_RenderDistance- Control render distance (2-32 chunks)eGameSetting_FPSLimit- Set FPS limit (30-240)eGameSetting_Shadows- Enable/disable shadowseGameSetting_ParticleQuality- Particle quality (0-100%)eGameSetting_SmoothLighting- Smooth lighting toggleeGameSetting_MipmapLevels- Mipmap level controleGameSetting_EntityShadows- Entity shadow renderingeGameSetting_VSync- VSync toggle
Cheat/Debug Features
eGameSetting_Flight- Creative-style flight modeeGameSetting_NoClip- Walk through wallseGameSetting_SuperSpeed- Increased movement speedeGameSetting_XRay- See through blockseGameSetting_Fullbright- No darkness/full brightnesseGameSetting_InfiniteReach- Extended block reacheGameSetting_OneHitKill- Kill mobs in one hiteGameSetting_NoFallDamage- Disable fall damageeGameSetting_UnlimitedAir- No drowningeGameSetting_Zoom- OptiFine-style zoom (C key)eGameSetting_Freecam- Free camera modeeGameSetting_TimeControl- Freeze timeeGameSetting_WeatherControl- Control weathereGameSetting_InstantBreak- Instant block breakingeGameSetting_AutoJump- Automatic jumpingeGameSetting_WallClimb- Climb walls like a spidereGameSetting_StepAssist- Auto step up blocks
UI Changes
Enhanced Graphics Menu (UIScene_SettingsGraphicsMenu)
Location: Pause → Help & Options → Settings → Graphics
New Controls Added:
- Show FPS (checkbox)
- Render Distance (slider: 2-32 chunks)
- FPS Limit (slider: 30-240)
- Shadows (checkbox)
- Particle Quality (slider: 0-100%)
- Smooth Lighting (checkbox)
- Entity Shadows (checkbox)
- VSync (checkbox)
Existing Controls:
- Clouds
- Bedrock Fog
- Custom Skin Animation
- Gamma
- Interface Opacity
New Enhanced Debug Menu (UIScene_DebugEnhanced)
Access: Settings → Advanced → Enhanced Debug
Features (25 total):
- Flight Mode
- NoClip (Walk Through Walls)
- Super Speed
- X-Ray Vision
- Fullbright (No Darkness)
- Infinite Reach
- One Hit Kill
- No Fall Damage
- Unlimited Air (No Drowning)
- Zoom Enabled
- Freecam Mode
- Freeze Time
- Clear Weather
- Instant Break Blocks
- Auto Jump
- Wall Climb
- Step Assist (Auto Step Up)
- God Mode (Invincible)
- Infinite Items
- Night Vision
- Speed Mining
- No Hunger
- Mob ESP
- Player ESP
- Chest ESP
HUD Enhancements (UIScene_HUD)
FPS Counter
- Real-time FPS display in top-left corner
- Updates every second
- Shows as "FPS: XX.X"
- Toggle via Graphics Settings → Show FPS
Implementation:
- Frame counting system
- Nano-time based calculation
- Smooth averaging over 1-second intervals
Files Modified
Core Engine Files
Common/App_enums.h- Added all new game setting enums
UI Scene Files
Common/UI/UIEnums.h- AddedeUIScene_DebugEnhancedCommon/UI/UIScene_SettingsGraphicsMenu.h- Added new controlsCommon/UI/UIScene_SettingsGraphicsMenu.cpp- Implemented graphics settingsCommon/UI/UIScene_HUD.h- Added FPS counter variablesCommon/UI/UIScene_HUD.cpp- Implemented FPS counter logic
New Files Created
Common/UI/UIScene_DebugEnhanced.h- Enhanced debug menu headerCommon/UI/UIScene_DebugEnhanced.cpp- Enhanced debug menu implementation
Implementation Status
✅ Completed
- All game setting enums added
- Graphics menu UI expanded with new controls
- Enhanced debug menu created with 25+ cheat options
- FPS counter system implemented in HUD
- All settings properly save/load through app settings system
⚠️ Requires Game Logic Integration
The following features have UI checkboxes but need gameplay implementation:
Movement/Physics:
- Flight mode (needs player movement system integration)
- NoClip (needs collision detection bypass)
- Super Speed (needs movement speed multiplier)
- Wall Climb (needs custom climbing logic)
- Step Assist (needs step height modification)
- Auto Jump (needs automatic jump trigger)
Rendering:
- X-Ray (needs block rendering filter)
- Fullbright (needs lighting override)
- Shadows (needs shadow rendering toggle)
- Smooth Lighting (needs lighting calculation mode)
- Entity Shadows (needs entity shadow rendering toggle)
Combat/Survival:
- One Hit Kill (needs damage calculation override)
- No Fall Damage (needs fall damage cancellation)
- Unlimited Air (needs oxygen system bypass)
- God Mode (needs invincibility implementation)
- No Hunger (needs hunger system bypass)
World Interaction:
- Infinite Reach (needs reach distance modification)
- Instant Break (needs block break time override)
- Time Control (needs world time freeze)
- Weather Control (needs weather system control)
Visual Enhancements:
- Zoom (needs FOV modification on key press)
- Freecam (needs camera detachment from player)
- ESP features (needs entity/block highlighting overlay)
Performance:
- FPS Limit (needs frame rate limiter integration)
- Render Distance (needs chunk loading distance modification)
- Particle Quality (needs particle spawn rate control)
- VSync (needs renderer VSync toggle)
Next Steps for Full Implementation
-
Build & Test UI
- Compile in Visual Studio 2012
- Verify all menus load correctly
- Test navigation between settings screens
-
Integrate Gameplay Systems
- Hook flight mode into player movement
- Implement NoClip collision bypass
- Add zoom FOV modification
- Connect render distance to chunk manager
- Implement FPS limiter in game loop
-
Add Persistence
- Ensure all settings save to profile
- Load settings on game start
- Apply settings in real-time when changed
-
Controller Support
- Map zoom to controller button (e.g., stick press)
- Ensure all menus work with controller navigation
-
Polish & Testing
- Test all features in-game
- Verify no crashes or conflicts
- Ensure achievements remain disabled when cheats active
Usage Instructions
Accessing Graphics Settings
- Pause game (or from main menu)
- Navigate to: Help & Options → Settings → Graphics
- Adjust sliders and checkboxes as desired
- Press Back/Cancel to save and return
Accessing Enhanced Debug Menu
- Pause game
- Navigate to: Help & Options → Settings → Advanced
- Select Enhanced Debug
- Toggle desired cheats
- Press Back/Cancel to save and apply
Using FPS Counter
- Go to Graphics Settings
- Enable "Show FPS" checkbox
- FPS will display in top-left corner during gameplay
Technical Notes
- All settings use the existing
app.GetGameSettings()/app.SetGameSettings()system - Settings persist through the profile manager
- UI uses existing Iggy Flash-based system
- FPS counter uses
System::nanoTime()for accurate timing - Enhanced debug menu reuses existing DebugOptionsMenu movie for UI layout
Known Limitations
- LSP errors are expected (missing stdafx.h, platform-specific headers)
- Actual VS2012 build required to verify compilation
- Some features require deep engine integration not yet implemented
- IGGY movie files may need updating to include new UI elements
- Controller button mapping for zoom needs configuration
Build Instructions
To compile these changes:
- Open
MinecraftConsoles.slnin Visual Studio 2012 - Select x64 Release configuration
- Build solution
- Report any compiler errors for fixes
- Test in-game functionality
Note: Do not use CLI build commands. Build manually in VS2012 IDE.