equal
deleted
inserted
replaced
58 #include "date_func.h" |
58 #include "date_func.h" |
59 #include "vehicle_func.h" |
59 #include "vehicle_func.h" |
60 #include "cheat_func.h" |
60 #include "cheat_func.h" |
61 #include "animated_tile_func.h" |
61 #include "animated_tile_func.h" |
62 #include "functions.h" |
62 #include "functions.h" |
|
63 #include "rev.h" |
63 |
64 |
64 #include "newgrf.h" |
65 #include "newgrf.h" |
65 #include "newgrf_config.h" |
66 #include "newgrf_config.h" |
66 #include "newgrf_house.h" |
67 #include "newgrf_house.h" |
67 #include "newgrf_commons.h" |
68 #include "newgrf_commons.h" |
133 va_start(va, str); |
134 va_start(va, str); |
134 vsnprintf(buf, lengthof(buf), str, va); |
135 vsnprintf(buf, lengthof(buf), str, va); |
135 va_end(va); |
136 va_end(va); |
136 ShowInfo(buf); |
137 ShowInfo(buf); |
137 } |
138 } |
138 |
|
139 /** The current revision of OpenTTD */ |
|
140 extern const char _openttd_revision[]; |
|
141 |
139 |
142 /** |
140 /** |
143 * Show the help message when someone passed a wrong parameter. |
141 * Show the help message when someone passed a wrong parameter. |
144 */ |
142 */ |
145 static void ShowHelp() |
143 static void ShowHelp() |