mirror of https://github.com/OpenTTD/OpenTTD
(svn r241) -Fix: Trailing spaces :O
parent
bb2f8d8d1a
commit
72457bac0d
|
@ -897,7 +897,7 @@ void RemoteSubsidyAdd(Subsidy *s_new)
|
||||||
Pair pair;
|
Pair pair;
|
||||||
|
|
||||||
// search the first free subsidy
|
// search the first free subsidy
|
||||||
for(s=_subsidies; s != endof(_subsidies); s++)
|
for(s=_subsidies; s != endof(_subsidies); s++)
|
||||||
if (s->cargo_type == 0xFF)
|
if (s->cargo_type == 0xFF)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -907,7 +907,6 @@ void RemoteSubsidyAdd(Subsidy *s_new)
|
||||||
AddNewsItem(STR_2030_SERVICE_SUBSIDY_OFFERED, NEWS_FLAGS(NM_NORMAL, NF_TILE, NT_SUBSIDIES, 0), pair.a, pair.b);
|
AddNewsItem(STR_2030_SERVICE_SUBSIDY_OFFERED, NEWS_FLAGS(NM_NORMAL, NF_TILE, NT_SUBSIDIES, 0), pair.a, pair.b);
|
||||||
|
|
||||||
InvalidateWindow(WC_SUBSIDIES_LIST, 0);
|
InvalidateWindow(WC_SUBSIDIES_LIST, 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SubsidyMonthlyHandler()
|
static void SubsidyMonthlyHandler()
|
||||||
|
|
|
@ -70,7 +70,7 @@ VARDEF Subsidy _subsidies[MAX_PLAYERS];
|
||||||
Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode);
|
Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode);
|
||||||
void DeleteSubsidyWithIndustry(byte index);
|
void DeleteSubsidyWithIndustry(byte index);
|
||||||
void DeleteSubsidyWithStation(byte index);
|
void DeleteSubsidyWithStation(byte index);
|
||||||
void RemoteSubsidyAdd(Subsidy *s_new);
|
void RemoteSubsidyAdd(Subsidy *s_new);
|
||||||
|
|
||||||
int32 GetTransportedGoodsIncome(uint num_pieces, uint dist, byte transit_days, byte cargo_type);
|
int32 GetTransportedGoodsIncome(uint num_pieces, uint dist, byte transit_days, byte cargo_type);
|
||||||
uint MoveGoodsToStation(uint tile, int w, int h, int type, uint amount);
|
uint MoveGoodsToStation(uint tile, int w, int h, int type, uint amount);
|
||||||
|
|
|
@ -51,7 +51,7 @@ void DrawGraph(GraphDrawer *gw)
|
||||||
int64 cur_val;
|
int64 cur_val;
|
||||||
uint sel;
|
uint sel;
|
||||||
|
|
||||||
/* the colors and cost array of GraphDrawer must accomodate
|
/* the colors and cost array of GraphDrawer must accomodate
|
||||||
* both values for cargo and players. So if any are higher, quit */
|
* both values for cargo and players. So if any are higher, quit */
|
||||||
assert(GRAPH_NUM >= NUM_CARGO && GRAPH_NUM >= MAX_PLAYERS);
|
assert(GRAPH_NUM >= NUM_CARGO && GRAPH_NUM >= MAX_PLAYERS);
|
||||||
|
|
||||||
|
|
|
@ -1886,7 +1886,7 @@ static byte MakeRomanianTownName(byte *buf, uint32 seed)
|
||||||
AppendPart(&buf, GETNUM(0, NUM_ROMANIAN_1), romanian_1);
|
AppendPart(&buf, GETNUM(0, NUM_ROMANIAN_1), romanian_1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define NUM_SLOVAKISH_1 87
|
#define NUM_SLOVAKISH_1 87
|
||||||
static const char slovakish_1[] =
|
static const char slovakish_1[] =
|
||||||
MK("Bratislava")
|
MK("Bratislava")
|
||||||
|
|
|
@ -72,7 +72,7 @@ static const CurrencySpec _currency_specs[] = {
|
||||||
{ 50, ',', 0, "", " Kc" },
|
{ 50, ',', 0, "", " Kc" },
|
||||||
{ 130, '.', 0, "", " kr" },
|
{ 130, '.', 0, "", " kr" },
|
||||||
{ 11, '.', 0, "", " kr" },
|
{ 11, '.', 0, "", " kr" },
|
||||||
{ 6, '.', 0, "", " Lei" },
|
{ 6, '.', 0, "", " Lei" },
|
||||||
{ 2, ',', CF_ISEURO, "€", "" },
|
{ 2, ',', CF_ISEURO, "€", "" },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
2
ttd.h
2
ttd.h
|
@ -484,7 +484,7 @@ enum SpecialStrings {
|
||||||
SPECSTR_TOWNNAME_HUNGARIAN,
|
SPECSTR_TOWNNAME_HUNGARIAN,
|
||||||
SPECSTR_TOWNNAME_AUSTRIAN,
|
SPECSTR_TOWNNAME_AUSTRIAN,
|
||||||
SPECSTR_TOWNNAME_ROMANIAN,
|
SPECSTR_TOWNNAME_ROMANIAN,
|
||||||
SPECSTR_TOWNNAME_LAST = SPECSTR_TOWNNAME_ROMANIAN,
|
SPECSTR_TOWNNAME_LAST = SPECSTR_TOWNNAME_ROMANIAN,
|
||||||
|
|
||||||
// special strings for player names on the form "TownName transport".
|
// special strings for player names on the form "TownName transport".
|
||||||
SPECSTR_PLAYERNAME_START = 0x70EA,
|
SPECSTR_PLAYERNAME_START = 0x70EA,
|
||||||
|
|
Loading…
Reference in New Issue