diff options
author | lukaslw | 2014-07-14 03:26:17 +0200 |
---|---|---|
committer | lukaslw | 2014-07-14 03:26:17 +0200 |
commit | b0c454fc9ba282f5f72a0c69a6b897e38eaddb82 (patch) | |
tree | 52c304d0d2036978354375c01a6aee4e507c9999 /engines/prince/prince.h | |
parent | 52dbd8866e418c4f0f7861216e14a70263822949 (diff) | |
download | scummvm-rg350-b0c454fc9ba282f5f72a0c69a6b897e38eaddb82.tar.gz scummvm-rg350-b0c454fc9ba282f5f72a0c69a6b897e38eaddb82.tar.bz2 scummvm-rg350-b0c454fc9ba282f5f72a0c69a6b897e38eaddb82.zip |
PRINCE: Pathfinding - bug fixing, first correct path
Diffstat (limited to 'engines/prince/prince.h')
-rw-r--r-- | engines/prince/prince.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/prince/prince.h b/engines/prince/prince.h index 5dffaf6f73..89c24ec0a5 100644 --- a/engines/prince/prince.h +++ b/engines/prince/prince.h @@ -460,6 +460,8 @@ public: int _traceLineFlag; // return value of plotTraceLine bool _traceLineFirstPointFlag; // if plotTraceLine after first point int _tracePointFlag; // return value of plotTracePoint + byte *_directionTable; + int _shanLen1; byte *_checkBitmapTemp; //esi byte *_checkBitmap; // ebp @@ -481,7 +483,7 @@ public: } _fpResult; bool loadPath(const char *resourceName); - int makePath(int destX, int destY); + byte *makePath(int destX, int destY); void findPoint(int x1, int y1, int x2, int y2); int fpGetPixelAddr(int x, int y); int fpGetPixel(int x, int y); @@ -498,6 +500,8 @@ public: static void plotTracePoint(int x, int y, int color, void *data); void specialPlotInside2(int x, int y); void approxPath(); + void scanDirections(); + void moveShandria(); void testDrawPath(); |