branch | noai |
changeset 9625 | 3301b1b3889c |
parent 9624 | b71483f2330f |
child 9628 | b5c2449616b5 |
--- a/src/player.h Fri May 25 00:25:08 2007 +0000 +++ b/src/player.h Fri Jun 01 20:54:09 2007 +0000 @@ -43,6 +43,7 @@ Livery livery[LS_END]; byte player_money_fraction; byte avail_railtypes; + byte avail_roadtypes; byte block_preview; PlayerByte index; @@ -122,6 +123,7 @@ } 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)