equal
deleted
inserted
replaced
18 /* water_land.cpp */ |
18 /* water_land.cpp */ |
19 void DrawShipDepotSprite(int x, int y, int image); |
19 void DrawShipDepotSprite(int x, int y, int image); |
20 void TileLoop_Water(TileIndex tile); |
20 void TileLoop_Water(TileIndex tile); |
21 |
21 |
22 /* players.cpp */ |
22 /* players.cpp */ |
23 bool CheckPlayerHasMoney(int32 cost); |
23 bool CheckPlayerHasMoney(CommandCost cost); |
24 void SubtractMoneyFromPlayer(int32 cost); |
24 void SubtractMoneyFromPlayer(CommandCost cost); |
25 void SubtractMoneyFromPlayerFract(PlayerID player, int32 cost); |
25 void SubtractMoneyFromPlayerFract(PlayerID player, CommandCost cost); |
26 bool CheckOwnership(Owner owner); |
26 bool CheckOwnership(Owner owner); |
27 bool CheckTileOwnership(TileIndex tile); |
27 bool CheckTileOwnership(TileIndex tile); |
28 StringID GetPlayerNameString(PlayerID player, uint index); |
28 StringID GetPlayerNameString(PlayerID player, uint index); |
29 |
29 |
30 /* standard */ |
30 /* standard */ |
145 bool CheckIfAuthorityAllows(TileIndex tile); |
145 bool CheckIfAuthorityAllows(TileIndex tile); |
146 Town *ClosestTownFromTile(TileIndex tile, uint threshold); |
146 Town *ClosestTownFromTile(TileIndex tile, uint threshold); |
147 void ChangeTownRating(Town *t, int add, int max); |
147 void ChangeTownRating(Town *t, int add, int max); |
148 |
148 |
149 uint GetTownRadiusGroup(const Town* t, TileIndex tile); |
149 uint GetTownRadiusGroup(const Town* t, TileIndex tile); |
|
150 void ShowHighscoreTable(int difficulty, int8 rank); |
|
151 |
150 int FindFirstBit(uint32 x); |
152 int FindFirstBit(uint32 x); |
151 void ShowHighscoreTable(int difficulty, int8 rank); |
153 int CountBitsSet(uint32 value); |
152 |
154 |
153 void AfterLoadTown(); |
155 void AfterLoadTown(); |
154 void UpdatePatches(); |
156 void UpdatePatches(); |
155 void AskExitGame(); |
157 void AskExitGame(); |
156 void AskExitToGameMenu(); |
158 void AskExitToGameMenu(); |