diff options
author | Yuri Gorshenin <y@maps.me> | 2016-02-12 17:24:30 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:20:48 +0300 |
commit | 0d324767834f7d352af51d02c589e3ca036ff2b0 (patch) | |
tree | fb3796b9cc807346e702545202b2d2581233f006 /search/mode.cpp | |
parent | 31bea55870cd4538b95c02596665fc5b60fc5fc1 (diff) |
[search] Fixed search in world only.
Diffstat (limited to 'search/mode.cpp')
-rw-r--r-- | search/mode.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/search/mode.cpp b/search/mode.cpp new file mode 100644 index 0000000000..59c7eb751b --- /dev/null +++ b/search/mode.cpp @@ -0,0 +1,15 @@ +#include "search/mode.hpp" + +namespace search +{ +string DebugPrint(Mode mode) +{ + switch (mode) + { + case Mode::Viewport: return "Viewport"; + case Mode::Everywhere: return "Everywhere"; + case Mode::World: return "World"; + } + return "Unknown"; +} +} // namespace search |