Command line resolution changing

Command line resolution changing

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
zenzike
Posts: 77
Joined: 12 Apr 2008, 13:19

Command line resolution changing

Post by zenzike »

When I'm debugging Spring, I like setting the resolution manually, but don't like having to play with configuration files all the time. I've patched SpringApp.cpp so that it takes arguments "-x" and "-y" (optionally), and sets the width and height accordingly. If these flags aren't set, then the default behaviour ensues.

This has been submitted to mantis.
zenzike
Posts: 77
Joined: 12 Apr 2008, 13:19

Re: Command line resolution changing

Post by zenzike »

Thanks to Kloot for submitting this. I'm really impressed at how fast the community is at accepting my patches!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Command line resolution changing

Post by Forboding Angel »

Oh dude, that is win! I've been wanting this for some time now.

WIll it accept refresh rates as well?

(For making vids)
zenzike
Posts: 77
Joined: 12 Apr 2008, 13:19

Re: Command line resolution changing

Post by zenzike »

Nope, just resizing the screen!
Post Reply

Return to “Engine”