Main Page | Modules | Related Pages

Splash-Screen Functions

Functions


Function Documentation

void hel_Splash void *  pBitmap,
void *  pPalette,
u8  SplashTypeIn,
u8  SplashTypeOut,
u8  FadeInSpeed,
u8  FadeOutSpeed,
u8  WaitFrames,
u8  AfterWaitFrames
 

Display a Splash-Screen.

Please read the hel_SplashUnComp documentation.

See also:
hel_SplashUnComp

void hel_SplashUnComp void *  pBitmap,
void *  pPalette,
u8  SplashTypeIn,
u8  SplashTypeOut,
u8  FadeInSpeed,
u8  FadeOutSpeed,
u8  WaitFrames,
u8  AfterWaitFrames,
u32  CompressionType
 

Display a Splash-Screen with image decompression support.

Parameters:
pBitmap Pointer to picture-data. The image must have one of the following sizes, depending on in what mode the GBA currently is:
  • Mode 3 : 240*160 pixels, 15bit BGR
  • Mode 4 : 240*160 pixels, 8 bit
  • Mode 5 : 160*120 pixels, 15bit BGR
This function also supports compressed image data. If the image data is compressed, the CompressionType parameter has to be set to the compression type it was compressed with.
pPalette Pointer to palette-data. In mode 3 and 5 set it to NULL
SplashTypeIn Type of splash screen in-fader. This can be on of these:
  • SPLASH_TYPE_BLACK
  • SPLASH_TYPE_WHITE
SplashTypeOut Type of splash screen out-fader. This can be on of these:
  • SPLASH_TYPE_BLACK
  • SPLASH_TYPE_WHITE
FadeInSpeed Speed of in-fading process. Setting this to 6 looks nice.
FadeOutSpeed Speed of out-fading process. Setting this to 6 looks nice.
WaitFrames How many frames the image should be display (without fade in/out)
AfterWaitFrames How many frames the function should wait before leaving
CompressionType The compression type of the data where pBitmap points to. This can be one of the COMPRESSION_TYPE_* predefined values.
Note:
The Splash functions are designed for bitmap modes (mode 3/4/5) only and uses the special effect register.
See also:
hel_Splash, hel_SwiUnComp


Generated on Sun Oct 9 20:21:01 2005 by DoxyGen 1.4.4