aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/screen.h
diff options
context:
space:
mode:
authorjohndoe1232011-07-04 10:52:07 +0000
committerWillem Jan Palenstijn2013-05-08 20:30:58 +0200
commitbd1749863e45cde53707d0ae38b28825bc0dba2e (patch)
tree8c14538b249ecccf966e1ef97aeb56735e334b3f /engines/neverhood/screen.h
parent1285b37b321850a3584ce1bbdba58462e0b8fbe3 (diff)
downloadscummvm-rg350-bd1749863e45cde53707d0ae38b28825bc0dba2e.tar.gz
scummvm-rg350-bd1749863e45cde53707d0ae38b28825bc0dba2e.tar.bz2
scummvm-rg350-bd1749863e45cde53707d0ae38b28825bc0dba2e.zip
NEVERHOOD: Start with the Palette2 class (which needs a better name later)
- Implement Screen::drawSurface2 (needs color key support) - The first intro now show up, complete with fade-in and fade-out
Diffstat (limited to 'engines/neverhood/screen.h')
-rw-r--r--engines/neverhood/screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/neverhood/screen.h b/engines/neverhood/screen.h
index 0e7ce3d7d6..e25b3b5dba 100644
--- a/engines/neverhood/screen.h
+++ b/engines/neverhood/screen.h
@@ -25,6 +25,7 @@
#include "graphics/surface.h"
#include "neverhood/neverhood.h"
+#include "neverhood/graphics.h"
namespace Neverhood {
@@ -32,6 +33,7 @@ class Screen {
public:
Screen(NeverhoodEngine *vm);
~Screen();
+ void update();
void wait();
void setFps(int fps);
int getFps();
@@ -40,6 +42,7 @@ public:
void testPalette(byte *paletteData);
void updatePalette();
void clear();
+ void drawSurface2(Graphics::Surface *surface, NDrawRect &drawRect, NRect &clipRect);
protected:
NeverhoodEngine *_vm;
Graphics::Surface *_backScreen;