mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
titlecolor setting
This commit is contained in:
parent
b07b805b33
commit
e8b3f0c5c9
@ -3071,6 +3071,9 @@ EX int read_color_args() {
|
||||
else if(argis("-fore")) {
|
||||
PHASEFROM(2); shift(); forecolor = argcolor(24);
|
||||
}
|
||||
else if(argis("-title")) {
|
||||
PHASEFROM(2); shift(); titlecolor = argcolor(24);
|
||||
}
|
||||
else if(argis("-dialog")) {
|
||||
PHASEFROM(2); shift(); dialog::dialogcolor = argcolor(24);
|
||||
}
|
||||
|
@ -5521,6 +5521,8 @@ EX int cmode;
|
||||
|
||||
EX bool dont_display_minecount = false;
|
||||
|
||||
EX color_t titlecolor;
|
||||
|
||||
EX void drawscreen() {
|
||||
|
||||
DEBBI(DF_GRAPH, ("drawscreen"));
|
||||
@ -5578,6 +5580,7 @@ EX void drawscreen() {
|
||||
#if !ISMOBILE
|
||||
color_t col = linf[cwt.at->land].color;
|
||||
if(cwt.at->land == laRedRock) col = 0xC00000;
|
||||
if(titlecolor) col = titlecolor;
|
||||
if(!nohelp)
|
||||
displayfr(vid.xres/2, vid.fsize, 2, vid.fsize, mouseovers, col, 8);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user