Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yura
engine
Commits
eedd2899
Commit
eedd2899
authored
Dec 14, 2018
by
Byurrrer
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' of
https://dev.ds-servers.com/sip/engine
into dev
parents
53a381b7
8c02875f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/gamesource/config/game/controls.cfg
+60
-0
60 additions, 0 deletions
build/gamesource/config/game/controls.cfg
source/game/GameData.cpp
+1
-1
1 addition, 1 deletion
source/game/GameData.cpp
with
61 additions
and
1 deletion
build/gamesource/config/game/controls.cfg
0 → 100644
+
60
−
0
View file @
eedd2899
[section_0]
__name__
=
Движение
cmd_0
=
+forward
txt_0
=
Вперед
cmd_1
=
+backward
txt_1
=
Назад
cmd_2
=
+left
txt_2
=
Шаг влево
cmd_3
=
+right
txt_3
=
Шаг вправо
cmd_4
=
+boost
txt_4
=
Бег
cmd_5
=
+jump
txt_5
=
Прыжок
cmd_6
=
crouch_toggle
txt_6
=
Приседание (нажать)
cmd_7
=
+crouch
txt_7
=
Приседание (удерживать)
cmd_8
=
crawl_toggle
txt_8
=
Лечь (нажать)
cmd_9
=
+crawl
txt_9
=
Лечь (удерживать)
[section_1]
__name__
=
Бой
cmd_0
=
+attack
txt_0
=
Стрельба
cmd_1
=
+attack2
txt_1
=
Прицел / Альтернативный огонь
cmd_2
=
reload
txt_2
=
Перезарядка
cmd_3
=
switch_firemode
txt_3
=
Режим огня
[section_2]
__name__
=
Разное
cmd_0
=
+use
txt_0
=
Действие
cmd_1
=
flashlight
txt_1
=
Фонарь
This diff is collapsed.
Click to expand it.
source/game/GameData.cpp
+
1
−
1
View file @
eedd2899
...
...
@@ -367,7 +367,7 @@ GameData::GameData(HWND hWnd, bool isGame):
StringW
sLevelName
=
ev
->
target
->
getAttribute
(
L"level_name"
);
if
(
ev
->
target
->
getAttribute
(
L"has_preview"
)[
0
]
==
L'1'
)
{
StringW
sPreview
=
StringW
(
L"../../levels/"
)
+
sLevelName
+
L"/preview.
png
"
;
StringW
sPreview
=
StringW
(
L"../../levels/"
)
+
sLevelName
+
L"/preview.
bmp
"
;
pNode
->
getStyleSelf
()
->
background_image
->
set
(
sPreview
);
}
else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment