equal
deleted
inserted
replaced
189 int32 DoCommandByTile(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc); |
189 int32 DoCommandByTile(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc); |
190 |
190 |
191 bool IsValidCommand(uint cmd); |
191 bool IsValidCommand(uint cmd); |
192 int32 GetAvailableMoneyForCommand(void); |
192 int32 GetAvailableMoneyForCommand(void); |
193 |
193 |
|
194 /* Validate functions for rail building */ |
|
195 static inline bool ValParamRailtype(uint32 rail) { return (rail > GetPlayer(_current_player)->max_railtype) ? false : true;} |
194 #endif /* COMMAND_H */ |
196 #endif /* COMMAND_H */ |