|
OpenTTD Source
14.0-beta1
|
#include "../stdafx.h"#include "../fontcache.h"#include "../gfx_layout.h"#include "../zoom_func.h"#include "spritefontcache.h"#include "../table/sprites.h"#include "../table/control_codes.h"#include "../table/unicode.h"#include "../safeguards.h"Go to the source code of this file.
Functions | |
| static int | ScaleFontTrad (int value) |
| Scale traditional pixel dimensions to font zoom level, for drawing sprite fonts. More... | |
Variables | |
| static const int | ASCII_LETTERSTART = 32 |
| First printable ASCII letter. | |
Sprite fontcache implementation.
Definition in file spritefontcache.cpp.
|
static |
Scale traditional pixel dimensions to font zoom level, for drawing sprite fonts.
| value | Pixel amount at #ZOOM_LVL_BASE (traditional "normal" interface size). |
Definition at line 29 of file spritefontcache.cpp.
References UnScaleByZoom().
Referenced by SpriteFontCache::ClearFontCache(), and SpriteFontCache::SpriteFontCache().