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 | 0819f3a9a0229186fbd0624f590764553c7e7178 (patch) | |
tree | 20cb72fbcb2123cac75bfc9f3a06d9e590278b3a /src/player.h | |
parent | d5d94e230fe92fe461becdf9043034651141ab73 (diff) | |
download | openttd-0819f3a9a0229186fbd0624f590764553c7e7178.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) |