21 #define DBG_UT LOG_STREAM(debug, log_unit)
52 DBG_UT <<
"set save id: " <<
id <<
"\n";
static unit_id create_real(size_t val)
size_t get_save_id() const
Used for saving id to savegame.
unit_id next_id()
returns id for unit that is created
void clear()
Clears id counter after game.
static id_manager manager_
static lg::log_domain log_unit("unit")
Standard logging facilities (interface).
static unit_id create_fake(size_t val)
static const size_t highest_bit