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

Function op

MicropolisCore/src/CellEngine/src/cellengine.cpp:5345–5353  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5343/* Return 1 if pointed by an excited ordinary transmission state,
5344 else returns 0. */
5345int op(Byte right, Byte up, Byte left, Byte down)
5346{
5347 return (
5348 (right == OLX) ||
5349 (up == ODX) ||
5350 (left == ORX) ||
5351 (down == OUX)
5352 );
5353}
5354
5355
5356/* Return 1 if pointed by an excited transmission state (ordinary or special),

Callers 1

n_jvn29Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected