24 #define ERR_NG LOG_STREAM(err, log_engine)
34 ERR_NG <<
"In fake_unit_manager::place_temporary_unit: attempt to add duplicate fake unit." << std::endl;
53 u->anim_comp().clear_haloes();
56 ERR_NG <<
"Error: duplicate temp unit found in fake_unit_manager::remove_temporary_unit" << std::endl;
bool invalidate(const map_location &loc)
Function to invalidate a specific tile for redrawing.
static lg::log_domain log_engine("engine")
int remove_temporary_unit(internal_ptr_type)
Deregister a unit from this manager.
std::deque< internal_ptr_type > fake_units_
collection of units destined to be drawn but not put into the unit map
map_display and display: classes which take care of displaying the map and game-data on the screen...
unit const * internal_ptr_type
display & my_display_
Reference to my display. The display owns me in a scoped_ptr, so this should never be a dangling refe...
void place_temporary_unit(internal_ptr_type)
Register a unit with this manager.
bool find(E event, F functor)
Tests whether an event handler is available.
Standard logging facilities (interface).
const std::string remove
remove directive