coastline 0.0.4
Loading...
Searching...
No Matches
fontatlas.h
Go to the documentation of this file.
1
5#ifndef COASTLINE_FONTATLAS_H
6#define COASTLINE_FONTATLAS_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
13#define LARGE_FONT_ATLAS_GLYPH_BYTES 0xa00
14
16#define SMALL_FONT_ATLAS_GLYPH_BYTES 0x280
17
19#define FONT_ATLAS_GLYPHS 54
20
27
34
41
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* COASTLINE_FONTATLAS_H */
#define SMALL_FONT_ATLAS_GLYPH_BYTES
The bytes of a glyph of g_abSmallFontAtlas, 32 texels across and 20 down.
Definition fontatlas.h:16
int g_dwSmallFontAtlasTextureId
The entry of g_pTextureEntries that draws a glyph of g_abSmallFontAtlas.
#define FONT_ATLAS_GLYPHS
The number of glyphs of each atlas.
Definition fontatlas.h:19
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.
int g_dwLargeFontAtlasTextureId
The entry of g_pTextureEntries that draws a glyph of g_abLargeFontAtlas.
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.
#define LARGE_FONT_ATLAS_GLYPH_BYTES
The bytes of a glyph of g_abLargeFontAtlas, 64 texels across and 40 down.
Definition fontatlas.h:13