ttd.h
changeset 1752 d65cd19f7117
parent 1594 00485cb74836
child 1786 7cfd46c3fcc4
equal deleted inserted replaced
1751:009a240d035a 1752:d65cd19f7117
    22 
    22 
    23 typedef struct Pair {
    23 typedef struct Pair {
    24 	int a;
    24 	int a;
    25 	int b;
    25 	int b;
    26 } Pair;
    26 } Pair;
       
    27 
       
    28 /**
       
    29  * Is used as a general sortable struct (using qsort and friends). Is used for
       
    30  * sorting vehicles and stations at the moment
       
    31  */
       
    32 typedef struct SortStruct {
       
    33 	uint32	index;
       
    34 	byte		owner;
       
    35 } SortStruct;
    27 
    36 
    28 typedef struct YearMonthDay {
    37 typedef struct YearMonthDay {
    29 	int year, month, day;
    38 	int year, month, day;
    30 } YearMonthDay;
    39 } YearMonthDay;
    31 
    40