PHAL Namespace Reference
Classes | |
| class | Game |
| class | Config |
| struct | IGame |
| class | GameBase |
Functions | |
| void | Clear (Surface *surface, uint16_t color) |
| bool | DrawChar (Surface *surface, int x, int y, char character, uint16_t color) |
| void | DrawText (Surface *surface, int x, int y, const char *text, uint16_t color) |
Variables | |
| static const uint8_t | VGAFONT [] |
| static const int | CHAR_WIDTH = 8 |
| static const int | CHAR_HEIGHT = 16 |
| static const int | CHAR_SIZE = 16 |
| const uint16_t | COLOR_BLACK = 0x0000 |
| const uint16_t | COLOR_DARKGRAY = 0x4208 |
| const uint16_t | COLOR_GRAY = 0x8410 |
| const uint16_t | COLOR_LIGHTGRAY = 0xC618 |
| const uint16_t | COLOR_WHITE = 0xFFFF |
| const uint16_t | COLOR_RED = 0x1F << 11 |
| const uint16_t | COLOR_GREEN = 0x3F << 5 |
| const uint16_t | COLOR_BLUE = 0x1F |
| const uint16_t | COLOR_YELLOW = COLOR_RED | COLOR_GREEN |
| const uint16_t | COLOR_PINK = COLOR_RED | COLOR_BLUE |
| const uint16_t | COLOR_CYAN = COLOR_GREEN | COLOR_BLUE |
Function Documentation
|
||||||||||||
|
Definition at line 37 of file utility.cpp. Referenced by TestWinCE::OnGameLoop(). |
|
||||||||||||||||||||||||
|
Definition at line 51 of file utility.cpp. References CHAR_HEIGHT, CHAR_SIZE, VGAFONT, x02, x10, and x80. Referenced by DrawText(). |
|
||||||||||||||||||||||||
|
Definition at line 79 of file utility.cpp. References CHAR_WIDTH, and DrawChar(). Referenced by TestWinCE::OnGameLoop(). |
Variable Documentation
|
|
Definition at line 26 of file utility.cpp. Referenced by DrawChar(). |
|
|
Definition at line 27 of file utility.cpp. Referenced by DrawChar(). |
|
|
Definition at line 25 of file utility.cpp. Referenced by DrawText(). |
|
|
Definition at line 26 of file utility.h. Referenced by TestWinCE::OnGameLoop(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value:
{
#include "VGAFont.h"
}
Definition at line 20 of file utility.cpp. Referenced by DrawChar(). |
