From d45dcb346b5d2475feeb1286464427929cee312f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 21 Apr 2018 12:15:05 +0200 Subject: [PATCH] conformal:: extra_line_steps configurable in menu --- conformal.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conformal.cpp b/conformal.cpp index 6020abd4..f1d3b60e 100644 --- a/conformal.cpp +++ b/conformal.cpp @@ -745,6 +745,7 @@ namespace conformal { if(!bounded && !euclid) dialog::addBoolItem(XLAT("prepare the line animation"), (on), 'e'); if(on) dialog::addSelItem(XLAT("animation speed"), fts(lvspeed), 'a'); + dialog::addSelItem(XLAT("extend the ends"), fts(extra_line_steps), 'p'); #if CAP_SDL dialog::addBoolItem(XLAT("render bands automatically"), (autoband), 'o'); @@ -791,6 +792,11 @@ namespace conformal { dialog::editNumber(bandhalf, 5, 1000, 5, 200, XLAT("band width"), ""); else if(sym == 's') dialog::editNumber(bandsegment, 500, 32000, 500, 16000, XLAT("band segment"), ""); + else if(sym == 'p') + dialog::editNumber(extra_line_steps, 0, 5, 1, 1, XLAT("extend the ends"), + "0 = start at the game start, endat the end position; " + "larger numbers give extra space at the ends." + ); else if(sym == 'g') { dospiral = !dospiral; } else if(sym == 'i') { if(canmove && !cheater) {