diff options
author | Gregory Montoir | 2007-01-27 02:26:37 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-01-27 02:26:37 +0000 |
commit | 2b61c0d6c1efba14b23655905751981e9b19e365 (patch) | |
tree | c3964a11338fc21e7e9542ced5b860fa167c3daf /engines/scumm/insane/insane.cpp | |
parent | 843b30403163b67ec277f086f3ead587bd50e266 (diff) | |
download | scummvm-rg350-2b61c0d6c1efba14b23655905751981e9b19e365.tar.gz scummvm-rg350-2b61c0d6c1efba14b23655905751981e9b19e365.tar.bz2 scummvm-rg350-2b61c0d6c1efba14b23655905751981e9b19e365.zip |
cleanup (made NutRenderer::loadFont protected, added call during initialisation of the renderer object)
svn-id: r25223
Diffstat (limited to 'engines/scumm/insane/insane.cpp')
-rw-r--r-- | engines/scumm/insane/insane.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/engines/scumm/insane/insane.cpp b/engines/scumm/insane/insane.cpp index 505ade1453..eaca1da4e7 100644 --- a/engines/scumm/insane/insane.cpp +++ b/engines/scumm/insane/insane.cpp @@ -65,16 +65,12 @@ Insane::Insane(ScummEngine_v7 *scumm) { readFileToMem("toranch.flu", &_smush_toranchFlu); readFileToMem("minedriv.flu", &_smush_minedrivFlu); readFileToMem("minefite.flu", &_smush_minefiteFlu); - _smush_bensgoggNut = new NutRenderer(_vm); - _smush_bensgoggNut->loadFont("bensgogg.nut", false); - _smush_bencutNut = new NutRenderer(_vm); - _smush_bencutNut->loadFont("bencut.nut", false); + _smush_bensgoggNut = new NutRenderer(_vm, "bensgogg.nut", false); + _smush_bencutNut = new NutRenderer(_vm, "bencut.nut", false); } - _smush_iconsNut = new NutRenderer(_vm); - _smush_iconsNut->loadFont("icons.nut", false); - _smush_icons2Nut = new NutRenderer(_vm); - _smush_icons2Nut->loadFont("icons2.nut", false); + _smush_iconsNut = new NutRenderer(_vm, "icons.nut", false); + _smush_icons2Nut = new NutRenderer(_vm, "icons2.nut", false); } Insane::~Insane(void) { |