summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-06-28 15:44:24 +0000
committerfrosch <frosch@openttd.org>2008-06-28 15:44:24 +0000
commitcfdc710104648f5321e0e65676db655aa4709d0e (patch)
tree8d015d80fd5b0b32f5e85a7550aaf55daca5dd38 /src/gfx_type.h
parent654ea1a3105c6f300b9a1732260706c2a3c1a09a (diff)
downloadopenttd-cfdc710104648f5321e0e65676db655aa4709d0e.tar.xz
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 298513c84..983b95205 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -216,4 +216,11 @@ enum StringColorFlags {
IS_PALETTE_COLOR = 0x100, ///< color value is already a real palette color index, not an index of a StringColor
};
+/** Define the operation GfxFillRect performs */
+enum FillRectMode {
+ FILLRECT_OPAQUE, ///< Fill rectangle with a single color
+ FILLRECT_CHECKER, ///< Draw only every second pixel, used for greying-out
+ FILLRECT_RECOLOR, ///< Apply a recolor sprite to the screen content
+};
+
#endif /* GFX_TYPE_H */