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

Function osp

MicropolisCore/src/CellEngine/src/cellengine.cpp:5358–5370  ·  view source on GitHub ↗

Return 1 if pointed by an excited transmission state (ordinary or special), else returns 0. */

Source from the content-addressed store, hash-verified

5356/* Return 1 if pointed by an excited transmission state (ordinary or special),
5357 else returns 0. */
5358int osp(Byte right, Byte up, Byte left, Byte down)
5359{
5360 return (
5361 (right == OLX) ||
5362 (right == SLX) ||
5363 (up == ODX) ||
5364 (up == SDX) ||
5365 (left == ORX) ||
5366 (left == SRX) ||
5367 (down == OUX) ||
5368 (down == SUX)
5369 );
5370}
5371
5372
5373/* Return 1 if well pointed by an excited ordinary transmission state,

Callers 1

n_jvn29Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected