| 214 | } |
| 215 | |
| 216 | void xParSysReset(xParSys* t) |
| 217 | { |
| 218 | xBaseReset(t, t->tasset); |
| 219 | |
| 220 | if (t->group != NULL) |
| 221 | { |
| 222 | xParGroupKillAllParticles(t->group); |
| 223 | |
| 224 | t->visible = t->tasset->parFlags & 0x1; |
| 225 | |
| 226 | xParGroupSetAging(t->group, (((t->tasset->parFlags >> 1) & 0x1) ^ 0x1) & 0xFF); |
| 227 | xParGroupSetVisibility(t->group, t->visible); |
| 228 | xParGroupSetBack2Life(t->group,(((t->tasset->parFlags >> 2) & 0x1) ^ 0x1) & 0xFF); |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | void xParSysExit(xParSys* t) |
| 233 | { |
no test coverage detected