diff options
author | Paul Gilbert | 2012-02-12 20:33:54 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:21:01 +0200 |
commit | e9c5437c3ba66dff9ada2a9f05fb6635e0d1a55b (patch) | |
tree | 5f360e36fb87096137c27c5b1046b86695767df8 /engines/mortevielle/actions.cpp | |
parent | 46427cb61893e2fdb262d1a11a90dcc4d34f411a (diff) | |
download | scummvm-rg350-e9c5437c3ba66dff9ada2a9f05fb6635e0d1a55b.tar.gz scummvm-rg350-e9c5437c3ba66dff9ada2a9f05fb6635e0d1a55b.tar.bz2 scummvm-rg350-e9c5437c3ba66dff9ada2a9f05fb6635e0d1a55b.zip |
MORTEVIELLE: Removed redundant gfx functions, and moved others into ScreenSurface class.
Diffstat (limited to 'engines/mortevielle/actions.cpp')
-rw-r--r-- | engines/mortevielle/actions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/mortevielle/actions.cpp b/engines/mortevielle/actions.cpp index cd3a7b0df8..f3bc31b637 100644 --- a/engines/mortevielle/actions.cpp +++ b/engines/mortevielle/actions.cpp @@ -1053,7 +1053,7 @@ L2: lig = 0; do { icm = succ(int, icm); - putxy(co, lig); + g_vm->_screenSurface.putxy(co, lig); if (s.teauto[icm] == '*') if (te[icm]) writetp(lib[icm], 1); else writetp(lib[icm], 0); @@ -1062,7 +1062,7 @@ L2: co = 320; } else lig = lig + 8; } while (!(icm == 42)); - putxy(320, 176); + g_vm->_screenSurface.putxy(320, 176); writetp(lib[46], 0); tou = '\0'; do { @@ -1080,7 +1080,7 @@ L2: lig = ((choi - 1) % 23) << 3; if (choi > 23) co = 320; else co = 0; - putxy(co, lig); + g_vm->_screenSurface.putxy(co, lig); if (te[choi]) writetp(lib[choi], 0); else writetp(lib[choi], 1); te[choi] = ! te[choi]; @@ -1094,7 +1094,7 @@ L2: lig = ((choi - 1) % 23) << 3; if (choi > 23) co = 320; else co = 0; - putxy(co, lig); + g_vm->_screenSurface.putxy(co, lig); if (te[choi]) writetp(lib[choi], 0); else writetp(lib[choi], 1); te[choi] = ! te[choi]; @@ -1103,7 +1103,7 @@ L2: lig = ((ix - 1) % 23) << 3; if (ix > 23) co = 320; else co = 0; - putxy(co, lig); + g_vm->_screenSurface.putxy(co, lig); if (te[ix]) writetp(lib[ix], 0); else writetp(lib[ix], 1); te[ix] = ! te[ix]; |