equal
deleted
inserted
replaced
6 #define FUNCTIONS_H |
6 #define FUNCTIONS_H |
7 |
7 |
8 #include "gfx.h" |
8 #include "gfx.h" |
9 #include "viewport.h" |
9 #include "viewport.h" |
10 #include "core/random_func.hpp" |
10 #include "core/random_func.hpp" |
|
11 #include "command_type.h" |
11 |
12 |
12 void UpdateTownMaxPass(Town *t); |
13 void UpdateTownMaxPass(Town *t); |
13 |
14 |
14 /* clear_land.cpp */ |
15 /* clear_land.cpp */ |
15 void DrawHillyLandTile(const TileInfo *ti); |
16 void DrawHillyLandTile(const TileInfo *ti); |
35 /* texteff.cpp */ |
36 /* texteff.cpp */ |
36 void AddAnimatedTile(TileIndex tile); |
37 void AddAnimatedTile(TileIndex tile); |
37 void DeleteAnimatedTile(TileIndex tile); |
38 void DeleteAnimatedTile(TileIndex tile); |
38 void AnimateAnimatedTiles(); |
39 void AnimateAnimatedTiles(); |
39 void InitializeAnimatedTiles(); |
40 void InitializeAnimatedTiles(); |
40 |
|
41 /* tunnelbridge_cmd.cpp */ |
|
42 bool CheckBridge_Stuff(byte bridge_type, uint bridge_len); |
|
43 uint32 GetBridgeLength(TileIndex begin, TileIndex end); |
|
44 int CalcBridgeLenCostFactor(int x); |
|
45 |
41 |
46 /* misc_cmd.cpp */ |
42 /* misc_cmd.cpp */ |
47 void PlaceTreesRandomly(); |
43 void PlaceTreesRandomly(); |
48 |
44 |
49 void InitializeLandscapeVariables(bool only_constants); |
45 void InitializeLandscapeVariables(bool only_constants); |