Info-Mac Archive Downloads: dev/lib/

Back to dev/lib/

depth_lib 1.0 (depth-lib-10.hqx)

Download depth-lib-10.hqx (63,573 KB)


From: MarkWomack@aol.com
Subject: depth_lib 1.0

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.

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.