# Maximum number of towns
M:T:7
-# Maximum number of quests
-M:Q:100
-
# Maximum x size of the wilderness
M:WX:99
#include "world/world.h"
std::map<QuestId, quest_type> quest_map; /*!< Quest info */
-int16_t max_q_idx; /*!< Maximum number of quests */
char quest_text[10][80]; /*!< Quest text */
int quest_text_line; /*!< Current line of the quest text */
QuestId leaving_quest = QuestId::NONE;
};
extern std::map<QuestId, quest_type> quest_map;
-extern int16_t max_q_idx;
extern char quest_text[10][80];
extern int quest_text_line;
extern QuestId leaving_quest;
if (zz[0][0] == 'T') {
max_towns = static_cast<int16_t>(atoi(zz[1]));
- } else if (zz[0][0] == 'Q') {
- max_q_idx = (int16_t)atoi(zz[1]);
} else if (zz[0][0] == 'O') {
w_ptr->max_o_idx = (OBJECT_IDX)atoi(zz[1]);
} else if (zz[0][0] == 'M') {