LAB: Move the font loading code into the Resource class

This commit is contained in:
Filippos Karapetis 2015-10-08 06:15:36 +03:00 committed by Eugene Sandulenko
parent c67852d940
commit d565b10384
7 changed files with 14 additions and 91 deletions

View file

@ -31,6 +31,7 @@
#include "lab/lab.h"
#include "lab/stddefines.h"
#include "lab/labfun.h"
#include "lab/resource.h"
#include "lab/timing.h"
#include "lab/diff.h"
#include "lab/text.h"
@ -352,7 +353,7 @@ void introSequence() {
blackAllScreen();
g_music->updateMusic();
getFont("P:Map.fon", msgfont);
msgfont = g_resource->getFont("P:Map.fon");
nopalchange = true;
NReadPict("Intro.1", true);