moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library

This commit is contained in:
Zeno Rogue committed 2018-06-11 01:58:31 +02:00
1 parent c2e3ed54f0
commit 4c619e60dd
68 files changed
+735 -539

No files matched your search

+3
View File
@@ -3,6 +3,8 @@
// basic utility functions
namespace hr {
long double sqr(long double x) { return x*x; }
string its(int i) { char buf[64]; sprintf(buf, "%d", i); return buf; }
string fts(float x) { char buf[64]; sprintf(buf, "%4.2f", x); return buf; }
@@ -114,3 +116,4 @@ void profile_info() {
int whateveri, whateveri2;
purehookset hooks_tests;
}