equal
deleted
inserted
replaced
260 static inline bool IsInteractivePlayer(PlayerID pi) |
260 static inline bool IsInteractivePlayer(PlayerID pi) |
261 { |
261 { |
262 return pi == _local_player; |
262 return pi == _local_player; |
263 } |
263 } |
264 |
264 |
|
265 void DrawPlayerIcon(PlayerID p, int x, int y); |
|
266 |
265 /* Validate functions for rail building */ |
267 /* Validate functions for rail building */ |
266 static inline bool ValParamRailtype(uint32 rail) { return HASBIT(GetPlayer(_current_player)->avail_railtypes, rail);} |
268 static inline bool ValParamRailtype(uint32 rail) { return HASBIT(GetPlayer(_current_player)->avail_railtypes, rail);} |
267 |
269 |
268 /** Returns the "best" railtype a player can build. |
270 /** Returns the "best" railtype a player can build. |
269 * As the AI doesn't know what the BEST one is, we have our own priority list |
271 * As the AI doesn't know what the BEST one is, we have our own priority list |