You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
534 B
35 lines
534 B
#pragma once |
|
|
|
#include <cstdint> |
|
#include <memory> |
|
|
|
#include <SDL_ttf.h> |
|
|
|
#include "DiabloUI/art.h" |
|
|
|
namespace devilution { |
|
|
|
enum _artFontTables : uint8_t { |
|
AFT_SMALL, |
|
AFT_MED, |
|
AFT_BIG, |
|
AFT_HUGE, |
|
}; |
|
|
|
enum _artFontColors : uint8_t { |
|
AFC_SILVER, |
|
AFC_GOLD, |
|
}; |
|
|
|
extern TTF_Font *font; |
|
extern std::unique_ptr<uint8_t[]> FontTables[4]; |
|
extern Art ArtFonts[4][2]; |
|
|
|
void LoadArtFonts(); |
|
void UnloadArtFonts(); |
|
|
|
void LoadTtfFont(); |
|
void UnloadTtfFont(); |
|
void FontsCleanup(); |
|
|
|
} // namespace devilution
|
|
|