player.h
changeset 2544 2c6a25db1bd0
parent 2525 48c6e812beb3
child 2573 7a1e72905161
equal deleted inserted replaced
2543:8468aca3d896 2544:2c6a25db1bd0
   217 static inline bool IsLocalPlayer(void)
   217 static inline bool IsLocalPlayer(void)
   218 {
   218 {
   219 	return _local_player == _current_player;
   219 	return _local_player == _current_player;
   220 }
   220 }
   221 
   221 
   222 byte GetPlayerRailtypes(int p);
   222 void DeletePlayerWindows(PlayerID pi);
       
   223 byte GetPlayerRailtypes(PlayerID p);
   223 
   224 
   224 /** Finds out if a Player has a certain railtype available
   225 /** Finds out if a Player has a certain railtype available
   225   */
   226   */
   226 static inline bool HasRailtypeAvail(const Player *p, RailType Railtype)
   227 static inline bool HasRailtypeAvail(const Player *p, RailType Railtype)
   227 {
   228 {