diff options
author | KUDr <kudr@openttd.org> | 2006-12-28 11:52:12 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2006-12-28 11:52:12 +0000 |
commit | 02c07d2a86f6f585324f775a72f0706afe8e3569 (patch) | |
tree | 574a77b81258595661dcfcdfc6e76d69ad495301 /station.h | |
parent | d657aa97de44adc8a1957529718eebedbebc3ba9 (diff) | |
download | openttd-02c07d2a86f6f585324f775a72f0706afe8e3569.tar.xz |
(svn r7590) -Codechange: (r7585)
- use existing struct Rect instead of declaring new StationRect
- use inline functions instead of macros
Diffstat (limited to 'station.h')
-rw-r--r-- | station.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -47,15 +47,6 @@ typedef struct StationSpecList { uint8 localidx; /// Station ID within GRF of station } StationSpecList; -/** Station spread out rectangle (not saved) */ -typedef struct StationRect -{ - uint16 left; - uint16 top; - uint16 right; - uint16 bottom; -} StationRect; - struct Station { TileIndex xy; RoadStop *bus_stops; @@ -104,7 +95,7 @@ struct Station { byte bus_stop_status_obsolete; byte blocked_months_obsolete; - StationRect rect; + Rect rect; ///< Station spread out rectangle (not saved) maintained by StationRect_xxx() functions }; enum { |