mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +00:00
rogueviz:: dftcolor is now colorpair, not int
This commit is contained in:
parent
1a744ffc6b
commit
5965a622b5
@ -220,7 +220,7 @@ void storeall(int from) {
|
||||
vdata[i].m->store();
|
||||
}
|
||||
|
||||
int dftcolor = 0x282828FF;
|
||||
colorpair dftcolor = 0x282828FF;
|
||||
|
||||
namespace spiral {
|
||||
|
||||
@ -1461,7 +1461,8 @@ void drawExtra() {
|
||||
bool draw = true;
|
||||
for(int i=0; i<isize(named); i++) if(named[i] == c) draw = false;
|
||||
if(draw && gmatrix.count(c))
|
||||
queuepolyat(it->second, shDisk, dftcolor, PPR::LINE);
|
||||
queuedisk(it->second, dftcolor, false, NULL);
|
||||
// queuepolyat(it->second, shDisk, dftcolor., PPR::LINE);
|
||||
}
|
||||
|
||||
for(int i=0; i<isize(named); i++) if(gmatrix.count(named[i])) {
|
||||
@ -1621,7 +1622,7 @@ int readArgs() {
|
||||
// options before reading
|
||||
if(0) ;
|
||||
else if(argis("-dftcolor")) {
|
||||
shift(); dftcolor = arghex();
|
||||
shift(); dftcolor = parse(args());
|
||||
}
|
||||
|
||||
// tree visualizer (e.g. Tree of Life)
|
||||
|
@ -104,7 +104,7 @@ namespace rogueviz {
|
||||
void run_snub(int v, int w);
|
||||
}
|
||||
|
||||
extern int dftcolor;
|
||||
extern colorpair dftcolor;
|
||||
namespace collatz { extern double s2, s3, p2, p3; void start(); }
|
||||
namespace tree { void read(string fn); }
|
||||
namespace sag { extern ld edgepower, edgemul;
|
||||
|
Loading…
Reference in New Issue
Block a user