diff options
author | Eugene Sandulenko | 2004-08-01 00:03:45 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-08-01 00:03:45 +0000 |
commit | d530fc76961ee75e68179a40e5282cb0efa2954f (patch) | |
tree | f9d800265457f303850810fc1f2820957628ae9f /saga/render.cpp | |
parent | 7f5f1c141810ae83350bfcbafa24632a88363aca (diff) | |
download | scummvm-rg350-d530fc76961ee75e68179a40e5282cb0efa2954f.tar.gz scummvm-rg350-d530fc76961ee75e68179a40e5282cb0efa2954f.tar.bz2 scummvm-rg350-d530fc76961ee75e68179a40e5282cb0efa2954f.zip |
Objectize actionmap.cpp
svn-id: r14399
Diffstat (limited to 'saga/render.cpp')
-rw-r--r-- | saga/render.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/render.cpp b/saga/render.cpp index 50c84866a0..6e5f974f50 100644 --- a/saga/render.cpp +++ b/saga/render.cpp @@ -37,7 +37,7 @@ #include "sprite_mod.h" #include "text_mod.h" -#include "actionmap_mod.h" +#include "actionmap.h" #include "objectmap_mod.h" #include "render.h" @@ -50,7 +50,7 @@ int Render::reg(void) { return R_SUCCESS; } -Render::Render(OSystem *system) : _system(system), _initialized(false) { +Render::Render(SagaEngine *vm, OSystem *system) : _vm(vm), _system(system), _initialized(false) { R_GAME_DISPLAYINFO disp_info; int tmp_w, tmp_h, tmp_bytepp; @@ -136,7 +136,7 @@ int Render::drawScene() { // Display scene maps, if applicable if (getFlags() & RF_OBJECTMAP_TEST) { OBJECTMAP_Draw(backbuf_surface, &mouse_pt, GFX_GetWhite(), GFX_GetBlack()); - ACTIONMAP_Draw(backbuf_surface, GFX_MatchColor(R_RGB_RED)); + _vm->_actionMap->draw(backbuf_surface, GFX_MatchColor(R_RGB_RED)); } // Draw queued actors |