Tuesday, March 8, 2011

DirectQ Update - 8th March 2011

I haven't updated on DirectQ for a while as I've been stuck in the depths of some messy coding work for RMQ, but today I did a little more.

We now have arbitrary window resizing, so you can grab borders, move them around, hit the maximize button and so on. This obviously only applies to windowed modes, but it's quite cool nonetheless.

A window resize event needs to also resize the backbuffer, so it's effectively a video mode change, but this is a fast enough operation (especially for windowed modes where a resolution change isn't involved) so it doesn't really matter so much.

It's not 100% feature-complete now, in that it doesn't co-operate with your Video Options menu, and the changed size isn't saved to your config, but I'm in two minds about that. Do I want to make it complete, or do I say that it's not meant to be? Answers on a postcard, please.

2 comments:

=peg= said...

That sure is a neat feature! Will be interesting to see how that works out with a multiple monitor setup (extended desktop) :)

Will arbitrary values for -width and -height be accepted on commandline (along with -window obviously)?

At least that would make up for the settings not saving to config.. but then again.. you might as well save em ;)

mhquake said...

Use at your own risk!

It's not meant to be robust or comprehensive, but I would be interested in reports on how it behaves under various circumstances.

Understand too that if it does misbehave too much and if I don't see much return in toughening it up, it will likely get removed. More of a "nice to have" thing than an essential feature.