aboutsummaryrefslogtreecommitdiff
path: root/saga/saga.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-08-03 00:06:18 +0000
committerEugene Sandulenko2004-08-03 00:06:18 +0000
commitfe1ab79beeec83d156572c12a8f3e1cb874d7d7d (patch)
tree8e0d76681289fa5caa7ba3d67a3cfb4baea0693d /saga/saga.cpp
parent8585d77d34317412dbacbac058d704b98b8a0a78 (diff)
downloadscummvm-rg350-fe1ab79beeec83d156572c12a8f3e1cb874d7d7d.tar.gz
scummvm-rg350-fe1ab79beeec83d156572c12a8f3e1cb874d7d7d.tar.bz2
scummvm-rg350-fe1ab79beeec83d156572c12a8f3e1cb874d7d7d.zip
Move FONT_* to class.
svn-id: r14449
Diffstat (limited to 'saga/saga.cpp')
-rw-r--r--saga/saga.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/saga.cpp b/saga/saga.cpp
index 8b4c723882..6599e97d9b 100644
--- a/saga/saga.cpp
+++ b/saga/saga.cpp
@@ -41,7 +41,7 @@
#include "saga/cvar_mod.h"
#include "saga/events_mod.h"
#include "saga/actionmap.h"
-#include "saga/font_mod.h"
+#include "saga/font.h"
#include "saga/game_mod.h"
#include "saga/game.h"
#include "saga/interface_mod.h"
@@ -149,7 +149,7 @@ void SagaEngine::go() {
// Initialize engine modules
_sndRes = new SndRes(this);
EVENT_Init();
- FONT_Init();
+ _font = new Font(this);
SPRITE_Init();
_anim = new Anim(this);
_script = new Script();
@@ -247,7 +247,7 @@ void SagaEngine::shutdown() {
delete _actor;
delete _script;
SPRITE_Shutdown();
- FONT_Shutdown();
+ delete _font;
CON_Shutdown();
CVAR_Shutdown();
EVENT_Shutdown();