mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r9050) -Codechange: Foo(void) -> Foo()
This commit is contained in:
@@ -316,7 +316,7 @@ static const WindowDesc _graph_legend_desc = {
|
||||
GraphLegendWndProc
|
||||
};
|
||||
|
||||
static void ShowGraphLegend(void)
|
||||
static void ShowGraphLegend()
|
||||
{
|
||||
AllocateWindowDescFront(&_graph_legend_desc, 0);
|
||||
}
|
||||
@@ -415,7 +415,7 @@ static const WindowDesc _operating_profit_desc = {
|
||||
};
|
||||
|
||||
|
||||
void ShowOperatingProfitGraph(void)
|
||||
void ShowOperatingProfitGraph()
|
||||
{
|
||||
if (AllocateWindowDescFront(&_operating_profit_desc, 0)) {
|
||||
InvalidateWindow(WC_GRAPH_LEGEND, 0);
|
||||
@@ -483,7 +483,7 @@ static const WindowDesc _income_graph_desc = {
|
||||
IncomeGraphWndProc
|
||||
};
|
||||
|
||||
void ShowIncomeGraph(void)
|
||||
void ShowIncomeGraph()
|
||||
{
|
||||
if (AllocateWindowDescFront(&_income_graph_desc, 0)) {
|
||||
InvalidateWindow(WC_GRAPH_LEGEND, 0);
|
||||
@@ -550,7 +550,7 @@ static const WindowDesc _delivered_cargo_graph_desc = {
|
||||
DeliveredCargoGraphWndProc
|
||||
};
|
||||
|
||||
void ShowDeliveredCargoGraph(void)
|
||||
void ShowDeliveredCargoGraph()
|
||||
{
|
||||
if (AllocateWindowDescFront(&_delivered_cargo_graph_desc, 0)) {
|
||||
InvalidateWindow(WC_GRAPH_LEGEND, 0);
|
||||
@@ -619,7 +619,7 @@ static const WindowDesc _performance_history_desc = {
|
||||
PerformanceHistoryWndProc
|
||||
};
|
||||
|
||||
void ShowPerformanceHistoryGraph(void)
|
||||
void ShowPerformanceHistoryGraph()
|
||||
{
|
||||
if (AllocateWindowDescFront(&_performance_history_desc, 0)) {
|
||||
InvalidateWindow(WC_GRAPH_LEGEND, 0);
|
||||
@@ -686,7 +686,7 @@ static const WindowDesc _company_value_graph_desc = {
|
||||
CompanyValueGraphWndProc
|
||||
};
|
||||
|
||||
void ShowCompanyValueGraph(void)
|
||||
void ShowCompanyValueGraph()
|
||||
{
|
||||
if (AllocateWindowDescFront(&_company_value_graph_desc, 0)) {
|
||||
InvalidateWindow(WC_GRAPH_LEGEND, 0);
|
||||
@@ -784,7 +784,7 @@ static const WindowDesc _cargo_payment_rates_desc = {
|
||||
};
|
||||
|
||||
|
||||
void ShowCargoPaymentRates(void)
|
||||
void ShowCargoPaymentRates()
|
||||
{
|
||||
Window *w = AllocateWindowDescFront(&_cargo_payment_rates_desc, 0);
|
||||
if (w == NULL) return;
|
||||
@@ -905,7 +905,7 @@ static const WindowDesc _company_league_desc = {
|
||||
CompanyLeagueWndProc
|
||||
};
|
||||
|
||||
void ShowCompanyLeagueTable(void)
|
||||
void ShowCompanyLeagueTable()
|
||||
{
|
||||
AllocateWindowDescFront(&_company_league_desc,0);
|
||||
}
|
||||
@@ -1144,7 +1144,7 @@ static const WindowDesc _performance_rating_detail_desc = {
|
||||
PerformanceRatingDetailWndProc
|
||||
};
|
||||
|
||||
void ShowPerformanceRatingDetail(void)
|
||||
void ShowPerformanceRatingDetail()
|
||||
{
|
||||
AllocateWindowDescFront(&_performance_rating_detail_desc, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user