Windowed Mode
Windowed Mode
First off, I have to say this game is awesome. I love pulling out my laptop and playing it during lectures. Getting comments from behind like "Did that rabbit just cut that other rabits throat?".
I just wanted to know if there is a way to run it in windowed mode so one could run in and out of IM chats and the like.
I just wanted to know if there is a way to run it in windowed mode so one could run in and out of IM chats and the like.
-
- NOT A FRIGGIN PROGRAMMER
- Posts: 3272
- Joined: Wed Jan 26, 2005 4:01 pm
- Location: South Carolina, United States
- Contact:
That sounds like fun! I just hope one of the secret ones are out before next January. I'd be glad to pay 20 to 30$ for just about anything you'd make. Wait, let me guess! Hmm...is one of them Lugaru 2? if you're wondering where I came up with the idea, check the first page of the "Lugaru 2?" post on the second page of the "Wolfire" forum. That should just about answer it. David said himself that he wanted a Lugaru 2,
*quote* Yes. *unquote*
Zip too,
*quote* Even though there isn't a Lugaru 1 yet...yep. *unquote*
*quote* Yes. *unquote*
Zip too,
*quote* Even though there isn't a Lugaru 1 yet...yep. *unquote*
take a look at this (Common.h and Common.c): http://203.79.121.211/svn/repos/QTValuePak/
Well, if you want to make windowed mode using AGL, what you'll have to do is kill the current AGL_fullscreen window, make a new non-fullscreen window, and recreate your OpenGL context. This means rebinding all your textures, setting all your GL variables, and rerendering all of your display lists, etc. Depending on how you have everything set up, where you're storing your textures, etc, it shouldn't be _that_ hard to implement a fullscreen/windowed toggle.