tests/lua/hellfire_burns.lua
changeset 12602 a9a7ef966e72
parent 10611 58cad46782ff
equal deleted inserted replaced
12601:726b1edfc511 12602:a9a7ef966e72
     4 
     4 
     5 local sqrttwo = math.sqrt(2)
     5 local sqrttwo = math.sqrt(2)
     6 
     6 
     7 -- creates round test area
     7 -- creates round test area
     8 function AddTestArea(testarea)
     8 function AddTestArea(testarea)
     9 	step = 100
     9 	step = 90
    10 	xstep = step * testarea["xdir"]
    10 	xstep = step * testarea["xdir"]
    11 	ystep = step * testarea["ydir"]
    11 	ystep = step * testarea["ydir"]
    12 	x = testarea["x"]
    12 	x = testarea["x"]
    13 	y = testarea["y"]
    13 	y = testarea["y"]
    14 	if xstep * ystep ~= 0 then
    14 	if xstep * ystep ~= 0 then