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