00001 #ifndef LOSGLOBAL_H 00002 #define LOSGLOBAL_H 00003 00004 enum los_type 00005 { 00006 LOS_DEFAULT = (1 << 0), 00007 LOS_NO_TRANS = (1 << 1), 00008 LOS_FLAG_INVALID = (1 << 7), // internal use 00009 LOS_ARENA = LOS_FLAG_INVALID, // hack 00010 }; 00011 00012 void invalidate_los_around(const coord_def& p); 00013 void invalidate_los(); 00014 00015 bool cell_see_cell(const coord_def& p, const coord_def& q, los_type l); 00016 00017 #endif