Skip to content

Comments

Add command line args for window config to platform/nix.#501

Open
BryanRykowski wants to merge 1 commit intoXProger:masterfrom
BryanRykowski:nix_cmdline_args
Open

Add command line args for window config to platform/nix.#501
BryanRykowski wants to merge 1 commit intoXProger:masterfrom
BryanRykowski:nix_cmdline_args

Conversation

@BryanRykowski
Copy link

Add --window-size=widthxheight and --fullscreen args to nix main.cpp using argWindowSize() and argFullscreen(). Also add argLevelName() to preserve existing level name arg behaviour.

I put the functions in a new file, src/cmdline.h in case anyone wants to add them to other platform mains.

Add --window-size=widthxheight and --fullscreen args to nix main.cpp
using argWindowSize() and argFullscreen(). Also add argLevelName() to
preserve existing level name arg behaviour.
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.

1 participant