|
-
May 20th, 2002, 07:13 PM
#1
Thread Starter
Frenzied Member
Minimize a DD game
Hey everyone I guess this one is one for Zaei, but everyone else is welcome too
I just read through some old code I wrote and found some surface restore methods... (Ddraw 7)
so I thought I put those so the game will be able to continue after beeing send to background (it's ddraw fullscreen) I could not check though since it did not let me push it to background...
What do I need to do to make my DD games able to be minimized and still work after maximizing them again?
Sanity is a full time job
Puh das war harter Stoff!
-
May 21st, 2002, 02:16 PM
#2
Member
You have to restore the surfaces, see the DDraw sample coming with the SDK for further details
-
May 21st, 2002, 04:24 PM
#3
Good Ol' Platypus
You'll have to load them all from file again too, unless you have them in memory
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 21st, 2002, 08:23 PM
#4
Thread Starter
Frenzied Member
and if I do so the game wont crash?
Sanity is a full time job
Puh das war harter Stoff!
-
May 21st, 2002, 11:09 PM
#5
Good Ol' Platypus
Mmm, is it crashing when you minimise it or when you restore it?
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 22nd, 2002, 04:27 AM
#6
Thread Starter
Frenzied Member
well why debugging it will crash on the next blt command....
if compiled the programs don't even care to go to background... or if I force them the hard way they won't come back either
Sanity is a full time job
Puh das war harter Stoff!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|