]> Dogcows Code - chaz/yoink/blobdiff - data/scenes/Classic.lua
repository cleanup
[chaz/yoink] / data / scenes / Classic.lua
index 5709632fc54dfb3b2280375b34204429c299fccf..2d00a67755fd2fd41d7ae2d57beba36e9a3465ac 100644 (file)
@@ -1,10 +1,9 @@
 
--- Scene: Classic Yoink
--- created by Neil Carter
--- converted to Lua by Charles McGarvey
-
-LogInfo("-----", "Scene: Classic", "Created by Neil Carter",
-               "Converted to Lua by Charles McGarvey", "-----")
+LogInfo("-----",
+               "Scene: Classic",
+               "Created by Neil Carter",
+               "Converted to Lua by Charles McGarvey",
+               "-----")
 
 -- Scene API:
 --
@@ -22,11 +21,10 @@ LogInfo("-----", "Scene: Classic", "Created by Neil Carter",
 -- detail - level of detail of the scene (HIGH, MEDIUM, or LOW)
 
 
-SetBounds({-5, 0, -6}, {45, 15, 7})
-
+SetBounds({-5, 0, -6}, {45, 15, 4})
 
 -- Left end tower block
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 -- Front
 
@@ -90,7 +88,7 @@ DrawTilemap({
        3,      3,      3,      3,      3})
 
 -- Leftmost background tower block
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                
 -- Front
 
@@ -140,7 +138,7 @@ if detail > LOW then
 end
 
 -- Foreground building with pitched roof
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                
 -- Left wall
 
@@ -212,7 +210,7 @@ DrawTilemap({
        -1,     -1,     -1})
 
 -- The ground
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                
 -- Courtyard
 
@@ -285,7 +283,7 @@ if detail > MEDIUM then
 end
 
 -- Background building with pitched roof
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                
 -- Front wall
 
@@ -361,7 +359,7 @@ if detail > LOW then
 end
 
 -- More ground to the right
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                
 -- Ground under house
 
@@ -626,7 +624,7 @@ DrawTilemap({
        0,      1,      1,      1,      1,      1,      1,      -1,     -1,     -1})
 
 -- Right foreground tower block
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                
 -- Front
 
@@ -691,7 +689,7 @@ DrawTilemap({
        3,      3,      3,      3,      3})
 
 -- Right end tower block
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 -- Front
 
@@ -754,10 +752,10 @@ DrawTilemap({
        3,      3,      3,      3,      3})
 
 -- Background
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 ResetTransform()
-Translate(-0.32, -0.28, -27)
+Translate(-0.3, -0.3, -35)
 Scale(105, 52, 1)
 SetTexture("BackgroundFar")
 DrawTile()
@@ -769,7 +767,7 @@ DrawTile({
 })
 
 -- Trees
--- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 SetTexture("Trees")
 
This page took 0.02433 seconds and 4 git commands to generate.