Subversion Repositories eduke32

Rev

Rev 8658 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8658 Rev 8659
Line 23... Line 23...
23
#include "duke3d.h"
23
#include "duke3d.h"
24
#include "compat.h"
24
#include "compat.h"
25
#include "sbar.h"
25
#include "sbar.h"
26
#include "menus.h"
26
#include "menus.h"
27
27
-
 
28
void G_InitText()
-
 
29
{
-
 
30
    // check if the minifont will support lowercase letters (3136-3161)
-
 
31
    // there is room for them in tiles012.art between "[\]^_." and "{|}~"
-
 
32
    minitext_lowercase = 1;
-
 
33
-
 
34
    for (int i = MINIFONT + ('a'-'!'); minitext_lowercase && i < MINIFONT + ('z'-'!') + 1; ++i)
-
 
35
        minitext_lowercase &= (int)tileLoad(i);
-
 
36
}
-
 
37
28
// assign the character's tilenum
38
// assign the character's tilenum
29
int32_t G_GetStringTile(int32_t font, char c, int32_t f)
39
int32_t G_GetStringTile(int32_t font, char c, int32_t f)
30
{
40
{
31
    if (f & TEXT_DIGITALNUMBER)
41
    if (f & TEXT_DIGITALNUMBER)
32
        return c - '0' + font;
42
        return c - '0' + font;