Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 8658 → Rev 8659

/source/duke3d/src/game.cpp
6755,13 → 6755,8
S_MusicStartup();
}
 
// check if the minifont will support lowercase letters (3136-3161)
// there is room for them in tiles012.art between "[\]^_." and "{|}~"
minitext_lowercase = 1;
G_InitText();
 
for (int i = MINIFONT + ('a'-'!'); minitext_lowercase && i < MINIFONT + ('z'-'!') + 1; ++i)
minitext_lowercase &= (int)tileLoad(i);
 
if (g_networkMode != NET_DEDICATED_SERVER)
{
Menu_Init();
/source/duke3d/src/text.cpp
25,6 → 25,16
#include "sbar.h"
#include "menus.h"
 
void G_InitText()
{
// check if the minifont will support lowercase letters (3136-3161)
// there is room for them in tiles012.art between "[\]^_." and "{|}~"
minitext_lowercase = 1;
 
for (int i = MINIFONT + ('a'-'!'); minitext_lowercase && i < MINIFONT + ('z'-'!') + 1; ++i)
minitext_lowercase &= (int)tileLoad(i);
}
 
// assign the character's tilenum
int32_t G_GetStringTile(int32_t font, char c, int32_t f)
{
/source/duke3d/src/text.h
35,6 → 35,8
extern int32_t minitext_lowercase;
extern int32_t minitext_yofs;
 
void G_InitText(void);
 
enum {
TEXT_INTERNALSPACE = 0x00000010,
TEXT_TILESPACE = 0x00000020,