[b12b] Game remembers maximised window size in a free window

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

[b12b] Game remembers maximised window size in a free window

#1 Post by Grey »

Uh, dunno if that topic makes real sense...

Basically, I play TOME in a maximised window, so it takes up the full screen whilst still giving me easy access to other applications (like the forums :P). However when restarting the application it starts as a free (non-maximised) window, but the same size as if it were maximised (and thus going off the screen). Game should either remember to start maximised, or remember the window size from before it was maximised.
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [b12b] Game remembers maximised window size in a free wi

#2 Post by darkgod »

That's probably not very doable easily, sdl does not give me such info IIRC
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

getter77
Thalore
Posts: 125
Joined: Sat Dec 12, 2009 2:16 pm
Location: GA, USA
Contact:

Re: [b12b] Game remembers maximised window size in a free wi

#3 Post by getter77 »

I'm utterly ignorant, but what about a...script or something...whereby upon the initializing of the closing down procedure of a game of ToME 4 it reverts back to the default small res window? The player would still have to maximize it again on a subsequent play, but that's better than having a window stretching beyond the monitor. I've had a habit of this display style myself in many a game over the years...

I guess one could personally shrink the window back down manually before closing out a session, but 1 step for the player is better than 2 or so~ :)

Gwai
Sher'Tul
Posts: 1091
Joined: Wed Apr 27, 2005 1:55 pm

Re: [b12b] Game remembers maximised window size in a free wi

#4 Post by Gwai »

I think the game remembers the window size now, because that was a requested feature.

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: [b12b] Game remembers maximised window size in a free wi

#5 Post by Grey »

The current overstretching is still fixed by a single maximization command, so it's not a big issue. One solution might be if the game remembers the window position as well as size - that way it shouldn't stretch off the screen.
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

Post Reply