This is library of routines that let you get the depth of a monitor and set the depth of a monitor. Sometimes when writing games you want to force the monitor to 256 colors or you want to make sure you have at least 16 colors. This library has routines to do just that.
All of these routines come almost directly from Kenneth Worley's "Monitor Tricks in C++ 1.51". I wanted a C version instead, but if you use C++ you will probably want to pick up Ken's package. Monitor Tricks also has some other neat features as well. It's available on AOL or you can contact Kenneth directly at: AOL: KNEWorley, Internet: KNEWorley@aol.com.
Disclaimer
This software is considered Public Domain. You are free to use it in any manner you wish. You are free to upload it to your favorite online service, but you must post it with the accompanying readme and description files. If you use or appreciate it, please me know!!
This software is offered 'as is'. The author is not responsible for any damages caused by bugs or defects that might be lurking. But if it blows up your monitor, please let me know. If you find any bugs, problems, enhancements, please contact me AOL: MarkWomack, Internet: MarkWomack@aol.com. If you'd like to receive updates of future versions, drop me a line and let me know which version you have. I'll add you to a mailing list.
What is it?
Included in this package are libraries and projects for MW 68K, MW PPC, and THINK C 7.0 for the depth_lib routines. Also included are projects for a sample application, Depth Tester 1.0, that shows how to use most of the routines.
Future?
• A Pascal version would be nice. If there is an industrious Pascal soul out there that would like to convert these routines, let me know. It shouldn't be too difficult. I'll add it to the next release and give due credit.
• Is there something you feel is missing from this library? Send me an email and let me know!
Give credit where credit is due
• The 3D controls used in Depth Tester come from "Jim's CDEFs v1.50" written by Jim Stout.