summaryrefslogtreecommitdiff
path: root/ttd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.h')
-rw-r--r--ttd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ttd.h b/ttd.h
index 94722b246..fcb5b9159 100644
--- a/ttd.h
+++ b/ttd.h
@@ -25,6 +25,15 @@ typedef struct Pair {
int b;
} Pair;
+/**
+ * Is used as a general sortable struct (using qsort and friends). Is used for
+ * sorting vehicles and stations at the moment
+ */
+typedef struct SortStruct {
+ uint32 index;
+ byte owner;
+} SortStruct;
+
typedef struct YearMonthDay {
int year, month, day;
} YearMonthDay;