utility.cpp File Reference
Go to the source code of this file.
Namespaces | |
| namespace | PHAL |
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 |
Function Documentation
|
||||||||||||
|
Definition at line 37 of file utility.cpp. Referenced by TestWinCE::OnGameLoop(). |
|
||||||||||||||||||||||||
|
Definition at line 51 of file utility.cpp. References PHAL::CHAR_HEIGHT, PHAL::CHAR_SIZE, PHAL::VGAFONT, x02, x10, and x80. Referenced by PHAL::DrawText(). |
|
||||||||||||||||||||||||
|
Definition at line 79 of file utility.cpp. References PHAL::CHAR_WIDTH, and PHAL::DrawChar(). Referenced by TestWinCE::OnGameLoop(). |
Variable Documentation
|
|
Definition at line 26 of file utility.cpp. Referenced by PHAL::DrawChar(). |
|
|
Definition at line 27 of file utility.cpp. Referenced by PHAL::DrawChar(). |
|
|
Definition at line 25 of file utility.cpp. Referenced by PHAL::DrawText(). |
|
|
Initial value:
{
#include "VGAFont.h"
}
Definition at line 20 of file utility.cpp. Referenced by PHAL::DrawChar(). |
