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

Function removetopl

sys/amiga/winfuncs.c:1974–1988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1972}
1973
1974void
1975removetopl(int cnt)
1976{
1977 struct amii_WinDesc *cw = amii_wins[WIN_MESSAGE];
1978 /* NB - this is sufficient for
1979 * yn_function, but that's it
1980 */
1981 if (cw->curx < cnt)
1982 cw->curx = 0;
1983 else
1984 cw->curx -= cnt;
1985
1986 amii_curs(WIN_MESSAGE, cw->curx + 1, cw->cury);
1987 amii_cl_end(cw, cw->curx);
1988}
1989/*#endif /* AMIGA_INTUITION */
1990
1991#ifdef PORT_HELP

Callers 1

amii_yn_functionFunction · 0.70

Calls 2

amii_cursFunction · 0.85
amii_cl_endFunction · 0.85

Tested by

no test coverage detected