MCPcopy Create free account
hub / github.com/NetHack/NetHack / mar_set_rogue

Function mar_set_rogue

outdated/win/gem/wingem1.c:2887–2904  ·  view source on GitHub ↗
(what)

Source from the content-addressed store, hash-verified

2885}
2886
2887int
2888mar_set_rogue(what)
2889int what;
2890{
2891 static int rogue = FALSE, prev_mode = TRUE;
2892
2893 if (what < 0)
2894 return (rogue);
2895 if (what != rogue) {
2896 rogue = what;
2897 if (rogue) {
2898 prev_mode = mar_set_tile_mode(FAIL);
2899 mar_set_tile_mode(FALSE);
2900 } else
2901 mar_set_tile_mode(prev_mode);
2902 }
2903 return (FAIL);
2904}
2905
2906void
2907mar_add_pet_sign(window, x, y)

Callers 2

Gem_print_glyphFunction · 0.85
mar_set_tile_modeFunction · 0.85

Calls 1

mar_set_tile_modeFunction · 0.85

Tested by

no test coverage detected