diff options
author | Johannes Schickel | 2008-03-18 13:29:12 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-03-18 13:29:12 +0000 |
commit | 4c880c77a49f073036426d0ea8aa53e63ac7e013 (patch) | |
tree | eac8798282426520531025b9a71948db5e459377 /engines/kyra/kyra_v2.h | |
parent | caf1cc60debe628edfdb1b24c7cb4bb35d2ddad4 (diff) | |
download | scummvm-rg350-4c880c77a49f073036426d0ea8aa53e63ac7e013.tar.gz scummvm-rg350-4c880c77a49f073036426d0ea8aa53e63ac7e013.tar.bz2 scummvm-rg350-4c880c77a49f073036426d0ea8aa53e63ac7e013.zip |
Fixed pathfinder post processing in HoF, this should smooth walk paths a lot.
svn-id: r31179
Diffstat (limited to 'engines/kyra/kyra_v2.h')
-rw-r--r-- | engines/kyra/kyra_v2.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/kyra/kyra_v2.h b/engines/kyra/kyra_v2.h index 67d733e1d5..1f227c4f4d 100644 --- a/engines/kyra/kyra_v2.h +++ b/engines/kyra/kyra_v2.h @@ -530,14 +530,14 @@ protected: bool lineIsPassable(int x, int y); bool directLinePassable(int x, int y, int toX, int toY); - int pathfinderUnk1(int *moveTable); - int pathfinderUnk2(int index, int v1, int v2); - int pathfinderUnk3(int tableLen, int x, int y); - int pathfinderUnk4(int index, int v); - void pathfinderUnk5(int *moveTable, int unk1, int x, int y, int moveTableSize); - - int _pathfinderUnkTable1[400]; - int _pathfinderUnkTable2[200]; + int pathfinderInitPositionTable(int *moveTable); + int pathfinderAddToPositionTable(int index, int v1, int v2); + int pathfinderInitPositionIndexTable(int tableLen, int x, int y); + int pathfinderAddToPositionIndexTable(int index, int v); + void pathfinderFinializePath(int *moveTable, int unk1, int x, int y, int moveTableSize); + + int _pathfinderPositionTable[400]; + int _pathfinderPositionIndexTable[200]; // item uint8 _itemHtDat[176]; |