Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-05 10:17:39 +0000
committerStijn Buys <ingar@osirion.org>2008-07-05 10:17:39 +0000
commite5aada2bf01e51753829215c0a3035aa8bd8135a (patch)
tree65d7f5145334db1be780f177b93feb054f35cc82 /src/core/func.cc
parent68e4bbe3153f45139031a614541b2ccd80dd5526 (diff)
ncurses updates, refactored say
Diffstat (limited to 'src/core/func.cc')
-rw-r--r--src/core/func.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/func.cc b/src/core/func.cc
index 27c46a0..ad25426 100644
--- a/src/core/func.cc
+++ b/src/core/func.cc
@@ -81,7 +81,7 @@ Func *Func::find(const std::string &name)
void Func::list()
{
std::map<std::string, Func*>::iterator it;
- con_print << "Flags: G=Game" << std::endl;
+ con_print << "Flags: G=Game S=Shared" << std::endl;
for (it = registry.begin(); it != registry.end(); it++) {
std::string typeindicator;
@@ -89,6 +89,10 @@ void Func::list()
typeindicator += 'G';
else
typeindicator += ' ';
+ if (((*it).second->flags() & Shared) == Shared)
+ typeindicator += 'S';
+ else
+ typeindicator += ' ';
con_print << " " << typeindicator << " " << (*it).second->name() << " " << (*it).second->info() << std::endl;
}