Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
375
far TestBounds(x, y)
376
register 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.c
File · 0.85
ConnecTile
Function · 0.85
s_zone.c
File · 0.85
w_tool.c
File · 0.85
s_traf.c
File · 0.85
GetChar
Function · 0.85
w_sprite.c
File · 0.85
CanDriveOn
Function · 0.85
s_disast.c
File · 0.85
s_sim.c
File · 0.85
TreeSplash
Function · 0.85
SmoothRiver
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected