# map_type.h

Go to the documentation of this file.

    00001 /* $Id: map_type.h 11701 2007-12-26 11:45:43Z rubidium $ */
    00002
    00005 #ifndef MAP_TYPE_H
    00006 #define MAP_TYPE_H
    00007
    00012 struct Tile {
    00013   byte   type_height;
    00014   byte   m1;
    00015   uint16 m2;
    00016   byte   m3;
    00017   byte   m4;
    00018   byte   m5;
    00019   byte   m6;
    00020 };
    00021
    00026 struct TileExtended {
    00027   byte m7;
    00028 };
    00029
    00040 typedef int32 TileIndexDiff;
    00041
    00048 struct TileIndexDiffC {
    00049   int16 x;
    00050   int16 y;
    00051 };
    00052
    00063 #define STRAIGHT_TRACK_LENGTH 7071/10000
    00064
    00065 #endif /* MAP_TYPE_H */