Fix up Gameflow.lua, Settings.lua and Strings.lua.

This commit is contained in:
hispidence 2022-02-13 20:38:55 +00:00
parent 5d172459f1
commit e2a40fe42e
3 changed files with 26 additions and 18 deletions

View file

@ -1,9 +1,11 @@
-- TR5Main engine settings file
-- Created by MontyTRC
-- Place in this LUA script all the engine settings for your game
-- Place in this Lua script all the engine settings for your game
-- WARNING: bad values could make your game unplayable, please follow with attention the reference guide
local settings = Settings.new();
local Flow = TEN.Flow
local settings = Flow.Settings.new();
settings.screenWidth = 1920;
settings.screenHeight = 1080;
settings.enableDynamicShadows = true;
@ -13,9 +15,9 @@ settings.drawingDistance = 102400;
settings.showRendererSteps = false;
settings.showDebugInfo = true;
settings.errorMode = ErrorMode.WARN;
SetSettings(settings);
Flow.SetSettings(settings);
local anims = Animations.new();
local anims = Flow.Animations.new();
anims.crawlExtended = true;
anims.crouchRoll = true;
anims.crawlspaceSwandive = true;
@ -23,4 +25,4 @@ anims.monkeyTurn180 = true;
anims.monkeyAutoJump = false;
anims.oscillateHang = true;
anims.pose = false;
SetAnimations(anims);
Flow.SetAnimations(anims);