MCPcopy Create free account
hub / github.com/SimHacker/micropolis / TestBounds

Function TestBounds

micropolis-activity/src/sim/terrain/mapgener.c:375–381  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

373}
374
375far TestBounds(x, y)
376register int x, y;
377{
378 if ((( x >= 0) && (x < WORLD_X)) && (( y >= 0) && (y < WORLD_Y)))
379 return (TRUE);
380 return (FALSE);
381}
382
383
384

Callers 15

s_gen.cFile · 0.85
ConnecTileFunction · 0.85
s_zone.cFile · 0.85
w_tool.cFile · 0.85
s_traf.cFile · 0.85
GetCharFunction · 0.85
w_sprite.cFile · 0.85
CanDriveOnFunction · 0.85
s_disast.cFile · 0.85
s_sim.cFile · 0.85
TreeSplashFunction · 0.85
SmoothRiverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected