editor preview titled messages
This commit is contained in:
@@ -107,12 +107,10 @@ namespace{
|
||||
.no_preview();
|
||||
node_properties_t S_REST = node_builder_t(eSpecType::REST)
|
||||
.msg();
|
||||
// TODO implement preview
|
||||
node_properties_t S_MSG_TITLE = node_builder_t(eSpecType::TITLED_MSG)
|
||||
.msg()
|
||||
.msg3(eSpecPicker::MSG_SINGLE)
|
||||
.pic()
|
||||
.no_preview();
|
||||
.pic();
|
||||
node_properties_t S_END_SCEN = node_builder_t(eSpecType::END_SCENARIO)
|
||||
.no_preview();
|
||||
node_properties_t S_SETPTR = node_builder_t(eSpecType::SET_POINTER)
|
||||
|
@@ -841,6 +841,11 @@ static bool preview_spec_enc_dlog(cDialog& me, std::string item_hit, cSpecial& s
|
||||
case eSpecType::ONCE_DIALOG:
|
||||
once_dialog(univ, special, cur_type, &me);
|
||||
break;
|
||||
case eSpecType::TITLED_MSG:
|
||||
univ.get_str(title, cur_type, special.m3);
|
||||
pic_type = ePicType(special.pictype);
|
||||
pic = special.pic;
|
||||
BOOST_FALLTHROUGH;
|
||||
default:{
|
||||
std::string str1;
|
||||
std::string str2;
|
||||
|
Reference in New Issue
Block a user