1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 13:07:16 +00:00

ringcolor in latex slides

This commit is contained in:
Zeno Rogue 2024-07-02 13:42:00 +02:00
parent bae9fcec35
commit 66ed7104f1

View File

@ -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) {
empty_screen(mode);
add_stat(mode, [=] {
@ -562,6 +564,7 @@ void latex_slide(presmode mode, string s, flagtype flags, int size) {
cmode |= sm::SIDE;
dynamicval<bool> db(nomap, (flags & sm::NOSCR));
dynamicval<color_t> dc(modelcolor, nomap ? 0 : 0xFF);
dynamicval<color_t> dr(ringcolor, nomap ? 0 : latex_ring);
dynamicval<color_t> dc2(bordcolor, 0);
gamescreen();
callhooks(hooks_latex_slide);