Archived

This topic is now archived and is closed to further replies.

AOEJan

Screen Resolutions

Recommended Posts

Has anyone ever noticed that come games set the screen resolutuions to something like 300x200. How do you do that? If anyone can give me any help that would be much appreciated...

Share this post


Link to post
Share on other sites
What API? There''s a huge difference on how to do this if you''re using DirectDraw, DirectGraphics (D3D 8), GDI, Glide, or OpenGL.

Or perhaps you''re using DOS Mode 21h? In that case you need to move the screen resolution 10h into register ax, and call a 21h interrupt (I think... my DOS VGA knowledge is rusty).



MatrixCubed
http://MatrixCubed.cjb.net

Share this post


Link to post
Share on other sites
I''m using some bizarre old programming language that cannot change most stuff about windows. I figured if I just wrote a C++ program that changed the resolution, ran my program and then changed it back, it would suffice. But I tried looking up stuff about screen resolutions but I really don''t understand it well enough...

Share this post


Link to post
Share on other sites