|
|
*Palette manipulation needs a lot of work. This will be enhanced in the future.*
|
|
|
|
|
|
#### jlPaletteDefault
|
|
|
```c
|
|
|
void jlPaletteDefault(void);
|
... | ... | @@ -9,3 +11,9 @@ Resets the current palette to the default EGA palette. |
|
|
void jlPaletteSet(byte index, byte r, byte g, byte b);
|
|
|
```
|
|
|
Sets the color of palette position `index` to the specified RGB value. RGB values are specified as 4 bit (0-15) values. Valid `index` values are from 0-15.
|
|
|
|
|
|
#### jlPaletteSetFromSta
|
|
|
```c
|
|
|
void jlPaletteSetFromSta(jlStaT *sta);
|
|
|
```
|
|
|
Sets the display palette to the palette provided by the static image. |