mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +00:00
ringcolor in latex slides
This commit is contained in:
parent
bae9fcec35
commit
66ed7104f1
@ -554,6 +554,8 @@ void uses_game(presmode mode, string name, reaction_t launcher, reaction_t resto
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
color_t latex_ring = 0x00FF0080;
|
||||||
|
|
||||||
void latex_slide(presmode mode, string s, flagtype flags, int size) {
|
void latex_slide(presmode mode, string s, flagtype flags, int size) {
|
||||||
empty_screen(mode);
|
empty_screen(mode);
|
||||||
add_stat(mode, [=] {
|
add_stat(mode, [=] {
|
||||||
@ -562,6 +564,7 @@ void latex_slide(presmode mode, string s, flagtype flags, int size) {
|
|||||||
cmode |= sm::SIDE;
|
cmode |= sm::SIDE;
|
||||||
dynamicval<bool> db(nomap, (flags & sm::NOSCR));
|
dynamicval<bool> db(nomap, (flags & sm::NOSCR));
|
||||||
dynamicval<color_t> dc(modelcolor, nomap ? 0 : 0xFF);
|
dynamicval<color_t> dc(modelcolor, nomap ? 0 : 0xFF);
|
||||||
|
dynamicval<color_t> dr(ringcolor, nomap ? 0 : latex_ring);
|
||||||
dynamicval<color_t> dc2(bordcolor, 0);
|
dynamicval<color_t> dc2(bordcolor, 0);
|
||||||
gamescreen();
|
gamescreen();
|
||||||
callhooks(hooks_latex_slide);
|
callhooks(hooks_latex_slide);
|
||||||
|
Loading…
Reference in New Issue
Block a user