|
Init a palette fader.
- Parameters:
-
| pPalette | : Pointer to palette array to fade in or out. |
| PalMode | : Palette mode. 0=background palette, 1=object palette. You can also use one of these defines:
- FADE_PALETTE_BG
- FADE_PALETTE_OBJ
|
| ColMode | : Color mode. 0=16 colors, 1=256 colors. You can also use one of these defines:
- FADE_COLORS_16
- FADE_COLORS_256
|
| PalNo | : If you want to fade a 16 color palette, you have to select the palette bank using this parameter. Must between 0..15! If you want to fade a 256 color palette, just set it to 0. |
- Returns:
- An initialized TFadeInfo structure
This function initializes a TFadeInfo structure, what you need for later usage.
- See also:
- hel_FadePalette(), hel_FadeReset()
|