mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-18 12:12:05 +00:00
synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too
This commit is contained in:
@@ -133,4 +133,15 @@ bool appears(const string& haystack, const string& needle) {
|
||||
return haystack.find(needle) != string::npos;
|
||||
}
|
||||
|
||||
/* indenter */
|
||||
|
||||
int current_indentation;
|
||||
|
||||
struct indenter {
|
||||
indenter() { current_indentation += 2; }
|
||||
~indenter() { current_indentation -= 2; }
|
||||
};
|
||||
|
||||
void doindent() { for(int i=0; i<current_indentation; i++) printf(" "); }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user