diff options
author | Torbjörn Andersson | 2005-12-18 09:57:44 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-12-18 09:57:44 +0000 |
commit | d5e398dcff2676b44cc3c06122a8c5861cbfc24d (patch) | |
tree | 37cb7081cdea49593cca2c051c30b87a844ba4ea /gob/map.h | |
parent | 17319d77cfccec4f12b15f05ce21b2c4958a89b7 (diff) | |
download | scummvm-rg350-d5e398dcff2676b44cc3c06122a8c5861cbfc24d.tar.gz scummvm-rg350-d5e398dcff2676b44cc3c06122a8c5861cbfc24d.tar.bz2 scummvm-rg350-d5e398dcff2676b44cc3c06122a8c5861cbfc24d.zip |
Minor simplification.
svn-id: r19804
Diffstat (limited to 'gob/map.h')
-rw-r--r-- | gob/map.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -38,18 +38,20 @@ enum { }; #pragma START_PACK_STRUCTS -#define szMap_Point 4 + typedef struct Map_Point { int16 x; int16 y; } GCC_PACK Map_Point; #define szMap_ItemPos 3 -typedef struct Map_ItemPos { + + typedef struct Map_ItemPos { int8 x; int8 y; int8 orient; // ?? } GCC_PACK Map_ItemPos; + #pragma END_PACK_STRUCTS extern int8 map_passMap[28][26]; // [y][x] @@ -74,7 +76,7 @@ void map_findNearestToGob(void); void map_findNearestToDest(void); int16 map_checkDirectPath(int16 x0, int16 y0, int16 x1, int16 y1); int16 map_checkLongPath(int16 x0, int16 y0, int16 x1, int16 y1, int16 i0, int16 i1); -int16 map_optimizePoints(int16 xPos, int16 yPos); +void map_optimizePoints(void); void map_loadItemToObject(void); void map_loadMapObjects(char *avjFile); void map_loadDataFromAvo(int8 *dest, int16 size); |