aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/stars_shader
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-01-29 15:24:07 +0100
committersfan5 <sfan5@live.de>2021-02-02 20:46:08 +0100
commit674d67f312c815e7f10dc00705e352bc392fc2af (patch)
tree7d6d0567b2f557d1487ce90384121d8ff5e31e1c /client/shaders/stars_shader
parentc834d2ab25694ef2d67dc24f85f304269d202c8e (diff)
downloadminetest-674d67f312c815e7f10dc00705e352bc392fc2af.tar.gz
minetest-674d67f312c815e7f10dc00705e352bc392fc2af.tar.bz2
minetest-674d67f312c815e7f10dc00705e352bc392fc2af.zip
Encode high codepoints as surrogates to safely transport wchar_t over network
fixes #7643
Diffstat (limited to 'client/shaders/stars_shader')
0 files changed, 0 insertions, 0 deletions
lace_degrotate(pos, placer, itemstack, pointed_thing) local yaw = placer:get_look_horizontal() local param = math.floor(yaw * 90 / math.pi + 0.5) local n = minetest.get_node(pos) n.param2 = param minetest.set_node(pos, n) end minetest.register_node("advtrains_signals_ks:mast", { drawtype = "mesh", paramtype="light", paramtype2="degrotate", walkable = false, selection_box = { type = "fixed", fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4}, }, mesh = "advtrains_signals_ks_mast.obj", tiles = {"advtrains_signals_ks_mast.png"}, description="Ks Signal Mast", sunlight_propagates=true, groups = { cracky=3, not_blocking_trains=1, --save_in_at_nodedb=2, }, after_place_node = place_degrotate, }) minetest.register_node("advtrains_signals_ks:head_main", { drawtype = "mesh", paramtype="light", paramtype2="degrotate", walkable = false, selection_box = { type = "fixed", fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4}, }, mesh = "advtrains_signals_ks_head_main.obj", tiles = {"advtrains_signals_ks_mast.png", "advtrains_signals_ks_head.png"}, description="Ks Main Signal Screen", sunlight_propagates=true, groups = { cracky=3, not_blocking_trains=1, --save_in_at_nodedb=2, }, after_place_node = place_degrotate, }) minetest.register_node("advtrains_signals_ks:zs_top", { drawtype = "mesh", paramtype="light", paramtype2="degrotate", walkable = false, selection_box = { type = "fixed", fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4}, }, mesh = "advtrains_signals_ks_zs_top.obj", tiles = {"advtrains_signals_ks_mast.png", "advtrains_signals_ks_head.png"}, description="Ks Speed Restriction Signal (top)", sunlight_propagates=true, groups = { cracky=3, not_blocking_trains=1, --save_in_at_nodedb=2, }, after_place_node = place_degrotate, }) minetest.register_node("advtrains_signals_ks:zs_bottom", { drawtype = "mesh", paramtype="light", paramtype2="degrotate", walkable = false, selection_box = { type = "fixed", fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4}, }, mesh = "advtrains_signals_ks_zs_bottom.obj", tiles = {"advtrains_signals_ks_mast.png", "advtrains_signals_ks_head.png"}, description="Ks Speed Restriction Signal (bottom)", sunlight_propagates=true, groups = { cracky=3, not_blocking_trains=1,