aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-29 16:49:38 +0000
committerJohannes Schickel2009-06-29 16:49:38 +0000
commit07cdbd273db8887778a0b15048679ee78b2d72ce (patch)
tree2a886dabf23f4efd4f75456673e211dcd2f1daf4 /engines/kyra/screen.h
parentbfe8ec6d668a3586ee101da671de73f5fc8bbac8 (diff)
downloadscummvm-rg350-07cdbd273db8887778a0b15048679ee78b2d72ce.tar.gz
scummvm-rg350-07cdbd273db8887778a0b15048679ee78b2d72ce.tar.bz2
scummvm-rg350-07cdbd273db8887778a0b15048679ee78b2d72ce.zip
Add a "fill" method to Palette.
svn-id: r41952
Diffstat (limited to 'engines/kyra/screen.h')
-rw-r--r--engines/kyra/screen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h
index 8744a7107d..ba69aea3cc 100644
--- a/engines/kyra/screen.h
+++ b/engines/kyra/screen.h
@@ -105,6 +105,15 @@ public:
void clear();
/**
+ * Fill the given indexes with the given component value.
+ *
+ * @param firstCol the first color, which should be overwritten.
+ * @param numCols number of colors, which schould be overwritten.
+ * @param value color component value, which should be stored.
+ */
+ void fill(int firstCol, int numCols, uint8 value);
+
+ /**
* Copy data from another palette.
*
* @param source palette to copy data from.