1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-06 22:48:13 +00:00

rv::presentation:: latex support, add rv_latex=1 to CLI to enable

This commit is contained in:
Zeno Rogue
2022-04-12 13:02:08 +02:00
parent 232736e465
commit 9bcd0be3f3
2 changed files with 99 additions and 1 deletions

View File

@@ -234,6 +234,10 @@ function<void(presmode)> roguevizslide_action(char c, const T& t, const U& act)
void use_angledir(presmode mode, bool reset);
void slide_error(presmode mode, string s);
void show_latex(presmode mode, string s);
void dialog_add_latex(string s, color_t color, int size = 100);
void dialog_may_latex(string latex, string normal, color_t col = dialog::dialogcolor, int size = 100);
inline ld angle = 0;
inline int dir = -1;
hyperpoint p2(ld x, ld y);