-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Refactor vegastrike-engine and vegasettings to use boost::program_options -- 0.10.x #999
Refactor vegastrike-engine and vegasettings to use boost::program_options -- 0.10.x #999
Conversation
…")`, and `MESSAGE("!! ...")` TO `MESSAGE(WARNING "...")`. engine/CMakeLists.txt, engine/src/main.cpp: Additionally, switch Vega Strike itself over to boost::program_options.
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.
Feel free to be more aggressive in your changes (without breaking stuff). The game was written 25 years ago. A lot of the code and features should go away or be rewritten from scratch.
engine/src/main.cpp
Outdated
// return Audio::Test::main(argc, argv); | ||
} | ||
|
||
if (cmd_args.count("a")) { |
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.
Delete all three resolutions. We shouldn't support anything under 1920x1080.
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.
I disagree about not supporting anything under 1920x1080. There are times -- especially in a VM -- when running with a lower resolution is necessary.
With that said, 800x600 is ridiculously low. I think I will go ahead and remove that option.
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.
800x600 option deleted.
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.
@royfalk I don't think I've ever run at 1920x1080 - that would be full screen for me. I don't think I run as small as 800x600 often.
Just tried running this, and it fails instantly:
|
…ese correspond to '--debug=0' on the command line.
@evertvorster Just fixed that 😄 |
Code Changes:
Issues Addressed:
-d
parameter more flexible in how it accepts input #584Purpose: