FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
551 stars 107 forks source link

Is is possible to set width/height and windowed/fullscreen via command line arguments? #357

Closed noodlecollie closed 6 years ago

noodlecollie commented 6 years ago

I wrote this into my own fork (commits: 1, 2) because I couldn't find a nice way to do it at the time. If it's something that would be useful for the engine as a whole, I can clean it up and port it across in a pull request. The only minor conflict I can see is that we can't use -h to specify height (eg. like the Source engine does) because that's already used to display Xash's help.

a1batross commented 6 years ago

No, there is no way to do it. It would be nice to have such command line parameters.

GoldSrc have -width, -height, -fullscreen and -windowed. With a bunch of aliases, like -w, -h, -full, -sw and so on, but I don't think they are necessary, as these four are most known.

noodlecollie commented 6 years ago

OK cool, I'll look into doing that now.

noodlecollie commented 6 years ago

Done - https://github.com/FWGS/xash3d/pull/359

noodlecollie commented 6 years ago

All merged.