| 97 | } |
| 98 | |
| 99 | bool xGridAddToCell(xGridBound** boundList, xGridBound* bound) |
| 100 | { |
| 101 | if (bound->head) |
| 102 | { |
| 103 | if (gGridIterActive == 0) |
| 104 | { |
| 105 | if (!xGridRemove(bound)) |
| 106 | { |
| 107 | return false; |
| 108 | } |
| 109 | } |
| 110 | else |
| 111 | { |
| 112 | return false; |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | bound->head = boundList; |
| 117 | bound->next = boundList[0]; |
| 118 | boundList[0] = bound; |
| 119 | return true; |
| 120 | } |
| 121 | |
| 122 | void xGridAdd(xGrid* grid, xGridBound* bound, S32 x, S32 z) |
| 123 | { |
no test coverage detected