home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
code_examples
/
fade
/
fade.doc
< prev
next >
Wrap
Text File
|
1989-08-16
|
1KB
|
34 lines
////
////
//// Vector Industries
\\\\//// George Burgyan
\\XX// 1164 Erieview Rd.
\X// Cleveland Hts. OH 44121
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This program is public domain, althought If you use it in your own
Program I would appreciate you telling me or sending some money to the
above address
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Fade(screen, destMap, delay, numcolors)
where "screen" is the screen to fade, "destMap" is the colormap to fade
to, in the form of 0x0rgb (r = red, g = green, b=blue), "delay" is the
number of ticks (1/50th of a sec.) bewteen the steps (16 of them), and
"numcolors" is the number of colors in the destMap.
This command will smoothly fade the screen to the specified colormap.
unlike other commands like this, all the colors get to the destmap at the
same time.
FadeToBlack (screen, delay, numcolors)
This command is just like the previous one except the colormap is made
for you and set to black.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-