diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-18 13:25:37 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-18 13:25:37 +0000 |
commit | fc4809e41bc5694231046eb2fd4c324c4daba13f (patch) | |
tree | 02f183a0779aa0457e13f42037f3631ea28b7b65 /src/model | |
parent | 8c6a1a404ac8d1589a37d54b3b7ce0d776fe4751 (diff) |
cosmetic updates in engine list functions, trade menu updates
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/model.cc | 5 | ||||
-rw-r--r-- | src/model/vertexarray.cc | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/model/model.cc b/src/model/model.cc index 5ba4deb..7552b07 100644 --- a/src/model/model.cc +++ b/src/model/model.cc @@ -172,11 +172,12 @@ void Model::list() list_model((*mit).second); } - con_print << model_registry.size() << " registered models" << std::endl; - + if (VertexArray::instance()) { VertexArray::instance()->info(); } + + con_print << "^B " << model_registry.size() << " registered models" << std::endl; } } diff --git a/src/model/vertexarray.cc b/src/model/vertexarray.cc index 861090c..67a13aa 100644 --- a/src/model/vertexarray.cc +++ b/src/model/vertexarray.cc @@ -163,8 +163,7 @@ void VertexArray::info() { con_print << " vertex array " << vertex_index / mbfl << "/" << vertex_size / mbfl << "Mib " << vertex_index / 8 << "/" << vertex_size / 8 << " verts " - << vertex_index * 100 / vertex_size << "% used" - << std::endl; + << "^B" << vertex_index * 100 / vertex_size << "%^N used" << std::endl; } } |