Main menu to run in windowed mode

ownosownos Join Date: 2010-11-21 Member: 75124Members
<div class="IPBDescription">As in LoL</div>For classic server browsing, usually this isn't a pest. But when waiting for a gathering game, this could definitely lighten the wait, since we would be able to do other stuff than stare at a timer.

When a game is found, the window could make a sound and grab focus / blink in the taskbar or something.

Comments

  • ownosownos Join Date: 2010-11-21 Member: 75124Members
  • CamronCamron Join Date: 2011-01-06 Member: 76356Members
    You may be able to do this with something like:
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if not Client.GetIsWindowFocused() then //might not even be necessary
        Client.SetOptionString ( kWindowModeOptionsKey, "fullscreen" )
        Client.ReloadGraphicsOptions()
    end<!--c2--></div><!--ec2-->
    You may have to set the window mode to something it isn't first in order for the reload command to activate. You would just need to paste this into the part of the code that handles when a game is found.
  • ownosownos Join Date: 2010-11-21 Member: 75124Members
    Yea, something like this would be nice. And a set to windows mode on startup of course, and disconnect =)
Sign In or Register to comment.