diff options
author | rubidium <rubidium@openttd.org> | 2007-05-25 08:13:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-25 08:13:01 +0000 |
commit | 21546a66f3e3c1871ba6d7cd2dcef6148e1ecf21 (patch) | |
tree | 20cb72fbcb2123cac75bfc9f3a06d9e590278b3a /src/player.h | |
parent | a507341089dce55ef0059f5b5601794b9ec251d9 (diff) | |
download | openttd-21546a66f3e3c1871ba6d7cd2dcef6148e1ecf21.tar.xz |
(svn r9917) -Codechange: prepare some more areas for more road types.
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 0732bf868..191fc30eb 100644 --- a/src/player.h +++ b/src/player.h @@ -168,6 +168,7 @@ struct Player { Livery livery[LS_END]; byte player_money_fraction; byte avail_railtypes; + byte avail_roadtypes; byte block_preview; PlayerByte index; @@ -248,6 +249,7 @@ static inline bool IsValidPlayer(PlayerID pi) } byte GetPlayerRailtypes(PlayerID p); +byte GetPlayerRoadtypes(PlayerID p); /** Finds out if a Player has a certain railtype available */ static inline bool HasRailtypeAvail(const Player *p, RailType Railtype) |