equal
deleted
inserted
replaced
48 return RemapCoords(x, y, GetSlopeZ(x, y)); |
48 return RemapCoords(x, y, GetSlopeZ(x, y)); |
49 } |
49 } |
50 |
50 |
51 |
51 |
52 /* clear_land.c */ |
52 /* clear_land.c */ |
53 void DrawHillyLandTile(TileInfo *ti); |
53 void DrawHillyLandTile(const TileInfo *ti); |
54 void DrawClearLandTile(TileInfo *ti, byte set); |
54 void DrawClearLandTile(const TileInfo *ti, byte set); |
55 void DrawClearLandFence(const TileInfo *ti); |
55 void DrawClearLandFence(const TileInfo *ti); |
56 void TileLoopClearHelper(TileIndex tile); |
56 void TileLoopClearHelper(TileIndex tile); |
57 |
57 |
58 /* station_land.c */ |
58 /* station_land.c */ |
59 void StationPickerDrawSprite(int x, int y, int railtype, int image); |
59 void StationPickerDrawSprite(int x, int y, int railtype, int image); |
70 void TileLoop_Water(TileIndex tile); |
70 void TileLoop_Water(TileIndex tile); |
71 |
71 |
72 /* players.c */ |
72 /* players.c */ |
73 bool CheckPlayerHasMoney(int32 cost); |
73 bool CheckPlayerHasMoney(int32 cost); |
74 void SubtractMoneyFromPlayer(int32 cost); |
74 void SubtractMoneyFromPlayer(int32 cost); |
75 void SubtractMoneyFromPlayerFract(byte player, int32 cost); |
75 void SubtractMoneyFromPlayerFract(PlayerID player, int32 cost); |
76 bool CheckOwnership(byte owner); |
76 bool CheckOwnership(PlayerID owner); |
77 bool CheckTileOwnership(TileIndex tile); |
77 bool CheckTileOwnership(TileIndex tile); |
78 StringID GetPlayerNameString(byte player, byte index); |
78 StringID GetPlayerNameString(PlayerID player, PlayerID index); |
79 |
79 |
80 /* standard */ |
80 /* standard */ |
81 void ShowInfo(const char *str); |
81 void ShowInfo(const char *str); |
82 void CDECL ShowInfoF(const char *str, ...); |
82 void CDECL ShowInfoF(const char *str, ...); |
83 void NORETURN CDECL error(const char *str, ...); |
83 void NORETURN CDECL error(const char *str, ...); |
227 bool CheckIfAuthorityAllows(TileIndex tile); |
227 bool CheckIfAuthorityAllows(TileIndex tile); |
228 Town *ClosestTownFromTile(TileIndex tile, uint threshold); |
228 Town *ClosestTownFromTile(TileIndex tile, uint threshold); |
229 void ChangeTownRating(Town *t, int add, int max); |
229 void ChangeTownRating(Town *t, int add, int max); |
230 |
230 |
231 uint GetRoadBitsByTile(TileIndex tile); |
231 uint GetRoadBitsByTile(TileIndex tile); |
232 int GetTownRadiusGroup(Town *t, TileIndex tile); |
232 int GetTownRadiusGroup(const Town *t, TileIndex tile); |
233 void ShowNetworkChatQueryWindow(byte desttype, byte dest); |
233 void ShowNetworkChatQueryWindow(byte desttype, byte dest); |
234 void ShowNetworkGiveMoneyWindow(byte player); |
234 void ShowNetworkGiveMoneyWindow(byte player); |
235 void ShowNetworkNeedGamePassword(void); |
235 void ShowNetworkNeedGamePassword(void); |
236 void ShowNetworkNeedCompanyPassword(void); |
236 void ShowNetworkNeedCompanyPassword(void); |
237 int FindFirstBit(uint32 x); |
237 int FindFirstBit(uint32 x); |