mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-05-03 08:49:51 -05:00
40a8bf557b
* Starting with backbuffer scaling refactor. * CSD & primitive 2Ds refactored. * More refactoring. * Fix primitive 2D, and on screen 3D items. * Fix right side offset scaling. * Fix Inspire letterbox. * Fix offset scaling in world map. * Fix custom menus. * Remove debugging code.
18 lines
471 B
C
18 lines
471 B
C
#pragma once
|
|
|
|
inline constexpr float NARROW_ASPECT_RATIO = 4.0f / 3.0f;
|
|
inline constexpr float WIDE_ASPECT_RATIO = 16.0f / 9.0f;
|
|
inline constexpr float STEAM_DECK_ASPECT_RATIO = 16.0f / 10.0f;
|
|
|
|
inline float g_aspectRatio;
|
|
inline float g_aspectRatioOffsetX;
|
|
inline float g_aspectRatioOffsetY;
|
|
inline float g_aspectRatioScale;
|
|
inline float g_aspectRatioGameplayScale;
|
|
inline float g_aspectRatioNarrowScale;
|
|
|
|
struct AspectRatioPatches
|
|
{
|
|
static void ComputeOffsets();
|
|
};
|