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

Function if

sys/amiga/amiwind.c:221–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220#ifdef CLIPPING
221 else if (WINVERS_AMIV && control) {
222 EditClipping();
223
224 CO = (w->Width - w->BorderLeft - w->BorderRight) / mxsize;
225 LI = (w->Height - w->BorderTop - w->BorderBottom) / mysize;
226 clipxmax = CO + clipx;
227 clipymax = LI + clipy;
228 if (CO < COLNO || LI < ROWNO) {
229 clipping = TRUE;
230 amii_cliparound(u.ux, u.uy);
231 } else {
232 clipping = FALSE;
233 clipx = clipy = 0;
234 }
235 BufferQueueChar('R' - 64);
236 return (-1);
237 }
238#endif
239 else if (WINVERS_AMIV && shift) {
240 if (WIN_OVER == WIN_ERR) {

Callers

nothing calls this directly

Calls 3

EditClippingFunction · 0.85
amii_cliparoundFunction · 0.85
amii_create_nhwindowFunction · 0.85

Tested by

no test coverage detected