22 #define DBG_UT LOG_STREAM(debug, log_unit)
std::size_t get_save_id() const
Used for saving id to savegame.
void clear()
Clears id counter after game.
static id_manager manager_
void set_save_id(std::size_t)
unit_id next_id()
returns id for unit that is created
std::string id
Text to match against addon_info.tags()
static lg::log_domain log_unit("unit")
Standard logging facilities (interface).
static unit_id create_fake(std::size_t val)
static unit_id create_real(std::size_t val)
static const std::size_t highest_bit