Skip to content

Conversation

@vaguerant
Copy link
Contributor

@vaguerant vaguerant commented May 23, 2022

The Navi text that appears on the C-Up button when Navi wants to say something is slightly off-center in the base game. This fix behind a cvar shifts it 1 unit (I assume these units represent 320*240 N64 pixels) to the left, centering it correctly. Enabled by default because why not.

EDIT:

Before:
Far-right Navi

After:
Enlightened centrist Navi

@PurpleHato
Copy link
Member

Like poeple are ranting over things like that, It shouldn't be enabled by default as you want the game to come as vanilla by default


const s16 rCUpBtnX = OTRGetRectDimensionFromRightEdge(R_C_UP_BTN_X+Right_HUD_Margin);
const s16 rCUPIconX = OTRGetRectDimensionFromRightEdge(R_C_UP_ICON_X+Right_HUD_Margin);
const s16 rCUPIconX = OTRGetRectDimensionFromRightEdge(R_C_UP_ICON_X+Right_HUD_Margin-!!CVar_GetS32("gNaviTextFix", 0));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this negated twice?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sure the value is either 0 or 1 and not something else

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thankyou

@Kenix3 Kenix3 merged commit 596d5b4 into HarbourMasters:develop Jun 6, 2022
stratomaster64 pushed a commit to stratomaster64/Shipwright that referenced this pull request Jun 13, 2022
* Fix Navi text HUD position

* Force cvar to return 0 or 1

As suggested by Gary

* Disable all bug fixes by default

per Kenix
th-2021 pushed a commit to th-2021/Shipwright-cmake that referenced this pull request Jun 19, 2022
* Fix Navi text HUD position

* Force cvar to return 0 or 1

As suggested by Gary

* Disable all bug fixes by default

per Kenix
stratomaster64 pushed a commit to stratomaster64/Shipwright that referenced this pull request Jun 20, 2022
* Fix Navi text HUD position

* Force cvar to return 0 or 1

As suggested by Gary

* Disable all bug fixes by default

per Kenix
@vaguerant vaguerant deleted the navicup branch June 28, 2022 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants