| 1603 | |
| 1604 | |
| 1605 | void CellEngine::n_moore_ab() |
| 1606 | { |
| 1607 | if (rule == NULL) return; |
| 1608 | |
| 1609 | // 0 1 2 3 4 5 6 7 8 9 10 11 |
| 1610 | // c c' se sw ne nw e w s n &c &c' |
| 1611 | // 0x1 0x2 0x4 0x8 0x10 0x20 0x40 0x80 0x100 0x200 0x400 0x800 |
| 1612 | |
| 1613 | #define MOORE_AB ( \ |
| 1614 | MOORE_A | \ |
| 1615 | ((c & 0x0c) << 8)) |
| 1616 | |
| 1617 | if (inflation) { |
| 1618 | int last = 0; |
| 1619 | int heat = 0; |
| 1620 | |
| 1621 | CAM_MASKED_REG_TABLE_HEAT4_LOOP(MOORE_AB) |
| 1622 | } else { |
| 1623 | CAM_MASKED_REG_TABLE_LOOP(MOORE_AB) |
| 1624 | } // if |
| 1625 | } |
| 1626 | |
| 1627 | |
| 1628 | void CellEngine::n_vonn_neumann() |
nothing calls this directly
no outgoing calls
no test coverage detected