summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 463a767)
raw | patch | inline | side by side (parent: 463a767)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 2 Aug 2017 18:42:57 +0000 (21:42 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 2 Aug 2017 18:42:57 +0000 (21:42 +0300) |
src/game/g_language.pas | patch | blob | history | |
src/game/g_menu.pas | patch | blob | history |
index 5f73c2d45667e3345ed201c502ebb89405122ccb..a9049a61eb27376561baac021e02ae15aa93e3b9 100644 (file)
--- a/src/game/g_language.pas
+++ b/src/game/g_language.pas
I_MENU_LOADING,
I_MENU_PLAYER_1,
I_MENU_PLAYER_2,
+ I_MENU_PLAYER_1_KBD,
+ I_MENU_PLAYER_2_KBD,
I_MENU_PLAYER_1_ALT,
I_MENU_PLAYER_2_ALT,
I_MENU_PLAYER_1_WEAPONS,
'Îñòàëîñü %d ñåêóíä äî ñëåäóþùåãî ðàóíäà'),
('MENU LOADING', 'Loading...',
'Çàãðóçêà...'),
- ('MENU PLAYER 1', 'Player 1 KEYBOARD',
+ ('MENU PLAYER 1', 'Player 1',
+ 'Ïåðâûé èãðîê'),
+ ('MENU PLAYER 2', 'Player 2',
+ 'Âòîðîé èãðîê'),
+ ('MENU PLAYER 1 KBD', 'Player 1, keyboard',
'Ïåðâûé èãðîê, êëàâèàòóðà'),
- ('MENU PLAYER 2', 'Player 2 KEYBOARD',
+ ('MENU PLAYER 2 KBD', 'Player 2, keyboard',
'Âòîðîé èãðîê, êëàâèàòóðà'),
('MENU PLAYER 1 ALT', 'Player 1, GAMEPAD',
'Ïåðâûé èãðîê, GAMEPAD'),
diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas
index 2f216ff47182e46907e4e15adde1e95ab30e66c5..678c0a00dc05bbb094fbb02b01c04ca6bd8cb1f6 100644 (file)
--- a/src/game/g_menu.pas
+++ b/src/game/g_menu.pas
AddKeyRead(_lc[I_MENU_CONTROL_CHAT]).Name := _lc[I_MENU_CONTROL_CHAT];
AddKeyRead(_lc[I_MENU_CONTROL_TEAMCHAT]).Name := _lc[I_MENU_CONTROL_TEAMCHAT];
AddSpace();
- AddButton(nil, _lc[I_MENU_PLAYER_1], 'OptionsControlsP1Menu');
+ AddButton(nil, _lc[I_MENU_PLAYER_1_KBD], 'OptionsControlsP1Menu');
AddButton(nil, _lc[I_MENU_PLAYER_1_ALT], 'OptionsControlsP1MenuAlt');
AddButton(nil, _lc[I_MENU_PLAYER_1_WEAPONS], 'OptionsControlsP1MenuWeapons');
- AddButton(nil, _lc[I_MENU_PLAYER_2], 'OptionsControlsP2Menu');
+ AddButton(nil, _lc[I_MENU_PLAYER_2_KBD], 'OptionsControlsP2Menu');
AddButton(nil, _lc[I_MENU_PLAYER_2_ALT], 'OptionsControlsP2MenuAlt');
AddButton(nil, _lc[I_MENU_PLAYER_2_WEAPONS], 'OptionsControlsP2MenuWeapons');
AddSpace();
g_GUI_AddWindow(Menu);
Menu := TGUIWindow.Create('OptionsControlsP1Menu');
- with TGUIMenu(Menu.AddChild(TGUIMenu.Create(gMenuFont, gMenuSmallFont, _lc[I_MENU_PLAYER_1]))) do
+ with TGUIMenu(Menu.AddChild(TGUIMenu.Create(gMenuFont, gMenuSmallFont, _lc[I_MENU_PLAYER_1_KBD]))) do
begin
Name := 'mOptionsControlsP1Menu';
AddKeyRead(_lc[I_MENU_CONTROL_LEFT]).Name := _lc[I_MENU_CONTROL_LEFT];
g_GUI_AddWindow(Menu);
Menu := TGUIWindow.Create('OptionsControlsP2Menu');
- with TGUIMenu(Menu.AddChild(TGUIMenu.Create(gMenuFont, gMenuSmallFont, _lc[I_MENU_PLAYER_2]))) do
+ with TGUIMenu(Menu.AddChild(TGUIMenu.Create(gMenuFont, gMenuSmallFont, _lc[I_MENU_PLAYER_2_KBD]))) do
begin
Name := 'mOptionsControlsP2Menu';
AddKeyRead(_lc[I_MENU_CONTROL_LEFT]).Name := _lc[I_MENU_CONTROL_LEFT];