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

Splashscreen customization #496

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheGondos
Copy link
Contributor

This PR should probably wait for after the 2024 release.
It adds support for custom load screens via a new scenario parameter "SplashScreen" in the ENVIRONMENT section :
BEGIN_ENVIRONMENT
System Sol
Date MJD 51982.0975169074
SplashScreen 0x0000ff Images/myawesomelogo.jpg
END_ENVIRONMENT

First parameter is a color in 0xbbggrr format, followed by the image filename to be shown on the splashscreen

Since I was messing with State.h, I took the opportunity to replace the error prone char arrays with std::string

@maxq519
Copy link

maxq519 commented Sep 22, 2024

Why should this wait for after the 2024 release? Seems like a relatively minor feature in terms of code, but would be really cool to have.

@TheGondos
Copy link
Contributor Author

TheGondos commented Sep 27, 2024

We need to freeze features or we'll never release a new version...
I'm not really satisfied with the syntax for the color but I don't want to invest more time in this before I get some feedback on the feature as a whole.
There are some topics to address : what happens with different screen ratios, do we need to be able to move the text...

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.

2 participants