diff options
author | Filippos Karapetis | 2009-10-25 02:36:51 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-25 02:36:51 +0000 |
commit | 452ae8a5769142a934676b7fdc721910e12aaf5e (patch) | |
tree | f1fe820946807350c94bba4a9a061c380b0a7755 /engines/sci/gfx/operations.h | |
parent | 9b6f2be526f8fee3c2451d2f180f70ee4e976f4e (diff) | |
download | scummvm-rg350-452ae8a5769142a934676b7fdc721910e12aaf5e.tar.gz scummvm-rg350-452ae8a5769142a934676b7fdc721910e12aaf5e.tar.bz2 scummvm-rg350-452ae8a5769142a934676b7fdc721910e12aaf5e.zip |
Cleanup
svn-id: r45366
Diffstat (limited to 'engines/sci/gfx/operations.h')
-rw-r--r-- | engines/sci/gfx/operations.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/engines/sci/gfx/operations.h b/engines/sci/gfx/operations.h index 4850d31669..0255130b37 100644 --- a/engines/sci/gfx/operations.h +++ b/engines/sci/gfx/operations.h @@ -285,9 +285,9 @@ void gfxop_disable_dirty_frames(GfxState *state); /** * Maps an r/g/b value to a color and sets a gfx_color_t structure. * - * In palette mode, this may allocate a new color. Use gfxop_free_color() to - * free that color. If any of the r/g/b values are less than zero, the resulting - * color will not affect the visual map when used for drawing + * In palette mode, this may allocate a new color. If any of the r/g/b values + * are less than zero, the resulting color will not affect the visual map when + * used for drawing * * @param[in] state The current state * @param[in] color Pointer to the structure to write to @@ -309,26 +309,6 @@ void gfxop_disable_dirty_frames(GfxState *state); void gfxop_set_color(GfxState *state, gfx_color_t *color, int r, int g, int b, int a, int priority, int control); -/** - * Designates a color as a 'system color'. - * - * system colors are permanent colors that cannot be deallocated. as such, they must be used with caution. - * - * @param[in] state The affected state - * @param[in] index The index for the new system color - * @param[in] color The color to designate as a system color - */ -void gfxop_set_system_color(GfxState *state, unsigned int index, gfx_color_t *color); - -/** - * Frees a color allocated by gfxop_set_color(). - * - * This function is a no-op in non-index mode, or if color is a system color. - * - * @param[in] state The state affected - * @param[in] color The color to de-allocate - */ -void gfxop_free_color(GfxState *state, gfx_color_t *color); /** @} */ /** @name Pointer and IO ops */ |