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:
2015-06-03 19:50:00 -04:00
parent 1b754619dc
commit a51ab021f4
16 changed files with 233 additions and 66 deletions

View File

@@ -16,6 +16,7 @@ extern eGameMode overall_mode;
extern eGameMode store_pre_shop_mode, store_pre_talk_mode;
extern location center;
extern cUniverse univ;
extern bool cartoon_happening;
location light_locs[40];
short num_lights = 0;
@@ -56,7 +57,7 @@ bool is_out() {
}
bool is_town() {
if(((overall_mode > MODE_OUTDOORS) && (overall_mode < MODE_COMBAT)) || (overall_mode == MODE_LOOK_TOWN))
if((overall_mode > MODE_OUTDOORS && overall_mode < MODE_COMBAT) || overall_mode == MODE_LOOK_TOWN || cartoon_happening)
return true;
else if(overall_mode == MODE_SHOPPING) {
std::swap(overall_mode, store_pre_shop_mode);