aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiButtonImage.cpp
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2020-08-25 19:50:41 +0100
committerGitHub <noreply@github.com>2020-08-25 20:50:41 +0200
commitb262184acf34896f36b4270aba29546fc5b0e65b (patch)
tree701d5c80f5426f39f31aa8eb9483a5a8144afe63 /src/gui/guiButtonImage.cpp
parent44c98089cf923fda924902bceec4edb01f36ce2c (diff)
downloadminetest-b262184acf34896f36b4270aba29546fc5b0e65b.tar.gz
minetest-b262184acf34896f36b4270aba29546fc5b0e65b.tar.bz2
minetest-b262184acf34896f36b4270aba29546fc5b0e65b.zip
NetBSD build fix proposal. (#10308)
Fixing thread naming call and let the class setting RANDOM_MIN/RANDOM_MAX.
Diffstat (limited to 'src/gui/guiButtonImage.cpp')
0 files changed, 0 insertions, 0 deletions
ss="hl opt">.type=="node" then for x=-1,1 do for y=-1,1 do for z=-1,1 do minetest.remove_node(vector.add(pointed_thing.under, {x=x, y=y, z=z})) end end end end end, } ) minetest.register_chatcommand("atyaw", { params = "angledeg conn1 conn2", description = "", func = function(name, param) local angledegs, conn1s, conn2s = string.match(param, "^(%S+)%s(%S+)%s(%S+)$") if angledegs and conn1s and conn2s then local angledeg, conn1, conn2 = angledegs+0,conn1s+0,conn2s+0 local yaw = angledeg*math.pi/180 local yaw1 = advtrains.dir_to_angle(conn1) local yaw2 = advtrains.dir_to_angle(conn2) local adiff1 = advtrains.minAngleDiffRad(yaw, yaw1) local adiff2 = advtrains.minAngleDiffRad(yaw, yaw2)