Windowed3D() equivalent?

BlitzPlus Forums/BlitzPlus Programming/Windowed3D() equivalent?

QuickSilva(Posted 2003) [#1]
Is there a 2D version of the Windowed3D() command to check to see if your in windowed mode when not using 3D?

Jason.


jhocking(Posted 2003) [#2]
That's not what Windowed3D() is for. It is to check if the display hardware is capable of 3D in a window, not if the game is in windowed mode. Since you set the fullscreen/windowed mode yourself when you call Graphics/Graphics3D telling which mode you are in should be easy. I just declare a global "screenmode" variable at the top and change that, using it when I call Graphics (as in Graphics xres,yres,clrdepth,screenmode all using global variables;) if/when I need to know the screenmode I just check that variable.