mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-15 11:00:46 +00:00
Move localisation code to BBGE, and allow textures to be localised.
This commit is contained in:
parent
b22ceb2aa0
commit
7b2fa39428
12 changed files with 174 additions and 153 deletions
|
@ -485,7 +485,7 @@ void DSQ::loadFonts()
|
|||
|
||||
destroyFonts();
|
||||
|
||||
std::string file = user.localisePath("data/font-small.glf");
|
||||
std::string file = localisePath("data/font-small.glf");
|
||||
|
||||
font.load(file, 1, false);
|
||||
font.fontTopColor = Vector(0.9,0.9,1);
|
||||
|
@ -513,7 +513,7 @@ void DSQ::loadFonts()
|
|||
goldFont.overrideTexture = core->addTexture("font");
|
||||
|
||||
|
||||
file = user.localisePath("data/font.ttf");
|
||||
file = localisePath("data/font.ttf");
|
||||
|
||||
debugLog("ttf...");
|
||||
arialFontData = (unsigned char *)readFile(file, &arialFontDataSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue