22#ifndef ACCESS_NOCTROPOLIS_NOCTROPOLIS_FONT_H
23#define ACCESS_NOCTROPOLIS_NOCTROPOLIS_FONT_H
25#include "access/font.h"
29namespace Noctropolis {
31const extern uint16 CHALETEU_OFFSETS[];
32const extern byte CHALETEU_DATA[];
33const extern uint16 SYSTEMEU_OFFSETS[];
34const extern byte SYSTEMEU_DATA[];
35const extern uint16 SML3X5_OFFSETS[];
36const extern byte SML3X5_DATA[];
37const extern uint16 NAPLES12_OFFSETS[];
38const extern byte NAPLES12_DATA[];
39const extern uint16 GOTHICEU_OFFSETS[];
40const extern byte GOTHICEU_DATA[];
41const extern uint16 CHALETSE_OFFSETS[];
42const extern byte CHALETSE_DATA[];
43const extern uint16 COMICSEU_OFFSETS[];
44const extern byte COMICSEU_DATA[];
48 NoctropolisFont(uint16 bytes, int16 height,
byte firstchar,
byte lastchar,
const uint16 *offsets,
const byte *data);
51 void load(
const uint16 *offsets,
const byte *data);
52 const byte *getCharDataPtr(
byte ch,
const uint16 *offsets,
const byte *data)
const;
53 uint getCharBitOffset(
byte ch,
const uint16 *offsets)
const;
54 uint getCharWidth(
byte ch,
const uint16 *offsets)
const;
55 void makeCharSurface(
Graphics::Surface &surface,
byte ch,
const uint16 *offsets,
const byte *data)
const;
Definition: noctropolis_font.h:46