mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-17 11:38:05 +00:00
moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
// Copyright (C) 2011-2018 Zeno Rogue, see 'hyper.cpp' for details
|
||||
|
||||
namespace hr {
|
||||
|
||||
int gp_threecolor() {
|
||||
if(!gp::on) return 0;
|
||||
if((gp::param.first - gp::param.second) % 3 == 0) return 2;
|
||||
@@ -2011,3 +2013,4 @@ int val46(cell *c) {
|
||||
return si.id;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user