--- a/src/yapf/yapf.h Mon Mar 19 09:33:17 2007 +0000
+++ b/src/yapf/yapf.h Mon Mar 19 12:38:16 2007 +0000
@@ -66,7 +66,7 @@
void YapfNotifyTrackLayoutChange(TileIndex tile, Track track);
/** performance measurement helpers */
-void* NpfBeginInterval(void);
+void* NpfBeginInterval();
int NpfEndInterval(void* perf);
@@ -88,7 +88,7 @@
*/
/** Base struct for track followers. */
-typedef struct FollowTrack_t
+struct FollowTrack_t
{
const Vehicle* m_veh; ///< moving vehicle
TileIndex m_old_tile; ///< the origin (vehicle moved from) before move
@@ -100,7 +100,7 @@
bool m_is_bridge; ///< last turn passed bridge ramp
bool m_is_station; ///< last turn passed station
int m_tiles_skipped; ///< number of skipped tunnel or station tiles
-} FollowTrack_t;
+};
/** Initializes FollowTrack_t structure */
void FollowTrackInit(FollowTrack_t *This, const Vehicle* v);