diff options
author | Oliver Kiehl | 2003-09-13 20:42:08 +0000 |
---|---|---|
committer | Oliver Kiehl | 2003-09-13 20:42:08 +0000 |
commit | 52ff6acc1fa224b3027d5e6268e37e681fdf2031 (patch) | |
tree | bdafcbd9413ff43b0204ff3595d0580c2d244cad /sword2/router.cpp | |
parent | 7eb758f69722a5c201c99c9f9c384494dd2e4cf0 (diff) | |
download | scummvm-rg350-52ff6acc1fa224b3027d5e6268e37e681fdf2031.tar.gz scummvm-rg350-52ff6acc1fa224b3027d5e6268e37e681fdf2031.tar.bz2 scummvm-rg350-52ff6acc1fa224b3027d5e6268e37e681fdf2031.zip |
and another endian fix
svn-id: r10241
Diffstat (limited to 'sword2/router.cpp')
-rw-r--r-- | sword2/router.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/sword2/router.cpp b/sword2/router.cpp index 2d6297cbf2..5e455f3782 100644 --- a/sword2/router.cpp +++ b/sword2/router.cpp @@ -119,39 +119,6 @@ int8 forceSlidy; // 1 = force the use of slidy router (so solid path not used wh #define EXTRA_GRID_SIZE 20 // max 20 lines & 20 points #define O_ROUTE_SIZE 50 // max number of modules in a route - -typedef struct -{ - int16 x1; - int16 y1; - int16 x2; - int16 y2; - int16 xmin; - int16 ymin; - int16 xmax; - int16 ymax; - int16 dx; // x2 - x1 - int16 dy; // y2 - y1 - int32 co; // co = (y1 *dx)- (x1*dy) from an equation for a line y*dx = x*dy + co -}_barData; - -typedef struct -{ - int16 x; - int16 y; - int16 level; - int16 prev; - int16 dist; -}_nodeData; - -typedef struct -{ - int32 nbars; - _barData *bars; - int32 nnodes; - _nodeData *node; -} _floorData; - typedef struct { int32 x; |