| 645 | VARP(scorchttl, 0, 10000, 30000); |
| 646 | |
| 647 | bool addscorchmark(vec &o, float radius) |
| 648 | { |
| 649 | if(!scorchttl || !scorch) return false; |
| 650 | if(OUTBORD((int)o.x, (int)o.y)) return false; |
| 651 | sqr *s = S((int)o.x, (int)o.y); |
| 652 | if(s->type!=SPACE || o.z-s->floor>radius) return false; |
| 653 | newparticle(vec(o.x, o.y, s->floor+0.02f), vec(0, 0, 1), scorchttl, 9); |
| 654 | return true; |
| 655 | } |
| 656 | |
| 657 | VARP(shotline, 0, 1, 1); |
| 658 | VARP(shotlinettl, 0, 75, 10000); |
no test coverage detected