Add help text at bottom left when menu is open

This commit is contained in:
def 2022-10-03 00:11:01 +02:00
parent 9e5d830e34
commit 361622ec37
38 changed files with 224 additions and 108 deletions

View file

@ -723,9 +723,6 @@ Show score
%.2f KiB
== %.2f KiB
Try fast HTTP map download first
== ﻝﻭﺍ ﺏﺎﻤﻟﺍ ﻞﻴﻤﺤﺘﻟ ﻉﺮﺳﺍ HTTP ﻡﺪﺨﺘﺳﺍ ﺏﺮﺟ
Enable regular chat sound
== ﺔﻳﺩﺎﻌﻟﺍ ﺔﺷﺩﺭﺩ ﺕﻮﺻ ﻞﻴﻌﻔﺗ
@ -1312,6 +1309,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1539,6 +1539,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -910,6 +910,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Connect Dummy
==
@ -1368,6 +1371,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1446,9 +1452,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -985,9 +985,6 @@ Old mouse mode
Show tiles layers from BG map
== Prikaži slojeve od pozadinske mape
Try fast HTTP map download first
== Pokušaj prvo brzo HTTP skidanje mape
DDNet %s is available:
== DDNet %s je dostupan:
@ -1216,6 +1213,9 @@ Loading demo files
Demos directory
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1485,6 +1485,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -799,9 +799,6 @@ Show score
UI Color
== Cor da UI
Try fast HTTP map download first
== Tentar baixar mapa por HTTP (rápido) primeiro
Best
== Melhor
@ -1623,3 +1620,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
== Cor interna do laser do congelamento
Menu opened. Press Esc key again to close menu.
==
Set all to Rifle
==

View file

@ -907,6 +907,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Connect Dummy
==
@ -1368,6 +1371,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1446,9 +1452,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -795,9 +795,6 @@ Max CSVs
%.2f KiB
== %.2f KiB
Try fast HTTP map download first
== Intentar primer la descàrrega ràpida del mapa
Use DDRace Scoreboard
== Utilitzar la taula d'estadístiques DDRace
@ -1390,6 +1387,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1566,6 +1566,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -910,6 +910,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Connect Dummy
==
@ -1368,6 +1371,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1446,9 +1452,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -987,9 +987,6 @@ Old mouse mode
Show tiles layers from BG map
== Zobrazit vrstvy dlaždic z mapy BG
Try fast HTTP map download first
== Zkusit rychlé HTTP stáhnutí map jako první
DDNet %s is available:
== DDNet %s je k dispozici:
@ -1325,6 +1322,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1549,6 +1549,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -1061,9 +1061,6 @@ Use current map as background
Show tiles layers from BG map
== Vis fliselag fra baggrundskortet
Try fast HTTP map download first
== Prøv hurtig download af HTTP kort først
DDNet %s is available:
== DDNet %s er tilgængelig:
@ -1323,6 +1320,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1547,6 +1547,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -1009,9 +1009,6 @@ Old mouse mode
Show tiles layers from BG map
== Laat tegellagen van achtergrondmap zien
Try fast HTTP map download first
== Probeer eerst een snelle HTTP download voor deze map
DDNet %s is available:
== DDNet %s is beschikbaar
@ -1439,6 +1436,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1606,6 +1606,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Extras
==

View file

@ -872,6 +872,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Stop record
==
@ -1405,6 +1408,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1483,9 +1489,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -1066,9 +1066,6 @@ Background
Use current map as background
== Käytä nykyistä kenttää taustana
Try fast HTTP map download first
== Yritä nopeaa HTTP-kentänlatausta ensin
DDNet %s is available:
== DDNet %s on saatavilla:
@ -1280,6 +1277,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1522,6 +1522,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -920,9 +920,6 @@ Hammerfly dummy
Switch weapon when out of ammo
== Changer d'arme lorsqu'il n'y a plus de munition
Try fast HTTP map download first
== Carte : essayer d'abord le téléchargement rapide HTTP
Save the best demo of each race
== Sauvegarder la meilleure démo de chaque course
@ -1601,6 +1598,9 @@ Export cut as a separate demo
Toggle keyboard shortcuts
==
Menu opened. Press Esc key again to close menu.
==
Weapons
==
@ -1627,3 +1627,6 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==

View file

@ -770,9 +770,6 @@ Show score
%.2f KiB
== %.2f KiB
Try fast HTTP map download first
== Schnellen HTTP-Kartendownload nutzen
Enable regular chat sound
== Ton für normale Nachrichten aktivieren
@ -1621,3 +1618,9 @@ Mark the beginning of a cut
Mark the end of a cut
== Das Ende eines Schnitts markieren
Menu opened. Press Esc key again to close menu.
== Menü geöffnet. Erneut Esc-Taste drücken um Menü zu schließen.
Set all to Rifle
== Alle auf Gewehr setzen

View file

@ -913,6 +913,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Connect Dummy
==
@ -1368,6 +1371,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1446,9 +1452,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -793,9 +793,6 @@ Max CSVs
Strict gametype filter
== Szigorú játékmód szűrő
Try fast HTTP map download first
== Próbáljon elősször gyors HTTP letöltést
Use DDRace Scoreboard
== DDRace pontszámtábla használata
@ -1579,6 +1576,9 @@ Export cut as a separate demo
Toggle keyboard shortcuts
==
Menu opened. Press Esc key again to close menu.
==
Weapons
==
@ -1605,3 +1605,6 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==

View file

@ -1090,9 +1090,6 @@ Use current map as background
Show tiles layers from BG map
== Mostra i layer dei tile dalla mappa in sfondo
Try fast HTTP map download first
== Prova un download veloce della mappa con HTTP
DDNet %s is available:
== DDNet %s è disponibile:
@ -1350,6 +1347,9 @@ Markers:
%.2f KiB
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1577,6 +1577,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -1096,9 +1096,6 @@ Show tiles layers from BG map
Regular Background Color
== 普通の背景色
Try fast HTTP map download first
== マップのダウンロードは HTTP を優先にする
New random timeout code
== ランダムにタイムアウト・コードを生成
@ -1355,6 +1352,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1561,6 +1561,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -1123,9 +1123,6 @@ Show tiles layers from BG map
Regular Background Color
== 기본 배경 색상
Try fast HTTP map download first
== 빠른 HTTP 맵 다운로드 우선 시도
New random timeout code
== 새로운 무작위 타임아웃 코드 생성
@ -1614,3 +1611,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
== 동결 레이저 광선 색상
Menu opened. Press Esc key again to close menu.
==
Set all to Rifle
==

View file

@ -904,6 +904,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Connect Dummy
==
@ -1359,6 +1362,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1437,9 +1443,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -999,9 +999,6 @@ Old mouse mode
Show tiles layers from BG map
== Vis tile-lag fra BG-bane
Try fast HTTP map download first
== Forsøk først rask HTTP-nedlasting av bane
DDNet %s is available:
== DDNet %s er tilgjengelig:
@ -1324,6 +1321,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1548,6 +1548,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -963,6 +963,9 @@ Fetch Info
Render
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1325,6 +1328,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1388,9 +1394,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -635,9 +635,6 @@ Show other players' hook collision lines
Show other players' key presses
== Pokazuj naciśnięcia klawiszy innych graczy
Try fast HTTP map download first
== Próbuj najpierw ściągać mapy z serwera HTTP.
Gameplay
== Rozgrywka
@ -1431,6 +1428,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1598,6 +1598,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Extras
==

View file

@ -1163,6 +1163,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Kill
==
@ -1468,6 +1471,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Enable replays
==
@ -1513,9 +1519,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
Run on join
==

View file

@ -919,6 +919,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Connect Dummy
==
@ -1374,6 +1377,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1452,9 +1458,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -1005,9 +1005,6 @@ Show other players' key presses
Show tiles layers from BG map
== Показывать тайловые слои фона
Try fast HTTP map download first
== Быстро загружать карты по HTTP
DDNet %s is available:
== Доступен DDNet %s:
@ -1613,3 +1610,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
== Цвет фриз лазера
Menu opened. Press Esc key again to close menu.
==
Set all to Rifle
==

View file

@ -1034,9 +1034,6 @@ Old mouse mode
Show tiles layers from BG map
== Prikaži slojeve pločica sa BG mape
Try fast HTTP map download first
== Probaj brzi HTTP preuzimač mapa prvo
DDNet %s is available:
== DDNet %s je dostupan:
@ -1583,6 +1580,9 @@ Export cut as a separate demo
Toggle keyboard shortcuts
==
Menu opened. Press Esc key again to close menu.
==
Weapons
==
@ -1609,3 +1609,6 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==

View file

@ -1033,9 +1033,6 @@ Old mouse mode
Show tiles layers from BG map
== Прикажи слојеве плочица са BG мапе
Try fast HTTP map download first
== Пробај брзи HTTP преузимач мапа прво
DDNet %s is available:
== DDNet %s је доступан:
@ -1579,6 +1576,9 @@ Export cut as a separate demo
Toggle keyboard shortcuts
==
Menu opened. Press Esc key again to close menu.
==
Weapons
==
@ -1605,3 +1605,6 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==

View file

@ -765,9 +765,6 @@ Show other players' key presses
Show tiles layers from BG map
== 显示实体层背景地图的图块层
Try fast HTTP map download first
== 优先尝试使用 HTTP 协议快速下载地图
DDNet %s is available:
== DDNet %s 现已可用:
@ -1634,3 +1631,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
== 冻结激光实心颜色
Menu opened. Press Esc key again to close menu.
==
Set all to Rifle
==

View file

@ -910,6 +910,9 @@ Demos directory
Render
==
Menu opened. Press Esc key again to close menu.
==
Connect Dummy
==
@ -1368,6 +1371,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Save the best demo of each race
==
@ -1446,9 +1452,6 @@ Show tiles layers from BG map
Regular Background Color
==
Try fast HTTP map download first
==
New random timeout code
==

View file

@ -1011,9 +1011,6 @@ Old mouse mode
Show tiles layers from BG map
== Mostrar capas de tiles del mapa de fondo
Try fast HTTP map download first
== Intentar primero la descarga rápida de HTTP para mapas
DDNet %s is available:
== DDNet %s está disponible:
@ -1527,6 +1524,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1611,6 +1611,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
Loading assets
==

View file

@ -834,9 +834,6 @@ Are you sure that you want to disconnect your dummy?
Overlay entities
== Overlay entities
Try fast HTTP map download first
== Pröva snabb HTTP bana nedladdning först
Date
== Datum
@ -1378,6 +1375,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1569,6 +1569,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -754,9 +754,6 @@ Show other players' key presses
Show tiles layers from BG map
== 顯示實體層背景地圖的圖塊層
Try fast HTTP map download first
== 優先嘗試用HTTP高速下載地圖
DDNet %s is available:
== DDNet %s 現已可用:
@ -1623,3 +1620,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
== 凍結鐳射實心顔色
Menu opened. Press Esc key again to close menu.
==
Set all to Rifle
==

View file

@ -1008,9 +1008,6 @@ Old mouse mode
Show tiles layers from BG map
== Yapı katmanlarını göster
Try fast HTTP map download first
== Önce HTTP üzerinden haritayı hızlı indirmeyi dene
DDNet %s is available:
== DDNet %s yayınlandı:
@ -1080,6 +1077,9 @@ Auto
Replay
== Yeniden oynatma
https://wiki.ddnet.org/
== https://wiki.ddnet.org/wiki/Main_Page/tr
Saving ddnet-settings.cfg failed
==
@ -1254,6 +1254,9 @@ Loading demo files
Demos directory
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1514,6 +1517,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==
@ -1568,9 +1574,6 @@ Discord
https://ddnet.org/discord
==
https://wiki.ddnet.org/
== https://wiki.ddnet.org/wiki/Main_Page/tr
Tutorial
==

View file

@ -994,9 +994,6 @@ Old mouse mode
Show tiles layers from BG map
== Показувати шари з тайлами з фонової карти
Try fast HTTP map download first
== Намагатися скакачати карту швидко по HTTP
DDNet %s is available:
== Доступний новий DDNet %s:
@ -1361,6 +1358,9 @@ Toggle keyboard shortcuts
Loading demo files
==
Menu opened. Press Esc key again to close menu.
==
Loading ghost files
==
@ -1561,6 +1561,9 @@ Freeze Laser Outline Color
Freeze Laser Inner Color
==
Set all to Rifle
==
When you cross the start line, show a ghost tee replicating the movements of your best time
==

View file

@ -1390,6 +1390,7 @@ int CMenus::Render()
RenderServerControl(MainView);
else if(m_GamePage == PAGE_SETTINGS)
RenderSettings(MainView);
RenderIngameHint();
}
else if(m_MenuPage == PAGE_NEWS)
{

View file

@ -507,6 +507,7 @@ protected:
void RenderServerControl(CUIRect MainView);
bool RenderServerControlKick(CUIRect MainView, bool FilterSpectators);
bool RenderServerControlServer(CUIRect MainView);
void RenderIngameHint();
// found in menus_browser.cpp
int m_SelectedIndex;

View file

@ -1159,3 +1159,12 @@ void CMenus::RenderGhost(CUIRect MainView)
m_pClient->m_Ghost.SaveGhost(pGhost);
}
}
void CMenus::RenderIngameHint()
{
float Width = 300 * Graphics()->ScreenAspect();
Graphics()->MapScreen(0, 0, Width, 300);
TextRender()->TextColor(1, 1, 1, 1);
TextRender()->Text(0x0, 5, 290, 5, Localize("Menu opened. Press Esc key again to close menu."), -1.0f);
UI()->MapScreen();
}