|
coastline 0.0.4
|
The bitmap text the debug tools draw straight into the frame buffer, and the other debug aids beside it. More...
#include <PR/ultratypes.h>
Go to the source code of this file.
Macros | |
| #define | BITMAP_FONT_GLYPHS 69 |
| The characters of the bitmap fonts, from space to the last of {|}~. | |
| #define | BITMAP_FONT_ROWS 7 |
| The rows of a glyph. | |
| #define | BITMAP_FONT_WIDE_COLUMNS 5 |
| #define | BITMAP_FONT_NARROW_COLUMNS 3 |
Functions | |
| void | DebugFrameStubA (void) |
| A per-frame debug hook with an empty body. | |
| void | DrawBitmapTextToFramebuffer (const char *text) |
| Draw text into the frame buffer on display, outlined in black. | |
| void | InitBitmapText (void) |
| Start the bitmap text at the top left in white, in the wide font. | |
| void | StepDebugHiddenInstance (void) |
| Step the hidden placed model by the cycle step until it reaches one drawn this frame, or the first, then stop stepping. | |
| void | BeginDebugStats (void) |
| Start the debug statistics of a frame. | |
| void | DebugFrameStubB (void) |
| A per-frame debug hook with an empty body. | |
Variables | |
| s16 | g_aBitmapFontWide [BITMAP_FONT_GLYPHS][BITMAP_FONT_ROWS][BITMAP_FONT_WIDE_COLUMNS] |
| The wide font. | |
| s16 | g_aBitmapFontNarrow [BITMAP_FONT_GLYPHS][BITMAP_FONT_ROWS][BITMAP_FONT_NARROW_COLUMNS] |
| The narrow font. | |
| s32 | g_dwBitmapTextX |
| The column where the bitmap text starts its line. | |
| s32 | g_dwBitmapTextY |
| The row where the bitmap text starts. | |
| s32 | g_bBitmapTextNarrow |
| Whether the bitmap text uses the narrow font. | |
| u16 | g_wBitmapTextColor |
| The colour of the wide font. | |
| s32 | g_nDebugInstanceCycleStep |
| The step StepDebugHiddenInstance() takes through the placed models, or 0 to stay. | |
The bitmap text the debug tools draw straight into the frame buffer, and the other debug aids beside it.
| #define BITMAP_FONT_GLYPHS 69 |
The characters of the bitmap fonts, from space to the last of {|}~.
| #define BITMAP_FONT_ROWS 7 |
The rows of a glyph.
| #define BITMAP_FONT_WIDE_COLUMNS 5 |
The columns of a glyph of the wide font.
| #define BITMAP_FONT_NARROW_COLUMNS 3 |
The columns of a glyph of the narrow font.
| void DebugFrameStubA | ( | void | ) |
A per-frame debug hook with an empty body.
| void DrawBitmapTextToFramebuffer | ( | const char * | text | ) |
Draw text into the frame buffer on display, outlined in black.
Lower case draws as upper case, a newline moves down a line, and another control character draws as a space.
| text | The text, terminated by a null character. |
| void InitBitmapText | ( | void | ) |
Start the bitmap text at the top left in white, in the wide font.
| void StepDebugHiddenInstance | ( | void | ) |
Step the hidden placed model by the cycle step until it reaches one drawn this frame, or the first, then stop stepping.
| void BeginDebugStats | ( | void | ) |
Start the debug statistics of a frame.
| void DebugFrameStubB | ( | void | ) |
A per-frame debug hook with an empty body.
|
extern |
The wide font.
A pixel is drawn in the text colour where its entry is not zero.
|
extern |
The narrow font.
Each entry not zero is the colour of its pixel.
|
extern |
The column where the bitmap text starts its line.
|
extern |
The row where the bitmap text starts.
|
extern |
Whether the bitmap text uses the narrow font.
|
extern |
The colour of the wide font.
|
extern |
The step StepDebugHiddenInstance() takes through the placed models, or 0 to stay.