Remove unused shader, clean up scripts

This commit is contained in:
Lwmte 2022-08-04 05:23:56 +03:00
parent 1174cdb695
commit c519c0029f
7 changed files with 41 additions and 2128 deletions

View file

@ -9,35 +9,34 @@ local InventoryItem = Flow.InventoryItem
local InvID = Flow.InvID
local RotationAxis = Flow.RotationAxis
local ItemAction = Flow.ItemAction
local Fog = Flow.Fog
Flow.SetIntroImagePath("Screens\\Main.png")
Flow.SetTitleScreenImagePath("Screens\\Title.jpg")
Flow.SetFarView(80)
-- Title level
Flow.SetIntroImagePath("Screens\\Main.png")
Flow.SetTitleScreenImagePath("Screens\\Title.png")
Flow.SetFarView(210)
title = Level.new();
title = Level.new()
title.ambientTrack = "108_A8_Coastal";
title.levelFile = "Data\\title.ten";
title.scriptFile = "Scripts\\title.lua";
title.loadScreenFile = "Screens\\rome.jpg";
title.ambientTrack = "108_A8_Coastal"
title.levelFile = "Data\\title.ten"
title.scriptFile = "Scripts\\title.lua"
title.loadScreenFile = "Screens\\Main.png"
Flow.AddLevel(title);
Flow.AddLevel(title)
-- Test
test = Level.new();
-- First test level
test = Level.new()
test.nameKey = "level_andrea1";
test.scriptFile = "Scripts\\andrea1.lua";
test.ambientTrack = "108_A8_Coastal";
test.levelFile = "Data\\luatest.ten";
test.loadScreenFile = "Screens\\rome.jpg";
test.weather = 1;
test.weatherStrength = 1;
test.nameKey = "level_andrea1"
test.scriptFile = "Scripts\\andrea1.lua"
test.ambientTrack = "108_A8_Coastal"
test.levelFile = "Data\\andrea1.ten"
test.loadScreenFile = "Screens\\rome.jpg"
test.weather = 0
test.weatherStrength = 1
test.horizon = true
test.farView = 10
test.colAddHorizon = true
test.farView = 80
test.layer1 = Flow.SkyLayer.new(Color.new(255, 0, 0), 15)
test.objects = {
@ -92,7 +91,6 @@ test.objects = {
-1,
ItemAction.USE
)
}
};
Flow.AddLevel(test);
Flow.AddLevel(test)