Page 1 of 1

maximize window option in settings?

Posted: 16 Jul 2008, 02:10
by TradeMark
im using windowed mode with as big resolution as possible.

could we have setting to maximize the window when game is started? so i dont need to doubleclick it or anything, every time when i start a game...


--

i also found some typo in the grass detail settings at the description of it, (if someone cares to fix it)

also, could you rename "unit detail" setting into "unit view distance" as it was before? i was confused to notice that it changes the view distance instead of something else...

Re: maximize window option in settings?

Posted: 27 Jul 2008, 20:15
by TradeMark
can someone tell me how to do this, i need it in my own program too :-)

windows/c++

Re: maximize window option in settings?

Posted: 01 Aug 2008, 17:07
by FrOzEnTaCo
hi trademark its sandman lol :wink:

Re: maximize window option in settings?

Posted: 27 Oct 2008, 19:49
by TradeMark
I finally found out how to do this:

Code: Select all

ShowWindow(hWnd, SW_MAXIMIZE);
YAY!!!

Now can someone implement this in the springsettings.exe + in spring code? THANKS. And thank me for giving you this piece of code to improve spring again! :wink:

Look!, i even made example layout for the springsettings.exe:
Image
Isnt it nice? 8)

Re: maximize window option in settings?

Posted: 27 Oct 2008, 21:50
by Tobi
Needs more SDL specific code...

Re: maximize window option in settings?

Posted: 27 Oct 2008, 22:10
by TradeMark
Meh, cant you make some info box "this works only with windows" if its impossible for linux / mac? Most of us uses windows anyways...

Re: maximize window option in settings?

Posted: 28 Oct 2008, 01:05
by Tobi
no

Re: maximize window option in settings?

Posted: 28 Oct 2008, 01:26
by TradeMark
Okay, is it possible to have this feature anyways?