From 0fc2dc2d65b5c3219f4944589da63fb1ffc97c99 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 21 Oct 2022 11:28:37 +0200 Subject: [PATCH] dialog:: list used in mapeditor --- mapeditor.cpp | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/mapeditor.cpp b/mapeditor.cpp index b120335d..f27ea924 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -1673,10 +1673,12 @@ EX namespace mapeditor { } void showList() { + string caption; dialog::v.clear(); if(painttype == 4) painttype = 0; switch(painttype) { case 0: + caption = "monsters"; for(int i=0; i= '1' && uni <= '9') uni = 1000 + uni - '1'; - if(sym == SDLK_RETURN || sym == SDLK_KP_ENTER || sym == '-' || sym == SDLK_KP_MINUS) uni = 1000; - for(int z=0; z