mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
svg::shot:: error message shown if not available
This commit is contained in:
parent
f3b32173ad
commit
f726fe12fb
@ -419,6 +419,18 @@ void menu() {
|
|||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
|
|
||||||
|
#if CAP_RUG
|
||||||
|
if(make_svg && rug::rugged)
|
||||||
|
dialog::addInfo("SVG screenshot do not work in this 3D mode", 0xFF0000);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
#if CAP_TEXTURE
|
||||||
|
if(make_svg && texture::config.tstate == texture::tsActive)
|
||||||
|
dialog::addInfo("SVG screenshot do not work with textures", 0xFF0000);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
dialog::addBreak(100);
|
||||||
|
|
||||||
dialog::addItem(XLAT("take screenshot"), 'z');
|
dialog::addItem(XLAT("take screenshot"), 'z');
|
||||||
dialog::add_action([] () {
|
dialog::add_action([] () {
|
||||||
#if ISWEB
|
#if ISWEB
|
||||||
|
Loading…
Reference in New Issue
Block a user