functions.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef FUNCTIONS_H
00013 #define FUNCTIONS_H
00014
00015 #include "tile_cmd.h"
00016
00017
00018 void DrawHillyLandTile(const TileInfo *ti);
00019 void DrawClearLandTile(const TileInfo *ti, byte set);
00020 void DrawClearLandFence(const TileInfo *ti);
00021 void TileLoopClearHelper(TileIndex tile);
00022
00023
00024 bool CheckCompanyHasMoney(CommandCost &cost);
00025 void SubtractMoneyFromCompany(CommandCost cost);
00026 void SubtractMoneyFromCompanyFract(CompanyID company, CommandCost cost);
00027 CommandCost CheckOwnership(Owner owner, TileIndex tile = 0);
00028 CommandCost CheckTileOwnership(TileIndex tile);
00029
00030
00031 void MarkTileDirtyByTile(TileIndex tile);
00032
00033 void ShowCostOrIncomeAnimation(int x, int y, int z, Money cost);
00034 void ShowFeederIncomeAnimation(int x, int y, int z, Money cost);
00035
00036 void AskExitGame();
00037 void AskExitToGameMenu();
00038
00039 int ttd_main(int argc, char *argv[]);
00040 void HandleExitGameRequest();
00041
00042 #endif