equal
deleted
inserted
replaced
7 |
7 |
8 #include "core/random_func.hpp" |
8 #include "core/random_func.hpp" |
9 #include "command_type.h" |
9 #include "command_type.h" |
10 #include "openttd.h" |
10 #include "openttd.h" |
11 #include "tile_cmd.h" |
11 #include "tile_cmd.h" |
12 #include "map.h" |
|
13 |
12 |
14 /* clear_land.cpp */ |
13 /* clear_land.cpp */ |
15 void DrawHillyLandTile(const TileInfo *ti); |
14 void DrawHillyLandTile(const TileInfo *ti); |
16 void DrawClearLandTile(const TileInfo *ti, byte set); |
15 void DrawClearLandTile(const TileInfo *ti, byte set); |
17 void DrawClearLandFence(const TileInfo *ti); |
16 void DrawClearLandFence(const TileInfo *ti); |
21 bool CheckPlayerHasMoney(CommandCost cost); |
20 bool CheckPlayerHasMoney(CommandCost cost); |
22 void SubtractMoneyFromPlayer(CommandCost cost); |
21 void SubtractMoneyFromPlayer(CommandCost cost); |
23 void SubtractMoneyFromPlayerFract(PlayerID player, CommandCost cost); |
22 void SubtractMoneyFromPlayerFract(PlayerID player, CommandCost cost); |
24 bool CheckOwnership(Owner owner); |
23 bool CheckOwnership(Owner owner); |
25 bool CheckTileOwnership(TileIndex tile); |
24 bool CheckTileOwnership(TileIndex tile); |
26 |
|
27 /* openttd.cpp */ |
|
28 static inline TileIndex RandomTileSeed(uint32 r) { return TILE_MASK(r); } |
|
29 static inline TileIndex RandomTile() { return TILE_MASK(Random()); } |
|
30 |
25 |
31 /* texteff.cpp */ |
26 /* texteff.cpp */ |
32 void AddAnimatedTile(TileIndex tile); |
27 void AddAnimatedTile(TileIndex tile); |
33 void DeleteAnimatedTile(TileIndex tile); |
28 void DeleteAnimatedTile(TileIndex tile); |
34 void AnimateAnimatedTiles(); |
29 void AnimateAnimatedTiles(); |