diff options
author | Bertrand Augereau | 2011-09-03 15:09:21 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-09-03 15:09:21 +0200 |
commit | 20f9028d9d75af0f73933728a35d70b6305a1687 (patch) | |
tree | cb2015bb52eff794e3ef5a415c0615c93412121a /engines/dreamweb/structs.h | |
parent | 4782c7e34e83cdef57c613c08bb313ea4c6fbd24 (diff) | |
download | scummvm-rg350-20f9028d9d75af0f73933728a35d70b6305a1687.tar.gz scummvm-rg350-20f9028d9d75af0f73933728a35d70b6305a1687.tar.bz2 scummvm-rg350-20f9028d9d75af0f73933728a35d70b6305a1687.zip |
DREAMWEB: Refining of the pathfinding structures
Diffstat (limited to 'engines/dreamweb/structs.h')
-rw-r--r-- | engines/dreamweb/structs.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/dreamweb/structs.h b/engines/dreamweb/structs.h index c0d5636538..7c9d9a5814 100644 --- a/engines/dreamweb/structs.h +++ b/engines/dreamweb/structs.h @@ -228,7 +228,7 @@ struct Change { uint8 type; }; -struct Path { +struct PathNode { uint8 x; uint8 y; uint8 b2; @@ -236,6 +236,16 @@ struct Path { uint8 b4; uint8 b5; uint8 b6; - uint8 b7; + uint8 dir; +}; + +struct PathSegment { + uint8 b0; + uint8 b1; +}; + +struct RoomPaths { + PathNode nodes[12]; + PathSegment segments[24]; }; |