mirror of
https://github.com/deater/tb1.git
synced 2024-11-19 12:31:56 +00:00
26 lines
505 B
C
26 lines
505 B
C
/* Palette handling part of the Super VMW Graphics Library */
|
|
|
|
#include "svmwgraph.h"
|
|
|
|
|
|
void vmwLoadCustomPalette(vmwVisual *source, int pal[256]) {
|
|
int i;
|
|
for (i=0;i<256;i++) {
|
|
source->palette[i]=pal[i];
|
|
}
|
|
}
|
|
|
|
|
|
void vmwFadeToBlack(vmwVisual *source) {
|
|
// int temp_pal[256];
|
|
// temp_pal=real_pal
|
|
// for (i=0;i<256;i++) {
|
|
// temp_pal[i]--;
|
|
// vmwBlitMemToDisplay()
|
|
// pauseawhile()
|
|
//
|
|
}
|
|
|
|
void vmwUnFade(vmwVisual *source) {
|
|
}
|