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

Function sp

MicropolisCore/src/CellEngine/src/cellengine.cpp:5332–5340  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5330/* Return 1 if pointed by an excited special transmission state,
5331 else returns 0. */
5332int sp(Byte right, Byte up, Byte left, Byte down)
5333{
5334 return (
5335 (right == SLX) ||
5336 (up == SDX) ||
5337 (left == SRX) ||
5338 (down == SUX)
5339 );
5340}
5341
5342
5343/* Return 1 if pointed by an excited ordinary transmission state,

Callers 1

n_jvn29Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected