1 #include "monster-floor/monster-lite-util.h"
2 #include "system/grid-type-definition.h"
3 #include "system/monster-entity.h"
4 #include "util/bit-flags-calculator.h"
6 monster_lite_type *initialize_monster_lite_type(BIT_FLAGS grid_info, monster_lite_type *ml_ptr, MonsterEntity *m_ptr)
8 ml_ptr->mon_fx = m_ptr->fx;
9 ml_ptr->mon_fy = m_ptr->fy;
10 ml_ptr->mon_invis = none_bits(grid_info, CAVE_VIEW);