aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/screen.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-28 17:52:56 -0400
committerPaul Gilbert2016-08-28 17:52:56 -0400
commitfd2d4622966d36299129b3f1654484b49ee0c996 (patch)
tree6ab885a971901877f3500f3f49a96690c1b1d4e5 /engines/xeen/screen.h
parentdffa696b7beea02782579a004862f4aa86e8f3e6 (diff)
downloadscummvm-rg350-fd2d4622966d36299129b3f1654484b49ee0c996.tar.gz
scummvm-rg350-fd2d4622966d36299129b3f1654484b49ee0c996.tar.bz2
scummvm-rg350-fd2d4622966d36299129b3f1654484b49ee0c996.zip
XEEN: Moved method comments from CPP to header files
Diffstat (limited to 'engines/xeen/screen.h')
-rw-r--r--engines/xeen/screen.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/engines/xeen/screen.h b/engines/xeen/screen.h
index 21b7e8992e..4ab76d529d 100644
--- a/engines/xeen/screen.h
+++ b/engines/xeen/screen.h
@@ -86,10 +86,16 @@ public:
void close();
+ /**
+ * Update the window
+ */
void update();
void frame();
+ /**
+ * Fill the content area of a window with the current background color
+ */
void fill();
const char *writeString(const Common::String &s);
@@ -113,6 +119,9 @@ private:
bool unionRectangle(Common::Rect &destRect, const Common::Rect &src1, const Common::Rect &src2);
+ /**
+ * Mark the entire screen for drawing
+ */
void drawScreen();
void fadeInner(int step);
@@ -121,6 +130,9 @@ private:
void updatePalette(const byte *pal, int start, int count16);
public:
+ /**
+ * Adds an area that requires redrawing on the next frame update
+ */
virtual void addDirtyRect(const Common::Rect &r);
public:
Common::Array<Window> _windows;
@@ -137,16 +149,31 @@ public:
void update();
+ /**
+ * Load a palette resource into the temporary palette
+ */
void loadPalette(const Common::String &name);
+ /**
+ * Load a background resource into memory
+ */
void loadBackground(const Common::String &name);
+ /**
+ * Copy a loaded background into a display page
+ */
void loadPage(int pageNum);
void freePages();
+ /**
+ * Merge the two pages along a horizontal split point
+ */
void horizMerge(int xp);
+ /**
+ * Merge the two pages along a vertical split point
+ */
void vertMerge(int yp);
void draw(void *data = nullptr);