diff options
author | Filippos Karapetis | 2008-05-26 11:10:46 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-05-26 11:10:46 +0000 |
commit | 966239fc52146826e5096cbf41412b035de8c1fe (patch) | |
tree | d89e7faa8fc468d3ddd3096263c87bb0024ed56b /engines/saga/interface.cpp | |
parent | 23da4c5fa24270622edca0fbdc1153fa1cc069f6 (diff) | |
download | scummvm-rg350-966239fc52146826e5096cbf41412b035de8c1fe.tar.gz scummvm-rg350-966239fc52146826e5096cbf41412b035de8c1fe.tar.bz2 scummvm-rg350-966239fc52146826e5096cbf41412b035de8c1fe.zip |
Code cleanup:
- Removed sagaresnames.h
- Moved all special scenes to scene.h, and named them consistently (e.g. RID_ITE_OVERMAP_SCENE -> ITE_SCENE_OVERMAP)
- Moved all resources which were used by the ITE intro into ite_introproc.cpp
- Removed several defines which were only used once (e.g. the SFX names)
- Reordered the GameResourceDescription resources so that ITE and IHNM specific resources are placed in the end
- Updated the comment about the IHNM Mac music
- Changed the callocs in loadPalAnim to mallocs, like in the rest of the code
- Removed the MEM error
svn-id: r32282
Diffstat (limited to 'engines/saga/interface.cpp')
-rw-r--r-- | engines/saga/interface.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index ef31b85156..fe1ee0eefc 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -43,7 +43,6 @@ #include "saga/sound.h" #include "saga/sprite.h" #include "saga/rscfile.h" -#include "saga/sagaresnames.h" #include "saga/interface.h" @@ -477,9 +476,9 @@ void Interface::setMode(int mode) { bool Interface::processAscii(Common::KeyState keystate) { // TODO: Checking for Esc and Enter below is a bit hackish, and - // and probably only works with the English version. Maybe we should - // add a flag to the button so it can indicate if it's the default or - // cancel button? + // probably only works with the English version. Maybe we should + // add a flag to the button so it can indicate if it's the default + // or cancel button? uint16 ascii = keystate.ascii; int i; PanelButton *panelButton; @@ -2755,7 +2754,7 @@ void Interface::mapPanelDrawCrossHair() { if (screen.contains(mapPosition)) { _vm->_sprite->draw(backBuffer, _vm->getDisplayClip(), _vm->_sprite->_mainSprites, - _mapPanelCrossHairState? RID_ITE_SPR_XHAIR1 : RID_ITE_SPR_XHAIR2, + _mapPanelCrossHairState? RID_ITE_SPR_CROSSHAIR : RID_ITE_SPR_CROSSHAIR + 1, mapPosition, 256); } } |