mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
replace header preprocessor conditional with cpp function
This commit is contained in:
committed by
majcosta
parent
b5ec955324
commit
f8f8461a65
@@ -93,6 +93,14 @@ UINT16 CreateFontPaletteTables(HVOBJECT pObj );
|
||||
|
||||
extern UINT16 gzFontName[32];
|
||||
|
||||
auto GetHugeFont() -> INT32 {
|
||||
#if defined(JA2EDITOR) && defined(ENGLISH)
|
||||
return gpHugeFont;
|
||||
#else
|
||||
return gp16PointArial;
|
||||
#endif
|
||||
}
|
||||
|
||||
BOOLEAN InitializeFonts( )
|
||||
{
|
||||
//INT16 zWinFontName[128]; // unused (jonathanl)
|
||||
|
||||
Reference in New Issue
Block a user