(svn r25304) -Change: Move the GS goals window from the subsidies to the league menu.

pull/155/head
frosch 11 years ago
parent bbaa23a59f
commit 24498a5912

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :Stig dorp
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidies
STR_SUBSIDIES_MENU_GOAL :Huidige doelwitte
STR_GRAPH_MENU_GOAL :Huidige doelwitte
############ range ends here
############ range for graph menu starts

@ -382,7 +382,7 @@ STR_TOWN_MENU_FOUND_TOWN :جد المدي
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :العروض
STR_SUBSIDIES_MENU_GOAL :الاهداف الحالية
STR_GRAPH_MENU_GOAL :الاهداف الحالية
############ range ends here
############ range for graph menu starts

@ -383,7 +383,7 @@ STR_TOWN_MENU_FOUND_TOWN :Herria eraiki
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidioak
STR_SUBSIDIES_MENU_GOAL :Oraingo helmugak
STR_GRAPH_MENU_GOAL :Oraingo helmugak
############ range ends here
############ range for graph menu starts

@ -697,7 +697,7 @@ STR_TOWN_MENU_FOUND_TOWN :Заснава
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Субсыдыі
STR_SUBSIDIES_MENU_GOAL :Бягучыя задачы
STR_GRAPH_MENU_GOAL :Бягучыя задачы
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fundar cidade
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsídios
STR_SUBSIDIES_MENU_GOAL :{G=m}Objetivos atuais
STR_GRAPH_MENU_GOAL :{G=m}Objetivos atuais
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Основи г
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Субсидии
STR_SUBSIDIES_MENU_GOAL :Настоящи цели
STR_GRAPH_MENU_GOAL :Настоящи цели
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Funda un poble
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvencions
STR_SUBSIDIES_MENU_GOAL :Objectius actuals
STR_GRAPH_MENU_GOAL :Objectius actuals
############ range ends here
############ range for graph menu starts

@ -481,7 +481,7 @@ STR_TOWN_MENU_FOUND_TOWN :Osnuj grad
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvencije
STR_SUBSIDIES_MENU_GOAL :Trenutni ciljevi
STR_GRAPH_MENU_GOAL :Trenutni ciljevi
############ range ends here
############ range for graph menu starts

@ -454,7 +454,7 @@ STR_TOWN_MENU_FOUND_TOWN :Založit město
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Dotace
STR_SUBSIDIES_MENU_GOAL :Současné cíle
STR_GRAPH_MENU_GOAL :Současné cíle
############ range ends here
############ range for graph menu starts

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :Stift by
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Tilskudsordninger
STR_SUBSIDIES_MENU_GOAL :Nuværende mål
STR_GRAPH_MENU_GOAL :Nuværende mål
############ range ends here
############ range for graph menu starts

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Sticht een stad
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidies
STR_SUBSIDIES_MENU_GOAL :Huidige doelen
STR_GRAPH_MENU_GOAL :Huidige doelen
############ range ends here
############ range for graph menu starts

@ -386,7 +386,6 @@ STR_TOWN_MENU_FOUND_TOWN :Found town
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidies
STR_SUBSIDIES_MENU_GOAL :Current goals
############ range ends here
############ range for graph menu starts
@ -399,6 +398,7 @@ STR_GRAPH_MENU_CARGO_PAYMENT_RATES :Cargo payment r
############ range ends here
############ range for company league menu starts
STR_GRAPH_MENU_GOAL :Current goals
STR_GRAPH_MENU_COMPANY_LEAGUE_TABLE :Company league table
STR_GRAPH_MENU_DETAILED_PERFORMANCE_RATING :Detailed performance rating
STR_GRAPH_MENU_HIGHSCORE :Highscore table

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Found town
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidies
STR_SUBSIDIES_MENU_GOAL :Current goals
STR_GRAPH_MENU_GOAL :Current goals
############ range ends here
############ range for graph menu starts

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Found town
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidies
STR_SUBSIDIES_MENU_GOAL :Current goals
STR_GRAPH_MENU_GOAL :Current goals
############ range ends here
############ range for graph menu starts

@ -381,7 +381,7 @@ STR_TOWN_MENU_FOUND_TOWN :Urbo troviĝas.
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvencioj
STR_SUBSIDIES_MENU_GOAL :Aktualaj celoj
STR_GRAPH_MENU_GOAL :Aktualaj celoj
############ range ends here
############ range for graph menu starts

@ -440,7 +440,7 @@ STR_TOWN_MENU_FOUND_TOWN :Raja linn
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Toetused
STR_SUBSIDIES_MENU_GOAL :Praegused eesmärgid
STR_GRAPH_MENU_GOAL :Praegused eesmärgid
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Funnar bygdir
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Stuðulsflutningur
STR_SUBSIDIES_MENU_GOAL :Núverðandi mál
STR_GRAPH_MENU_GOAL :Núverðandi mál
############ range ends here
############ range for graph menu starts

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Perusta kaupunk
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Tuet
STR_SUBSIDIES_MENU_GOAL :Nykyiset tavoitteet
STR_GRAPH_MENU_GOAL :Nykyiset tavoitteet
############ range ends here
############ range for graph menu starts

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fonder une vill
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subventions
STR_SUBSIDIES_MENU_GOAL :Objectifs actuels
STR_GRAPH_MENU_GOAL :Objectifs actuels
############ range ends here
############ range for graph menu starts

@ -574,7 +574,7 @@ STR_TOWN_MENU_FOUND_TOWN :Baile air a lor
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Tarrailean
STR_SUBSIDIES_MENU_GOAL :Amasan an-dràsta
STR_GRAPH_MENU_GOAL :Amasan an-dràsta
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fundar poboaci
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvencións
STR_SUBSIDIES_MENU_GOAL :Metas actuais
STR_GRAPH_MENU_GOAL :Metas actuais
############ range ends here
############ range for graph menu starts

@ -387,7 +387,7 @@ STR_TOWN_MENU_FOUND_TOWN :Stadt gründen
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subventionen
STR_SUBSIDIES_MENU_GOAL :Momentane Ziele
STR_GRAPH_MENU_GOAL :Momentane Ziele
############ range ends here
############ range for graph menu starts

@ -447,7 +447,7 @@ STR_TOWN_MENU_FOUND_TOWN :Ιδρύση π
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Χρηματοδοτήσεις
STR_SUBSIDIES_MENU_GOAL :Τρέχοντες στόχοι
STR_GRAPH_MENU_GOAL :Τρέχοντες στόχοι
############ range ends here
############ range for graph menu starts

@ -397,7 +397,7 @@ STR_TOWN_MENU_FOUND_TOWN :ייסד עיר
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :סובסידיות
STR_SUBSIDIES_MENU_GOAL :מטרות נוכחיות
STR_GRAPH_MENU_GOAL :מטרות נוכחיות
############ range ends here
############ range for graph menu starts

@ -448,7 +448,7 @@ STR_TOWN_MENU_FOUND_TOWN :Új város alap
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Támogatások
STR_SUBSIDIES_MENU_GOAL :Jelenlegi célok
STR_GRAPH_MENU_GOAL :Jelenlegi célok
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fann bæ
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Samstarfssamningar
STR_SUBSIDIES_MENU_GOAL :Markmið
STR_GRAPH_MENU_GOAL :Markmið
############ range ends here
############ range for graph menu starts

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :Bangun Kota
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidi
STR_SUBSIDIES_MENU_GOAL :Target saat ini
STR_GRAPH_MENU_GOAL :Target saat ini
############ range ends here
############ range for graph menu starts

@ -382,7 +382,7 @@ STR_TOWN_MENU_FOUND_TOWN :Aimsíodh baile
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Fordheontais
STR_SUBSIDIES_MENU_GOAL :Spriocanna reatha
STR_GRAPH_MENU_GOAL :Spriocanna reatha
############ range ends here
############ range for graph menu starts

@ -388,7 +388,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fonda città
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Sussidi
STR_SUBSIDIES_MENU_GOAL :Obiettivi
STR_GRAPH_MENU_GOAL :Obiettivi
############ range ends here
############ range for graph menu starts

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :町の新設に
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :助成金
STR_SUBSIDIES_MENU_GOAL :現在の目的
STR_GRAPH_MENU_GOAL :現在の目的
############ range ends here
############ range for graph menu starts

@ -387,7 +387,7 @@ STR_TOWN_MENU_FOUND_TOWN :도시 건설
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :보조금
STR_SUBSIDIES_MENU_GOAL :현재 목표
STR_GRAPH_MENU_GOAL :현재 목표
############ range ends here
############ range for graph menu starts

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Dibināt pilsē
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsīdijas
STR_SUBSIDIES_MENU_GOAL :Kārtējie mērķi
STR_GRAPH_MENU_GOAL :Kārtējie mērķi
############ range ends here
############ range for graph menu starts

@ -579,7 +579,7 @@ STR_TOWN_MENU_FOUND_TOWN :Įkurti miestą
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidijos
STR_SUBSIDIES_MENU_GOAL :Dabartiniai tikslai
STR_GRAPH_MENU_GOAL :Dabartiniai tikslai
############ range ends here
############ range for graph menu starts

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :Stad grënnen
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subventiounen
STR_SUBSIDIES_MENU_GOAL :Aktuell Zieler
STR_GRAPH_MENU_GOAL :Aktuell Zieler
############ range ends here
############ range for graph menu starts

@ -383,7 +383,7 @@ STR_TOWN_MENU_FOUND_TOWN :Binakan bandar
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidi
STR_SUBSIDIES_MENU_GOAL :Matlamat semasa
STR_GRAPH_MENU_GOAL :Matlamat semasa
############ range ends here
############ range for graph menu starts

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Grunnlegg by
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidier
STR_SUBSIDIES_MENU_GOAL :Nåværende mål
STR_GRAPH_MENU_GOAL :Nåværende mål
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Grunnlegg by
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsidiar
STR_SUBSIDIES_MENU_GOAL :Gjeldande mål
STR_GRAPH_MENU_GOAL :Gjeldande mål
############ range ends here
############ range for graph menu starts

@ -765,7 +765,7 @@ STR_TOWN_MENU_FOUND_TOWN :Załóż miasto
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsydia
STR_SUBSIDIES_MENU_GOAL :Bieżące cele
STR_GRAPH_MENU_GOAL :Bieżące cele
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fundar cidade
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subsídios
STR_SUBSIDIES_MENU_GOAL :Objetivos actuais
STR_GRAPH_MENU_GOAL :Objetivos actuais
############ range ends here
############ range for graph menu starts

@ -383,7 +383,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fondează oraş
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvenţii
STR_SUBSIDIES_MENU_GOAL :Ţinte curente
STR_GRAPH_MENU_GOAL :Ţinte curente
############ range ends here
############ range for graph menu starts

@ -512,7 +512,7 @@ STR_TOWN_MENU_FOUND_TOWN :Основат
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Субсидии
STR_SUBSIDIES_MENU_GOAL :Текущие задачи
STR_GRAPH_MENU_GOAL :Текущие задачи
############ range ends here
############ range for graph menu starts

@ -572,7 +572,7 @@ STR_TOWN_MENU_FOUND_TOWN :Osnivanje nasel
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvencije
STR_SUBSIDIES_MENU_GOAL :Trenutni ciljevi
STR_GRAPH_MENU_GOAL :Trenutni ciljevi
############ range ends here
############ range for graph menu starts

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :建立城镇
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :财政补贴
STR_SUBSIDIES_MENU_GOAL :当前目标
STR_GRAPH_MENU_GOAL :当前目标
############ range ends here
############ range for graph menu starts

@ -448,7 +448,7 @@ STR_TOWN_MENU_FOUND_TOWN :Založiť mesto
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Dotácie
STR_SUBSIDIES_MENU_GOAL :Súčasné ciele
STR_GRAPH_MENU_GOAL :Súčasné ciele
############ range ends here
############ range for graph menu starts

@ -536,7 +536,7 @@ STR_TOWN_MENU_FOUND_TOWN :Ustanovi mesto
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvencije
STR_SUBSIDIES_MENU_GOAL :Trenutni cilji
STR_GRAPH_MENU_GOAL :Trenutni cilji
############ range ends here
############ range for graph menu starts

@ -387,7 +387,7 @@ STR_TOWN_MENU_FOUND_TOWN :Fundar pueblo
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subvenciones
STR_SUBSIDIES_MENU_GOAL :Metas actuales
STR_GRAPH_MENU_GOAL :Metas actuales
############ range ends here
############ range for graph menu starts

@ -386,7 +386,7 @@ STR_TOWN_MENU_FOUND_TOWN :Grunda stad
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Subventioner
STR_SUBSIDIES_MENU_GOAL :Nuvarande mål
STR_GRAPH_MENU_GOAL :Nuvarande mål
############ range ends here
############ range for graph menu starts

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :நகரம்
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :மானியங்கள்
STR_SUBSIDIES_MENU_GOAL :தற்போதைய குறிக்கோள்கள்
STR_GRAPH_MENU_GOAL :தற்போதைய குறிக்கோள்கள்
############ range ends here
############ range for graph menu starts

@ -384,7 +384,7 @@ STR_TOWN_MENU_FOUND_TOWN :興建市鎮
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :補助資訊
STR_SUBSIDIES_MENU_GOAL :當前目標
STR_GRAPH_MENU_GOAL :當前目標
############ range ends here
############ range for graph menu starts

@ -387,7 +387,7 @@ STR_TOWN_MENU_FOUND_TOWN :Şehir başlat
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Teşvikler
STR_SUBSIDIES_MENU_GOAL :Mevcut hedefler
STR_GRAPH_MENU_GOAL :Mevcut hedefler
############ range ends here
############ range for graph menu starts

@ -509,7 +509,7 @@ STR_TOWN_MENU_FOUND_TOWN :Заснува
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Субсидії
STR_SUBSIDIES_MENU_GOAL :Поточні цілі
STR_GRAPH_MENU_GOAL :Поточні цілі
############ range ends here
############ range for graph menu starts

@ -383,7 +383,7 @@ STR_TOWN_MENU_FOUND_TOWN :Резулта
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :субвенции
STR_SUBSIDIES_MENU_GOAL :Сега цели
STR_GRAPH_MENU_GOAL :Сега цели
############ range ends here
############ range for graph menu starts

@ -382,7 +382,7 @@ STR_TOWN_MENU_FOUND_TOWN :ساخت شهر
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :یارانه ها
STR_SUBSIDIES_MENU_GOAL :اهداف فعلی
STR_GRAPH_MENU_GOAL :اهداف فعلی
############ range ends here
############ range for graph menu starts

@ -383,7 +383,7 @@ STR_TOWN_MENU_FOUND_TOWN :ตั้งเ
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :การสนับสนุน
STR_SUBSIDIES_MENU_GOAL :เป้าหมายปัจจุบัน
STR_GRAPH_MENU_GOAL :เป้าหมายปัจจุบัน
############ range ends here
############ range for graph menu starts

@ -383,7 +383,7 @@ STR_TOWN_MENU_FOUND_TOWN :قصبھ قائ
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :امداد
STR_SUBSIDIES_MENU_GOAL :موجودہ اہداف
STR_GRAPH_MENU_GOAL :موجودہ اہداف
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Thị Xã
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Tiền trợ cấp
STR_SUBSIDIES_MENU_GOAL :Các mục tiêu hiện tại
STR_GRAPH_MENU_GOAL :Các mục tiêu hiện tại
############ range ends here
############ range for graph menu starts

@ -385,7 +385,7 @@ STR_TOWN_MENU_FOUND_TOWN :Sefydlu tref
############ range for subsidies menu starts
STR_SUBSIDIES_MENU_SUBSIDIES :Cymorthdaliadau
STR_SUBSIDIES_MENU_GOAL :Nodau presennol
STR_GRAPH_MENU_GOAL :Nodau presennol
############ range ends here
############ range for graph menu starts

@ -43,6 +43,7 @@
#include "hotkeys.h"
#include "engine_base.h"
#include "highscore.h"
#include "game/game.hpp"
#include "widgets/toolbar_widget.h"
@ -161,13 +162,13 @@ public:
/**
* Pop up a generic text only menu.
*/
static void PopupMainToolbMenu(Window *w, int widget, StringID string, int count)
static void PopupMainToolbMenu(Window *w, int widget, StringID string, int count, int skip = 0)
{
DropDownList *list = new DropDownList();
for (int i = 0; i < count; i++) {
for (int i = skip; i < count; i++) {
list->push_back(new DropDownListStringItem(string + i, i, false));
}
ShowDropDownList(w, list, 0, widget, 140, true, true);
ShowDropDownList(w, list, skip, widget, 140, true, true);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
}
@ -476,7 +477,7 @@ static CallBackFunction MenuClickTown(int index)
static CallBackFunction ToolbarSubsidiesClick(Window *w)
{
PopupMainToolbMenu(w, WID_TN_SUBSIDIES, STR_SUBSIDIES_MENU_SUBSIDIES, 2);
PopupMainToolbMenu(w, WID_TN_SUBSIDIES, STR_SUBSIDIES_MENU_SUBSIDIES, 1);
return CBF_NONE;
}
@ -490,7 +491,6 @@ static CallBackFunction MenuClickSubsidies(int index)
{
switch (index) {
case 0: ShowSubsidiesList(); break;
case 1: ShowGoalsList(); break;
}
return CBF_NONE;
}
@ -615,7 +615,7 @@ static CallBackFunction MenuClickGraphs(int index)
static CallBackFunction ToolbarLeagueClick(Window *w)
{
PopupMainToolbMenu(w, WID_TN_LEAGUE, STR_GRAPH_MENU_COMPANY_LEAGUE_TABLE, _networking ? 2 : 3);
PopupMainToolbMenu(w, WID_TN_LEAGUE, STR_GRAPH_MENU_GOAL, _networking ? 3 : 4, Game::GetInstance() != NULL ? 0 : 1);
return CBF_NONE;
}
@ -628,9 +628,10 @@ static CallBackFunction ToolbarLeagueClick(Window *w)
static CallBackFunction MenuClickLeague(int index)
{
switch (index) {
case 0: ShowCompanyLeagueTable(); break;
case 1: ShowPerformanceRatingDetail(); break;
case 2: ShowHighscoreTable(); break;
case 0: ShowGoalsList(); break;
case 1: ShowCompanyLeagueTable(); break;
case 2: ShowPerformanceRatingDetail(); break;
case 3: ShowHighscoreTable(); break;
}
return CBF_NONE;
}

Loading…
Cancel
Save