aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-07 16:26:16 +0000
committerFilippos Karapetis2009-10-07 16:26:16 +0000
commitec421984a9a6aa8d1f51913a6382b8eb1eb2c59a (patch)
tree79cb21e4c5f80e2c318df9b4db1acbc5621a9115 /engines/sci/gfx/gfx_resource.h
parentde3d1cfdaf040d3f9959d9738205f0e3fc3b6b08 (diff)
downloadscummvm-rg350-ec421984a9a6aa8d1f51913a6382b8eb1eb2c59a.tar.gz
scummvm-rg350-ec421984a9a6aa8d1f51913a6382b8eb1eb2c59a.tar.bz2
scummvm-rg350-ec421984a9a6aa8d1f51913a6382b8eb1eb2c59a.zip
Replaced the view loading code with the new view loading functions. EGA view color translation has been disabled, as it caused palette problems in Codename:Iceman
svn-id: r44737
Diffstat (limited to 'engines/sci/gfx/gfx_resource.h')
-rw-r--r--engines/sci/gfx/gfx_resource.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/engines/sci/gfx/gfx_resource.h b/engines/sci/gfx/gfx_resource.h
index 0bb5265bdf..63d43b6f74 100644
--- a/engines/sci/gfx/gfx_resource.h
+++ b/engines/sci/gfx/gfx_resource.h
@@ -130,8 +130,6 @@ struct gfxr_view_t {
int loops_nr;
gfxr_loop_t *loops;
-
- int translation[GFX_SCI0_IMAGE_COLORS_NR];
};
/**
@@ -252,17 +250,6 @@ void gfxr_remove_artifacts_pic0(gfxr_pic_t *dest, gfxr_pic_t *src);
void gfxr_dither_pic0(gfxr_pic_t *pic, DitherMode mode);
/**
- * Calculates an EGA view.
- *
- * @param[in] id Resource ID of the view
- * @param[in] resource Pointer to the resource to read
- * @param[in] size Size of the resource
- * @param[in] palette The palette to use
- * @return The resulting view
- */
-gfxr_view_t *getEGAView(int id, byte *resource, int size, int palette);
-
-/**
* Calculates a SCI cursor.
*
* @param[in] id The cursor's resource ID
@@ -309,18 +296,6 @@ Palette *gfxr_read_pal1_amiga(Common::File &file);
*/
Palette *gfxr_read_pal11(int id, byte *resource, int size);
-/**
- * Calculates a VGA view.
- *
- * @param[in] id Resource ID of the view
- * @param[in] resource Pointer to the resource to read
- * @param[in] size Size of the resource
- * @param[in] static_pal The static palette
- * @param[in] isSci11 true if SCI1.1, false otherwise
- * @return The resulting view
- */
-gfxr_view_t *getVGAView(int id, byte *resource, int size, ViewType viewType);
-
gfx_pixmap_t *gfxr_draw_cel1(int id, int loop, int cel, int mirrored, byte *resource, byte *cel_base, int size, gfxr_view_t *view, ViewType viewType);
/** @} */