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/core/func.cc | |
parent | 8c6a1a404ac8d1589a37d54b3b7ce0d776fe4751 (diff) |
cosmetic updates in engine list functions, trade menu updates
Diffstat (limited to 'src/core/func.cc')
-rw-r--r-- | src/core/func.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/func.cc b/src/core/func.cc index 4072f39..aa49f17 100644 --- a/src/core/func.cc +++ b/src/core/func.cc @@ -108,8 +108,7 @@ Func *Func::find(const std::string &name) void Func::list() { Registry::iterator it; - con_print << "Flags: G=Game S=Shared" << std::endl; - + for (it = func_registry.begin(); it != func_registry.end(); it++) { std::string typeindicator; if (((*it).second->flags() & Game) == Game) @@ -122,8 +121,8 @@ void Func::list() typeindicator += ' '; con_print << " " << typeindicator << " " << (*it).second->name() << " " << (*it).second->info() << std::endl; } - - con_print << func_registry.size() << " registered functions" << std::endl; + con_print << "Flags: G=Game S=Shared" << std::endl; + con_print << "^B " << func_registry.size() << " registered functions" << std::endl; } /* ---- Func ------------------------------------------------------ */ |