◆ adelineLogo()
bool TwinE::Screens::adelineLogo |
( |
| ) |
|
Load and display Adeline Logo
◆ loadCustomPalette()
void TwinE::Screens::loadCustomPalette |
( |
const TwineResource & |
resource | ) |
|
Load a custom palette
- Parameters
-
index | RESS.HQR entry index (starting from 0) |
◆ loadMenuImage()
void TwinE::Screens::loadMenuImage |
( |
bool |
fadeIn = true | ) |
|
Load and display Main Menu image
◆ loadImage()
void TwinE::Screens::loadImage |
( |
TwineImage |
image, |
|
|
bool |
fadeIn = true |
|
) |
| |
Load and display a particularly image on RESS.HQR file with cross fade effect
- Parameters
-
index | RESS.HQR entry index (starting from 0) |
paletteIndex | RESS.HQR entry index of the palette for the given image. This is often the index + 1 |
fadeIn | if we fade in before using the palette |
◆ loadImageDelay()
bool TwinE::Screens::loadImageDelay |
( |
TwineImage |
image, |
|
|
int32 |
seconds |
|
) |
| |
Load and display a particularly image on RESS.HQR file with cross fade effect and delay
- Parameters
-
index | RESS.HQR entry index (starting from 0) |
paletteIndex | RESS.HQR entry index of the palette for the given image. This is often the index + 1 |
seconds | number of seconds to delay |
- Returns
true
if aborted
◆ fadePalToPal()
Adjust between two palettes
- Parameters
-
pal1 | palette from adjust |
pal2 | palette to adjust |
◆ fadeToBlack()
Fade image to black
- Parameters
-
palette | current palette to fade |
◆ fadeToPal()
Fade image with another palette source
- Parameters
-
palette | current palette to fade |
◆ whiteFade()
void TwinE::Screens::whiteFade |
( |
| ) |
|
Fade black palette to white palette
◆ setBlackPal()
void TwinE::Screens::setBlackPal |
( |
| ) |
|
Resets both in-game and sdl palettes
◆ fadeToRed()
Fade palette to red palette
- Parameters
-
palette | current palette to fade |
◆ fadeRedToPal()
Fade red to palette
- Parameters
-
palette | current palette to fade |
◆ copyScreen()
Copy a determinate screen buffer to another
- Parameters
-
source | screen buffer |
destination | screen buffer |
◆ clearScreen()
void TwinE::Screens::clearScreen |
( |
| ) |
|
Clear front buffer screen
◆ initPalettes()
void TwinE::Screens::initPalettes |
( |
| ) |
|
◆ _ptrPal
◆ _flagBlackPal
bool TwinE::Screens::_flagBlackPal = false |
flag to check in the game palette was changed
◆ _flagFade
bool TwinE::Screens::_flagFade = false |
flag to check if the main flag is locked
◆ _flagPalettePcx
bool TwinE::Screens::_flagPalettePcx = false |
flag to check if we are using a different palette than the main one
The documentation for this class was generated from the following file: