# Maximum y size of the wilderness
M:WY:66
-
-# Maximum size for "o_list[]"
-M:O:1024
-
-# Maximum size for "m_list[]"
-M:M:1024
return true;
}
- if (zz[0][0] == 'O') {
- w_ptr->max_o_idx = (OBJECT_IDX)atoi(zz[1]);
- } else if (zz[0][0] == 'M') {
- w_ptr->max_m_idx = (MONSTER_IDX)atoi(zz[1]);
- } else if (zz[0][0] == 'W') {
+ if (zz[0][0] == 'W') {
if (zz[0][1] == 'X') {
w_ptr->max_wild_x = (POSITION)atoi(zz[1]);
}
bool wizard{}; /* This world under wizard mode */
- OBJECT_IDX max_o_idx{}; /*!< Maximum number of objects in the level */
- MONSTER_IDX max_m_idx{}; /*!< Maximum number of monsters in the level */
+ OBJECT_IDX max_o_idx = 1024; /*!< 1フロアに存在可能な最大アイテム数 */
+ MONSTER_IDX max_m_idx = 1024; /*!< 1フロアに存在可能な最大モンスター数 */
};
extern world_type *w_ptr;