aboutsummaryrefslogtreecommitdiff
path: root/saga/gfx.h
diff options
context:
space:
mode:
authorEugene Sandulenko2004-10-08 01:22:39 +0000
committerEugene Sandulenko2004-10-08 01:22:39 +0000
commit94d9a2149b8b757ed36cb0f315cd281d1447d1a0 (patch)
treea01681619e95b1125ec5488176c75a8b1329b9cd /saga/gfx.h
parent0850dbdaf2ad79cf296f79a001b4b60e82f481cd (diff)
downloadscummvm-rg350-94d9a2149b8b757ed36cb0f315cd281d1447d1a0.tar.gz
scummvm-rg350-94d9a2149b8b757ed36cb0f315cd281d1447d1a0.tar.bz2
scummvm-rg350-94d9a2149b8b757ed36cb0f315cd281d1447d1a0.zip
Implement scene change via exits. You still cannot leave first scene
because it goes to now buggy isometric level. Use debugger to switch to some word, say, in Dog Castle and there you may go between rooms. svn-id: r15462
Diffstat (limited to 'saga/gfx.h')
-rw-r--r--saga/gfx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/saga/gfx.h b/saga/gfx.h
index 24247a3507..e70b0c077d 100644
--- a/saga/gfx.h
+++ b/saga/gfx.h
@@ -107,6 +107,8 @@ public:
int getCurrentPal(PALENTRY *src_pal);
int palToBlack(R_SURFACE *surface, PALENTRY *src_pal, double percent);
int blackToPal(R_SURFACE *surface, PALENTRY *src_pal, double percent);
+ bool hitTestPoly(Point *points, unsigned int npoints, Point test_point);
+
private:
void setCursor(int best_white);
int _init;