Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeoUI - Custom loading screen, wrapped text #677

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nullsystem
Copy link
Collaborator

@nullsystem nullsystem commented Oct 4, 2024

Description

  • Re-route the old VGUI text/progress into NeoUI
  • Loading vs disconnect states by title locale index
  • Single-progress bar as 2nd one not used
  • Preload map name if known (serverlist + new game)
  • NeoUI::LabelWrap for a wrapped version of a label
  • NeoUI::Progress a read-only progress bar
  • No mouse input since it doesn't work properly/workarounds doesn't work well

Toolchain

  • Linux GCC Distro Native Arch/GCC 14

Linked Issues

* Re-route the old VGUI text/progress into NeoUI
* Loading vs disconnect states by title locale index
* Single-progress bar as 2nd one not used
* Preload map name if known (serverlist + new game)
* fixes NeotokyoRebuild#603
@nullsystem nullsystem marked this pull request as ready for review October 5, 2024 22:20
@nullsystem nullsystem requested a review from a team October 8, 2024 19:28
AdamTadeusz
AdamTadeusz previously approved these changes Oct 9, 2024
{
if (IGameUI *pGameUI = reinterpret_cast<IGameUI *>(gameUIFactory(GAMEUI_INTERFACE_VERSION, nullptr)))
{
g_pNeoLoading = new CNeoLoading;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should g_pNeoLoading be deleted and the value of the pointer reset in ~ClientModeShared()

Copy link
Contributor

@AdamTadeusz AdamTadeusz left a comment

Choose a reason for hiding this comment

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

Should g_pNeoLoading be deleted and the value of the pointer reset in ~ClientModeShared()

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.

[FEATURE] Root NeoUI - Override loading screen
2 participants