less annoying visualisation for tagclips

- press B to get the former filled volume view
- raise the value of tagnumfull to get both views simultaneously
- cubescript parameters should be cleaned up before release
This commit is contained in:
ac-stef
2014-01-30 19:38:41 +01:00
parent a8d2ab1c65
commit d258b7c186
7 changed files with 69 additions and 4 deletions
+1 -1
View File
@@ -588,7 +588,7 @@ void particle_cube(int type, int num, int fade, int x, int y)
const int fc = s->ceil - s->floor + (s->vdelta + 3) / 4;
const float floor = s->floor - (s->type == FHF ? float(s->vdelta) / 4 : 0);
if(SOLID(s) || fc < 1) return;
loopi(num * fc / 3)
loopi(num * fc / 12)
{
vec p(float(rnd(100)) / 100.0 + x, float(rnd(100)) / 100.0 + y, float(rnd(100) * fc) / 100 + floor), d(0, 0, 0);
newparticle(p, d, rnd(fade*3), type);