Skip to content
Snippets Groups Projects
Commit a35525f8 authored by Duane Robertson's avatar Duane Robertson
Browse files

Declare variable.

parent 7d203229
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ local p2data = {} -- vm rotation data buffer
local lightmap = {}
local vm, emin, emax, a, csize, heightmap, biomemap
local div_sz_x, div_sz_z, minp, maxp, terrain, cave
local cloud
local terrain_noise = {offset = 0,
scale = 20, seed = 8829, spread = {x = 40, y = 40, z = 40},
......@@ -265,7 +266,7 @@ function loud_walking.generate(p_minp, p_maxp, seed)
cave_lining = nil
end
print(biome)
--print(biome)
vm:set_lighting({day = 15, night = (biome == "control" and 15 or 0)}, minp, maxp)
lightmap = vm:get_light_data()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment