diff options
author | Eugene Sandulenko | 2004-08-03 00:06:18 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-08-03 00:06:18 +0000 |
commit | fe1ab79beeec83d156572c12a8f3e1cb874d7d7d (patch) | |
tree | 8e0d76681289fa5caa7ba3d67a3cfb4baea0693d /saga/saga.cpp | |
parent | 8585d77d34317412dbacbac058d704b98b8a0a78 (diff) | |
download | scummvm-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.cpp | 6 |
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(); |