1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 06:33:19 +00:00

edge display uses cellshape

This commit is contained in:
Zeno Rogue 2020-05-26 00:02:52 +02:00
parent e6743fc478
commit 0c33e303a2

View File

@ -341,8 +341,8 @@ auto hchook = addHook(hooks_drawcell, 100, draw_bird)
patterns::rwalls = 100;
mapeditor::drawplayer = false;
start_game();
if(!euclid)
println(hlog, "edge = ", hdist(cgi.vertices_only[0], cgi.vertices_only[1]) * 10000 / 44100);
if(!cgi.cellshape.empty())
println(hlog, "edge = ", hdist(cgi.cellshape[0], cgi.cellshape[1]));
/* Doppler effect is weird if scrolling if not smooth */
smooth_scrolling = true;
/* disable the frustum culling (we need sound from every direction) */