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.
 
 
 
 
 
 

42 lines
588 B

#pragma once
#include "all.h"
#include <SDL_ttf.h>
#include "DiabloUI/art.h"
#ifndef TTF_FONT_DIR
#define TTF_FONT_DIR ""
#endif
#ifndef TTF_FONT_NAME
#define TTF_FONT_NAME "CharisSILB.ttf"
#endif
namespace dvl {
enum _artFontTables {
AFT_SMALL,
AFT_MED,
AFT_BIG,
AFT_HUGE,
};
enum _artFontColors {
AFC_SILVER,
AFC_GOLD,
};
extern TTF_Font *font;
extern BYTE *FontTables[4];
extern Art ArtFonts[4][2];
void LoadArtFonts();
void UnloadArtFonts();
void LoadTtfFont();
void UnloadTtfFont();
void FontsCleanup();
} // namespace dvl