Frees all the objects that are currently in use
| 803 | |
| 804 | // Frees all the objects that are currently in use |
| 805 | void FreeAllVisEffects() { |
| 806 | |
| 807 | for (int i = 0; i < max_vis_effects; i++) |
| 808 | if (VisEffects[i].type != VIS_NONE) |
| 809 | VisEffectDelete(i); |
| 810 | } |
| 811 | |
| 812 | // Creates a some sparks that go in random directions |
| 813 | void CreateRandomLineSparks(int num_sparks, vector *pos, int roomnum, uint16_t color, float force_scalar) { |
no test coverage detected