25 #define ERR_NG LOG_STREAM(err, log_engine)
35 ERR_NG <<
"In fake_unit_manager::place_temporary_unit: attempt to add duplicate fake unit.";
52 u->anim_comp().clear_haloes();
55 ERR_NG <<
"Error: duplicate temp unit found in fake_unit_manager::remove_temporary_unit";
bool invalidate(const map_location &loc)
Function to invalidate a specific tile for redrawing.
display & my_display_
Reference to my display.
std::deque< internal_ptr_type > fake_units_
collection of units destined to be drawn but not put into the unit map
void place_temporary_unit(internal_ptr_type)
Register a unit with this manager.
int remove_temporary_unit(internal_ptr_type)
Deregister a unit from this manager.
unit const * internal_ptr_type
map_display and display: classes which take care of displaying the map and game-data on the screen.
static lg::log_domain log_engine("engine")
Standard logging facilities (interface).
std::size_t erase(Container &container, const Value &value)
Convenience wrapper for using std::remove on a container.