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

Method n_abcdheat

MicropolisCore/src/CellEngine/src/cellengine.cpp:1891–1902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1889
1890
1891void CellEngine::n_abcdheat()
1892{
1893 long last = 0;
1894
1895#define ABCDHEAT \
1896 (Byte)((last = (n + w + e + s + \
1897 (((xx^yy^phase)&1) ? frob : -frob) + \
1898 (last & 3)), \
1899 (last >> 2)))
1900
1901 CAM_MASKED_REG_LOOP(ABCDHEAT)
1902}
1903
1904
1905void CellEngine::n_edheat()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected