Files
MinecraftConsoles/Minecraft.Client
MrTheShy e2adaa082c Fix split-screen UI wrong positioning on window resize (#989)
* Fix split-screen UI wrong positioning on window resize

In vertical split at window heights below 1080, ComputeTileScale's min-scale clamp (>= 1.0) prevented the SWF from scaling down to fit, cropping the bottom and causing repositionHud to shift HUD elements downward. Chat and Tooltips additionally applied an offset from ComputeSplitContentOffset that only produced correct values at the 1920x1080 design resolution.

Override the scale for vertical split so the SWF fits the full window height when it is shorter than the movie. Remove the broken content offset from Chat and Tooltips -- the tile crop already positions the content correctly.

* Fix gamma post-process in split-screen

The gamma shader sampled the full backbuffer texture (UV 0..1) into each player's viewport, stretching the entire screen into every split region. Extended the shader constant buffer with per-viewport UV offset and scale so each pass samples only its own portion of the backbuffer.

ComputeViewportForPlayer was hardcoded to top/bottom for 2 players, ignoring the vertical split setting. Rewrote it to read each player's m_iScreenSection directly, which already accounts for the split orientation preference.

Secondary players have no Graphics menu and cannot change gamma. CachePlayerGammas now reads the primary player's setting and applies it uniformly to all viewports.
2026-03-08 22:16:58 -05:00
..
2026-03-08 18:08:36 -05:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-07 03:31:30 +07:00
2026-03-07 03:31:30 +07:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-05 01:12:48 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-07 03:31:30 +07:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-07 03:31:30 +07:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-06 09:52:28 -06:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-07 03:31:30 +07:00
2026-03-07 03:31:30 +07:00
2026-03-08 18:08:36 -05:00
2026-03-04 17:29:43 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-07 23:58:51 +07:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-05 01:12:48 +08:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-07 23:58:51 +07:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-07 03:31:30 +07:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00

========================================================================
    Xbox 360 APPLICATION : Minecraft.Client Project Overview
========================================================================

AppWizard has created this Minecraft.Client application for you.  

This file contains a summary of what you will find in each of the files that
make up your Minecraft.Client application.

Minecraft.Client.vcxproj
    This is the main project file for VC++ projects generated using an Application Wizard. 
    It contains information about the version of Visual C++ that generated the file, and 
    information about the platforms, configurations, and project features selected with the
    Application Wizard.

Minecraft.Client.cpp
    This is the main application source file.



/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////