mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
#59 fix
This commit is contained in:
@@ -1764,7 +1764,10 @@ struct Lara : Character {
|
||||
float ext = angle.y;
|
||||
|
||||
if (input & FORTH) {
|
||||
res = STATE_WALK;
|
||||
if (state == STATE_BACK)
|
||||
res = STATE_STOP;
|
||||
else
|
||||
res = STATE_WALK;
|
||||
} else if (input & BACK) {
|
||||
res = STATE_BACK;
|
||||
ext += PI;
|
||||
|
52
src/ui.h
52
src/ui.h
@@ -194,32 +194,32 @@ namespace UI {
|
||||
mesh->addBar(buffer.indices, buffer.vertices, buffer.iCount, buffer.vCount, type, pos, vec2(size.x * value, size.y), 0xFFFFFFFF);
|
||||
}
|
||||
|
||||
const char *helpText = \
|
||||
"Controls gamepad, touch and keyboard:@"\
|
||||
" H - Show or hide this help@"\
|
||||
" TAB - Inventory@"\
|
||||
" LEFT - Left@"\
|
||||
" RIGHT - Right@"\
|
||||
" UP - Run@"\
|
||||
" DOWN - Back@"\
|
||||
" SHIFT - Walk@"\
|
||||
" SPACE - Draw Weapon@"\
|
||||
" CTRL - Action@"\
|
||||
" ALT - Jump@"\
|
||||
" Z - Step Left@"\
|
||||
" X - Step Right@"\
|
||||
" A - Roll@"\
|
||||
" C - Look # not implemented #@"\
|
||||
" V - First Person View@"
|
||||
" R - slow motion@"\
|
||||
" T - fast motion@"\
|
||||
" ALT + ENTER - Fullscreen@@"\
|
||||
"Actions:@"\
|
||||
" Out of water - Run + Action@"\
|
||||
" Handstand - Run + Walk@"\
|
||||
" Swan dive - Run + Walk + jump@"\
|
||||
" DOZY on - Look + Step Right + Action + Jump@"\
|
||||
" DOZY off - Walk@";
|
||||
const char *helpText =
|
||||
"Controls gamepad, touch and keyboard:@"
|
||||
" H - Show or hide this help@"
|
||||
" TAB - Inventory@"
|
||||
" LEFT - Left@"
|
||||
" RIGHT - Right@"
|
||||
" UP - Run@"
|
||||
" DOWN - Back@"
|
||||
" SHIFT - Walk@"
|
||||
" SPACE - Draw Weapon@"
|
||||
" CTRL - Action@"
|
||||
" ALT - Jump@"
|
||||
" Z - Step Left@"
|
||||
" X - Step Right@"
|
||||
" A - Roll@"
|
||||
" C - Look # not implemented #@"
|
||||
" V - First Person View@"
|
||||
" R - slow motion@"
|
||||
" T - fast motion@"
|
||||
" ALT + ENTER - Fullscreen@@"
|
||||
"Actions:@"
|
||||
" Out of water - Run + Action@"
|
||||
" Handstand - Run + Walk@"
|
||||
" Swan dive - Run + Walk + jump@"
|
||||
" DOZY on - Look + Step Right + Action + Jump@"
|
||||
" DOZY off - Walk@";
|
||||
|
||||
void renderHelp() {
|
||||
if (showHelp)
|
||||
|
Reference in New Issue
Block a user