diff options
author | Torbjörn Andersson | 2003-10-18 08:11:50 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-10-18 08:11:50 +0000 |
commit | 3a43829b885fe67b3165f2f75778dbbb65d1d560 (patch) | |
tree | 278c5af17333be11f75eef711c004fc6a606f9f7 /sword2/resman.cpp | |
parent | 23b3e4cc7da9797d8dcccf7d93a6dd2571272644 (diff) | |
download | scummvm-rg350-3a43829b885fe67b3165f2f75778dbbb65d1d560.tar.gz scummvm-rg350-3a43829b885fe67b3165f2f75778dbbb65d1d560.tar.bz2 scummvm-rg350-3a43829b885fe67b3165f2f75778dbbb65d1d560.zip |
Moved the opcode functions into the Logic class.
svn-id: r10885
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r-- | sword2/resman.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp index cf910676b2..abd06b3c8b 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -27,6 +27,7 @@ #include "bs2/function.h" #include "bs2/header.h" #include "bs2/interpreter.h" +#include "bs2/logic.h" #include "bs2/maketext.h" #include "bs2/memory.h" #include "bs2/mouse.h" // for system Set_mouse & Set_luggage routines @@ -1067,7 +1068,7 @@ void ResourceManager::cacheNewCluster(uint32 newCluster) { // down - but if we restored to a different CD the music is stopped // in getCd() when it asks for the CD - FN_stop_music(NULL); + g_logic.fnStopMusic(NULL); Clear_fx_queue(); // stops all fx & clears the queue (James22july97) getCd(_cdTab[newCluster] & 3); @@ -1370,7 +1371,7 @@ void ResourceManager::getCd(int cd) { // current CD - otherwise when we take out the CD, Windows will // complain! - FN_stop_music(NULL); + g_logic.fnStopMusic(NULL); textRes = res_man.open(2283); DisplayMsg(FetchTextLine(textRes, 5 + cd) + 2, 0); |