Add two new special nodes for cutscenes
- Node to change a monster's location (also works on party members) - Node to temporarily place text on the map - Fix the "lift fog" node - Remove the optimization of only redrawing a terrain space if it has changed
This commit is contained in:
@@ -343,6 +343,9 @@ short choose_text(eStrType list, unsigned short cur_choice, cDialog* parent, std
|
||||
"Magic Resistance", "Fire Resistance", "Cold Resistance", "Poison Resistance",
|
||||
};
|
||||
break;
|
||||
case STRT_POS_MODE:
|
||||
strings = {"Absolute Position", "Move Southeast", "Move Southwest", "Move Northwest", "Move Northeast"};
|
||||
break;
|
||||
}
|
||||
if(cur_choice < 0 || cur_choice >= strings.size())
|
||||
cur_choice = -1;
|
||||
@@ -807,6 +810,7 @@ static bool edit_spec_enc_value(cDialog& me, std::string item_hit, node_stack_t&
|
||||
case '&': strt = STRT_SHOP; title = "Which shop?"; break;
|
||||
case '%': strt = STRT_COST_ADJ; title = "What cost adjust?"; break;
|
||||
case '*': strt = STRT_CONTEXT; title = "What context?"; break;
|
||||
case '^': strt = STRT_POS_MODE; title = "Select positioning mode:"; break;
|
||||
case ':': strt = STRT_STAIR_MODE; title = "Select trigger limitations:"; break;
|
||||
case 'w': strt = STRT_STATUS; title = "Select status:"; str_adj = 1; break;
|
||||
case 'j': strt = STRT_QUEST; title = "Select a quest:"; break;
|
||||
|
@@ -12,7 +12,7 @@ enum eStrType {
|
||||
STRT_SHOP, STRT_COST_ADJ, STRT_STAIR_MODE, STRT_TALK_NODE,
|
||||
STRT_STATUS, STRT_SPELL_PAT, STRT_SUMMON, STRT_TALK,
|
||||
STRT_ENCHANT, STRT_DIR, STRT_QUEST, STRT_QUEST_STATUS,
|
||||
STRT_HEALING, STRT_TREASURE, STRT_MONST_STAT,
|
||||
STRT_HEALING, STRT_TREASURE, STRT_MONST_STAT, STRT_POS_MODE,
|
||||
};
|
||||
|
||||
bool cre(short val,short min,short max,std::string text1,std::string text2,cDialog* parent) ;
|
||||
|
Reference in New Issue
Block a user