coastline 0.0.4
Loading...
Searching...
No Matches
fontatlas.h File Reference

The atlases of the HUD fonts of the Glide renderer and their textures. More...

Go to the source code of this file.

Macros

#define LARGE_FONT_ATLAS_GLYPH_BYTES   0xa00
 The bytes of a glyph of g_abLargeFontAtlas, 64 texels across and 40 down.
#define SMALL_FONT_ATLAS_GLYPH_BYTES   0x280
 The bytes of a glyph of g_abSmallFontAtlas, 32 texels across and 20 down.
#define FONT_ATLAS_GLYPHS   54
 The number of glyphs of each atlas.

Variables

unsigned char g_abLargeFontAtlas [LARGE_FONT_ATLAS_GLYPH_BYTES *FONT_ATLAS_GLYPHS]
 The glyphs of the large HUD font, in the alpha-intensity 4:4 format of Glide, one after another.
unsigned char g_abSmallFontAtlas [SMALL_FONT_ATLAS_GLYPH_BYTES *FONT_ATLAS_GLYPHS]
 The glyphs of the small HUD font, in the alpha-intensity 4:4 format of Glide, one after another.
int g_dwLargeFontAtlasTextureId
 The entry of g_pTextureEntries that draws a glyph of g_abLargeFontAtlas.
int g_dwSmallFontAtlasTextureId
 The entry of g_pTextureEntries that draws a glyph of g_abSmallFontAtlas.

Detailed Description

The atlases of the HUD fonts of the Glide renderer and their textures.

Macro Definition Documentation

◆ LARGE_FONT_ATLAS_GLYPH_BYTES

#define LARGE_FONT_ATLAS_GLYPH_BYTES   0xa00

The bytes of a glyph of g_abLargeFontAtlas, 64 texels across and 40 down.

◆ SMALL_FONT_ATLAS_GLYPH_BYTES

#define SMALL_FONT_ATLAS_GLYPH_BYTES   0x280

The bytes of a glyph of g_abSmallFontAtlas, 32 texels across and 20 down.

◆ FONT_ATLAS_GLYPHS

#define FONT_ATLAS_GLYPHS   54

The number of glyphs of each atlas.

Variable Documentation

◆ g_abLargeFontAtlas

unsigned char g_abLargeFontAtlas[LARGE_FONT_ATLAS_GLYPH_BYTES *FONT_ATLAS_GLYPHS]
extern

The glyphs of the large HUD font, in the alpha-intensity 4:4 format of Glide, one after another.

Ghidra address:
BRGlide: 0x1007b618

◆ g_abSmallFontAtlas

unsigned char g_abSmallFontAtlas[SMALL_FONT_ATLAS_GLYPH_BYTES *FONT_ATLAS_GLYPHS]
extern

The glyphs of the small HUD font, in the alpha-intensity 4:4 format of Glide, one after another.

Ghidra address:
BRGlide: 0x1009d218

◆ g_dwLargeFontAtlasTextureId

int g_dwLargeFontAtlasTextureId
extern

The entry of g_pTextureEntries that draws a glyph of g_abLargeFontAtlas.

Ghidra address:
BRGlide: 0x1184c47c

◆ g_dwSmallFontAtlasTextureId

int g_dwSmallFontAtlasTextureId
extern

The entry of g_pTextureEntries that draws a glyph of g_abSmallFontAtlas.

Ghidra address:
BRGlide: 0x1184c46c