src/functions.h
changeset 7375 e8639f73a615
parent 7226 a8650d6ecb53
child 7439 0c0e2945c890
child 9629 66dde6412125
equal deleted inserted replaced
7374:54c06f06ecc8 7375:e8639f73a615
   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();