Improve nag display

This commit is contained in:
Loic Guegan 2022-12-30 13:35:01 +01:00
parent 98e31a2c11
commit 109a1bd697
2 changed files with 41 additions and 3 deletions

View file

@ -217,7 +217,45 @@ std::string GameTabRightPanel::GetNagFromStr(std::string str){
// TODO: Bind more NAG!
if(str=="!")
return "$1";
if(str=="?")
else if(str=="?")
return "$2";
else if(str=="!!")
return "$3";
else if(str=="??")
return "$4";
else if(str=="!?")
return "$5";
else if(str=="?!")
return "$6";
else if(str=="=")
return "$10";
else if(str=="")
return "$13";
else if(str=="")
return "$14";
else if(str=="")
return "$15";
else if(str=="±")
return "$16";
else if(str=="")
return "$17";
else if(str=="+-")
return "$18";
else if(str=="-+")
return "$19";
else if(str=="")
return "$22";
else if(str=="")
return "$26";
else if(str=="")
return "$32";
else if(str=="")
return "$36";
else if(str=="")
return "$40";
else if(str=="")
return "$44";
else if(str=="")
return "$138";
return "";
}
}

View file

@ -122,7 +122,7 @@ void EditorCanvas::DrawElement(const cgeditor::Element &e) {
else if(text=="$13")
text="";
else if(text=="$14")
text=" ";
text="";
else if(text=="$15")
text="";
else if(text=="$16")