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

Function amii_msgborder

sys/amiga/winstr.c:312–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312int
313amii_msgborder(struct Window *w)
314{
315 register int bottom;
316
317 /* There is a one pixel border at the borders, so subtract two */
318 bottom = w->Height - w->BorderTop - w->BorderBottom - 2;
319 bottom /= w->RPort->TxHeight;
320 if (bottom > 0)
321 --bottom;
322 return (bottom);
323}
324
325void
326outmore(struct amii_WinDesc *cw)

Callers 5

amii_putstrFunction · 0.85
amii_scrollmsgFunction · 0.85
outmoreFunction · 0.85
amii_addtoplFunction · 0.85
amii_get_ext_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected