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

Function newsym_force

src/display.c:1862–1871  ·  view source on GitHub ↗

FIXME: This is a dirty hack, because newsym() doesn't distinguish * between object piles and single objects, it doesn't mark the location * for update. */

Source from the content-addressed store, hash-verified

1860 * between object piles and single objects, it doesn't mark the location
1861 * for update. */
1862void
1863newsym_force(coordxy x, coordxy y)
1864{
1865 newsym(x, y);
1866 gg.gbuf[y][x].gnew = 1;
1867 if (gg.gbuf_start[y] > x)
1868 gg.gbuf_start[y] = x;
1869 if (gg.gbuf_stop[y] < x)
1870 gg.gbuf_stop[y] = x;
1871}
1872
1873/*
1874 * Store the glyph in the 3rd screen for later flushing.

Callers 6

throne_sit_effectFunction · 0.85
special_throne_effectFunction · 0.85
pickupFunction · 0.85
see_nearby_objectsFunction · 0.85
bhitoFunction · 0.85
selection_force_newsymsFunction · 0.85

Calls 1

newsymFunction · 0.85

Tested by

no test coverage detected