#include "types.h"


Go to the source code of this file.
Namespaces | |
| namespace | Graphics |
| Graphics functions. | |
| namespace | Graphics::ColorTransformation |
| Color transformations. | |
| namespace | Graphics::SplashEffect |
| Splash available effects. | |
Enumerations | |
| enum | Graphics::ColorTransformation::mode { Graphics::ColorTransformation::LIGHTER, Graphics::ColorTransformation::DARKER } |
| Color transformation for the function Graphics::factorize_palette. More... | |
Functions | |
| void | Graphics::FactorizePalette (const u16 *src_palette, u16 *dst_palette, int palette_size, u8 factor, ColorTransformation::mode trans) |
| Multiply a palette by a certain factor making colors lighter or darker. | |
| void | Graphics::SplashImage (const unsigned int *bitmap, const unsigned short *palette, Types::Screen::selector screen, int bgid, u8 effect) |
| Splash an image in a screen. | |
| void | Graphics::PrintBitmap (int x, int y, int width, int height, const unsigned int *bitmap, unsigned short key_color, int bgid, Types::Screen::selector screen) |
| Prints a bitmap from grit in a background. | |
| void | Graphics::PrintBitmapRegion (int dst_x, int dst_y, int region_x, int region_y, int region_width, int region_height, int bmp_width, int bmp_height, const unsigned int *bitmap, unsigned short key_color, int bgid, Types::Screen::selector screen, bool use_key_color=true) |
| Print a region of a bitmap in a background. | |
| void | Graphics::RedrawBgRegion (int x, int y, int region_width, int region_height, Types::MainScreenMode::mode screen_mode, GameMode::mode game_mode, int bgid) |
| Redraw a region of a background. | |
| void | Graphics::RedrawBgRegion (int x, int y, int region_width, int region_height, Types::SubScreenMode::mode screen_mode, GameMode::mode game_mode, int bgid) |
| Redraw a region of a background. | |
| void | Graphics::PrintBitmap (int x, int y, int width, int height, const unsigned char *bitmap, int bgid, Types::Screen::selector screen) |
| Print a bitmap in a background. | |
| void | Graphics::Fill (unsigned short color, Types::Screen::selector screen) |
| Fill the screen with a color. | |
| unsigned short | Graphics::FindColor (unsigned short color, Types::Screen::selector screen, unsigned short offset=0) |
| void | Graphics::SetColors () |
| Set black and gray colors variables to render fonts. | |
| const unsigned int * | Graphics::GetBitmapPtr (Types::MainScreenMode::mode screen_mode) |
| const unsigned short * | Graphics::GetPalPtr (Types::MainScreenMode::mode screen_mode) |
| const unsigned int * | Graphics::GetBitmapPtr (Types::SubScreenMode::mode screen_mode, GameMode::mode game_mode) |
| const unsigned short * | Graphics::GetPalPtr (Types::SubScreenMode::mode screen_mode, GameMode::mode game_mode) |
Variables | |
| const char | Graphics::SplashEffect::APPEAR = 1 |
| Appear from darker to lighter. | |
| const char | Graphics::SplashEffect::DISSOLVE = 2 |
| Dissolve from lighter to darker. | |
Definition in file graphics.h.
1.5.8