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
feature: cross-platform UI #39
feature: cross-platform UI #39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
7475d3b
to
4bd1e4b
Compare
166e7cc
to
7c5c5ce
Compare
Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
7c5c5ce
to
416f191
Compare
A big thumbs-up for explicitly paying attention to Linux-compatibility! |
I'm currently testing it under Linux ;) |
wow that is remarkable - running civ1 on Linux without an emulator! |
Description of Changes
Brings a cross-platform UI, thanks to AvaloniaUI.
Keeps the WinForms client as a comparison (for now).
Separates OpenCiv1 assembly from the UI.
Rationale behind Changes
Enables more contributions from people who don"t use Windows.
Enables the game to run on Linux, Mac, while still running on Windows.
The structure also enable the reuse of the OpenCiv1.UI assembly for a Blazor or Avalonia WASM project, and iOS and Android projects.
Suggested Testing Steps
Two things to fix in RedrawScreen: wrong colors and wrong coords.
Also the MessageBox that confirms the user exiting the app arrives too late (the app has already closed.