1 #include "monster-floor/monster-lite-util.h"
3 #include "system/floor-type-definition.h"
4 #include "system/monster-type-definition.h"
6 monster_lite_type *initialize_monster_lite_type(floor_type *floor_ptr, monster_lite_type *ml_ptr, monster_type *m_ptr)
8 ml_ptr->mon_fx = m_ptr->fx;
9 ml_ptr->mon_fy = m_ptr->fy;
10 ml_ptr->mon_invis = !(floor_ptr->grid_array[ml_ptr->mon_fy][ml_ptr->mon_fx].info & CAVE_VIEW);