diff options
author | Filippos Karapetis | 2009-05-29 08:25:42 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-05-29 08:25:42 +0000 |
commit | e9444e2b93802d1717901232e2bc4ba1bab37060 (patch) | |
tree | 1f79ea906ebc54556e47414361a9a155efd7bfe1 /engines/sci/gfx/operations.cpp | |
parent | 637a432b1ffd6bc64f85c61b44b6a7ddb5803467 (diff) | |
download | scummvm-rg350-e9444e2b93802d1717901232e2bc4ba1bab37060.tar.gz scummvm-rg350-e9444e2b93802d1717901232e2bc4ba1bab37060.tar.bz2 scummvm-rg350-e9444e2b93802d1717901232e2bc4ba1bab37060.zip |
- Rewrote kSetCursor to be a bit simpler to understand, and got rid of GF_SCI1_NEWSETCURSOR
- Removed the 3 mouse pointer view, loop and cell variables (and their 3 "save" versions) from the game state, as they're all actually not used anywhere
- Cleanup
svn-id: r40976
Diffstat (limited to 'engines/sci/gfx/operations.cpp')
-rw-r--r-- | engines/sci/gfx/operations.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index e2c33b54c7..2fd115bf01 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1208,13 +1208,12 @@ int gfxop_set_pointer_cursor(GfxState *state, int nr) { } int gfxop_set_pointer_view(GfxState *state, int nr, int loop, int cel, Common::Point *hotspot) { - int real_loop = loop; - int real_cel = cel; - gfx_pixmap_t *new_pointer = NULL; - BASIC_CHECKS(GFX_FATAL); - new_pointer = _gfxr_get_cel(state, nr, &real_loop, &real_cel, 0); // FIXME: For now, don't palettize pointers + int real_loop = loop; + int real_cel = cel; + // FIXME: For now, don't palettize pointers + gfx_pixmap_t *new_pointer = _gfxr_get_cel(state, nr, &real_loop, &real_cel, 0); if (!new_pointer) { GFXWARN("Attempt to set invalid pointer #%d\n", nr); |