functions.h
changeset 2475 8443e1eefe1b
parent 2471 14109854e818
child 2482 dffcca243dbc
equal deleted inserted replaced
2474:3242eca6d637 2475:8443e1eefe1b
    73 bool CheckPlayerHasMoney(int32 cost);
    73 bool CheckPlayerHasMoney(int32 cost);
    74 void SubtractMoneyFromPlayer(int32 cost);
    74 void SubtractMoneyFromPlayer(int32 cost);
    75 void SubtractMoneyFromPlayerFract(PlayerID player, int32 cost);
    75 void SubtractMoneyFromPlayerFract(PlayerID player, int32 cost);
    76 bool CheckOwnership(PlayerID owner);
    76 bool CheckOwnership(PlayerID owner);
    77 bool CheckTileOwnership(TileIndex tile);
    77 bool CheckTileOwnership(TileIndex tile);
    78 StringID GetPlayerNameString(PlayerID player, PlayerID index);
    78 StringID GetPlayerNameString(PlayerID player, uint index);
    79 
    79 
    80 /* standard */
    80 /* standard */
    81 void ShowInfo(const char *str);
    81 void ShowInfo(const char *str);
    82 void CDECL ShowInfoF(const char *str, ...);
    82 void CDECL ShowInfoF(const char *str, ...);
    83 void NORETURN CDECL error(const char *str, ...);
    83 void NORETURN CDECL error(const char *str, ...);