diff options
author | Stijn Buys <ingar@osirion.org> | 2009-11-15 14:20:13 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-11-15 14:20:13 +0000 |
commit | 89c0bc88bd4ebdc44dfb99235609c90e968af533 (patch) | |
tree | 1f381edf91aff4da09ea3b1515107dd20c19a71e /src/core/zone.cc | |
parent | b513c7d9bf6fba4a26e734ce405996f665d9c835 (diff) |
added core::Info id, changed network info message, updated entity network message to include the info id
Diffstat (limited to 'src/core/zone.cc')
-rw-r--r-- | src/core/zone.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/zone.cc b/src/core/zone.cc index 49b20d5..ab38b1b 100644 --- a/src/core/zone.cc +++ b/src/core/zone.cc @@ -135,14 +135,11 @@ Zone::~Zone() void Zone::print() { - con_print << "id: ^B" << id() << " ^Nlabel: ^B" << label() << " ^Nname: ^B" << name() << std::endl; + con_print << "id ^B" << id() << " ^Nlabel ^B" << label() << " ^Nname ^B" << name() << std::endl; + Entity::list_header(); for (Content::iterator it = zone_content.begin(); it != zone_content.end(); it++) { Entity *entity = (*it); - con_print << " id " << std::setw(4) << entity->id() - << " type " << std::setw(4) << entity->type() - << ":" << std::setw(4) << entity->moduletype() - << " " << std::setw(24) << entity->label() - << " ^B" << entity->name() << "^N" << std::endl; + Entity::list(entity); } con_print << zone_content.size() << " registered zone entities" << std::endl; } |