mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
edge display uses cellshape
This commit is contained in:
parent
e6743fc478
commit
0c33e303a2
@ -341,8 +341,8 @@ auto hchook = addHook(hooks_drawcell, 100, draw_bird)
|
|||||||
patterns::rwalls = 100;
|
patterns::rwalls = 100;
|
||||||
mapeditor::drawplayer = false;
|
mapeditor::drawplayer = false;
|
||||||
start_game();
|
start_game();
|
||||||
if(!euclid)
|
if(!cgi.cellshape.empty())
|
||||||
println(hlog, "edge = ", hdist(cgi.vertices_only[0], cgi.vertices_only[1]) * 10000 / 44100);
|
println(hlog, "edge = ", hdist(cgi.cellshape[0], cgi.cellshape[1]));
|
||||||
/* Doppler effect is weird if scrolling if not smooth */
|
/* Doppler effect is weird if scrolling if not smooth */
|
||||||
smooth_scrolling = true;
|
smooth_scrolling = true;
|
||||||
/* disable the frustum culling (we need sound from every direction) */
|
/* disable the frustum culling (we need sound from every direction) */
|
||||||
|
Loading…
Reference in New Issue
Block a user