mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r4310) The chat box has no visible window title, therefore remove the string
This commit is contained in:
parent
98b51c36e2
commit
90927c22a5
2
gui.h
2
gui.h
@ -124,7 +124,7 @@ extern const byte _fios_colors[];
|
||||
|
||||
/* network gui */
|
||||
void ShowNetworkGameWindow(void);
|
||||
void ShowChatWindow(StringID caption, int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number);
|
||||
void ShowChatWindow(int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number);
|
||||
|
||||
/* bridge_gui.c */
|
||||
void ShowBuildBridgeWindow(uint start, uint end, byte type);
|
||||
|
@ -1309,7 +1309,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Disconnect
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Enter your text message to send
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Enter the amount of money you want to give
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server is protected. Enter password
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Company is protected. Enter password
|
||||
|
@ -1294,7 +1294,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Desconectar
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Digite a mensagem de texto a enviar
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Digite o valor do dinheiro que pretende dar
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Servidor protegido. Digite a senha
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Companhia protegida. Digite a senha
|
||||
|
@ -1293,7 +1293,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Desconnecta
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Entra el text del missatge a enviar
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Entra la quantitat de diners que vols obtenir
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Servidor protegit. Entra la contrasenya
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Empresa protegida. Entra la contrasenya
|
||||
|
@ -1350,7 +1350,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Odpojit se
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Napi¨ zprávu, kterou chce¨ poslat
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Napi¨ castku, kterou chce¨ poskytnout
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server je chraneny. Napi¨ heslo
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Spolecnost je chranena. Napi¨ heslo
|
||||
|
@ -1307,7 +1307,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Afbryd forbindelse
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Skrive den tekst, som du vil sende
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Skriv det beløb, som du ønsker at give
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Serveren er beskyttet. Skriv kodeordet
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Virksomheden er beskyttet. Skriv kodeordet
|
||||
|
@ -1309,7 +1309,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Verbinding verbroken
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Voer het te versturen bericht in
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Voer het geldbedrag dat je wilt geven in
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server is beveiligd. Voer wachtwoord in.
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Bedrijf is beveiligd. Voer wachtwoord in.
|
||||
|
@ -1341,7 +1341,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Disconnect
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Enter your text message to send
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Enter the amount of money you want to give
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server is protected. Enter password
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Company is protected. Enter password
|
||||
|
@ -1290,7 +1290,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Katkesta
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Sõnumi kirjutamine saatmiseks teistele mängijatele
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Teisele mängijale saadetava rahasumma sisestamine
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server on kaitstud. Sisesta parool
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Ettevõte on kaitstud. Sisesta parool
|
||||
|
@ -1308,7 +1308,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Pura yhteys
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Syötä lähetettävä teksti
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Syötä annettava rahamäärä
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Palvelin on suojattu. Anna salasana
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Yhtiö on suojattu. Anna salasana
|
||||
|
@ -1312,7 +1312,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Déconnecter
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Saisir le message à envoyer
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Saisir le montant d'argent que vous désirez transférer
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Le serveur est protégé. Entrez le mot de passe
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}La compagnie est protégée. Entrez le mot de passe
|
||||
|
@ -1279,7 +1279,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Desconectar
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Introduce o texto a enviar
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Introduce a cantidade de diñeiro a dar
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}O servidor está protexido. Introduce clave
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}A comañía está protexida. Introduce clave
|
||||
|
@ -1310,7 +1310,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Trennen
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Gib deine Nachricht ein
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Gib an, wieviel Geld du geben möchtest
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server ist geschützt. Gib das Passwort ein
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Firma ist geschützt! Passwort eingeben
|
||||
|
@ -1374,7 +1374,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Lebontás
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Írd be az elküldendõ üzenetet
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Írd be mennyi pénzt akarsz adományozni
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}A szerver jelszóval van védve. Írd be
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}A cég jelszóval van védve. Írd be
|
||||
|
@ -1294,7 +1294,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Aftengjast
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Sláðu inn skilaboð til að senda
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Sláðu inn upphæð fjár sem þú villt gefa
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Þjónn er varinn. Sláðu inn lykilorð
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Fyrirtæki er varið. Sláðu inn lykilorð
|
||||
|
@ -1309,7 +1309,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Disconnessione
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Inserisci il messaggio di testo da inviare
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Inserisci l'ammontare di denaro che vuoi donare
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server protetto. Inserisci la password
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Compagnia protetta. Inserisci la password
|
||||
|
@ -1292,7 +1292,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Koble fra
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Skriv inn teksten du vil sende
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Skriv inn hvor mange penger du vil gi
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Tjeneren er beskyttet. Skriv inn passord
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Firmaet er beskyttet. Skriv inn passord
|
||||
|
@ -1309,7 +1309,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Rozlaczony
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Wprowadz tekst do wyslania
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Wprowadz ilosc pieniedzy jaka chcesz przekazac
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Serwer jest chroniony. Wprowadz haslo
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Firma jest chroniona. Wprowadz haslo
|
||||
|
@ -1294,7 +1294,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Desligar
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Introduza a mensagem de texto a enviar
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Introduza o valor do dinheiro que pretende dar
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Servidor protegido. Introduza palavra-chave
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Companhia protegida. Introduza palavra-chave
|
||||
|
@ -1294,7 +1294,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Deconectare
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Introdu textul de trimis
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Introdu suma de bani pe care vrei sa o cedezi
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server protejat. Introdu parola
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Companie protejata. Introdu parola
|
||||
|
@ -1300,7 +1300,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Odpojit sa
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Napis spravu, ktoru chces poslat
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Napis sumu, ktoru chces poskytnut
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server je chraneny. Napis heslo
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Spolocnost je chranena. Napis heslo
|
||||
|
@ -1294,7 +1294,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Desconectado
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Teclee el mensaje de texto a enviar
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Introduce la cantidad de dinero que desea dar
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Servidor protegido. Teclee la contraseña
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Empresa protegida. Introduce contraseña
|
||||
|
@ -1309,7 +1309,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Frånkopplad
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Ange meddelandet du vill skicka
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Ange beloppet du vill ge
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Servern är skyddad. Ange lösenord
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Företaget är skyddat. Ange lösenord
|
||||
|
@ -1309,7 +1309,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Baglantiyi kes
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Göndereceginiz mesaji girin
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Vereceginiz para miktarini girin
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Sunucu korumali. Parola girin
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Sirket korumali. Parola girin
|
||||
|
@ -1248,7 +1248,6 @@ STR_NETWORK_CONNECTING_DOWNLOADING :{BLACK}{NUM} /
|
||||
|
||||
STR_NETWORK_DISCONNECT :{BLACK}Atsijungti
|
||||
|
||||
STR_NETWORK_CHAT_QUERY_CAPTION :{WHITE}Ivesk teksta kuri nori siusti
|
||||
STR_NETWORK_GIVE_MONEY_CAPTION :{WHITE}Ivesk pinigu kieki kuri nori duoti
|
||||
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Serveris apsaugotas. Ivesk slaptazodi
|
||||
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Kompanija apsaugota. Ivesk slaptazodi
|
||||
|
@ -332,7 +332,7 @@ void ShowNetworkChatQueryWindow(byte desttype, byte dest)
|
||||
{
|
||||
_rename_id = desttype + (dest << 8);
|
||||
_rename_what = 2;
|
||||
ShowChatWindow(STR_NETWORK_CHAT_QUERY_CAPTION, 150, 338, 1, 0);
|
||||
ShowChatWindow(150, 338, 1, 0);
|
||||
}
|
||||
|
||||
void ShowNetworkGiveMoneyWindow(byte player)
|
||||
|
@ -1545,7 +1545,7 @@ static const WindowDesc _chat_window_desc = {
|
||||
ChatWindowWndProc
|
||||
};
|
||||
|
||||
void ShowChatWindow(StringID caption, int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number)
|
||||
void ShowChatWindow(int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number)
|
||||
{
|
||||
Window *w;
|
||||
|
||||
@ -1556,7 +1556,7 @@ void ShowChatWindow(StringID caption, int maxlen, int maxwidth, WindowClass wind
|
||||
w = AllocateWindowDesc(&_chat_window_desc);
|
||||
|
||||
w->click_state = 1 << 1;
|
||||
WP(w,querystr_d).caption = caption;
|
||||
WP(w,querystr_d).caption = STR_NULL;
|
||||
WP(w,querystr_d).wnd_class = window_class;
|
||||
WP(w,querystr_d).wnd_num = window_number;
|
||||
WP(w,querystr_d).text.caret = false;
|
||||
|
Loading…
Reference in New Issue
Block a user