replace remaining Shrink usage in non-stage code
This commit is contained in:
parent
215cbe7a75
commit
cfbc697936
3 changed files with 3 additions and 3 deletions
|
@ -637,7 +637,7 @@ static void spawn_particle_effects(Boss *boss) {
|
|||
.color = RGBA(shadowcolor->r, shadowcolor->g, shadowcolor->b, 0.0),
|
||||
.rule = enemy_flare,
|
||||
.timeout = 180,
|
||||
.draw_rule = Shrink,
|
||||
.draw_rule = pdraw_timeout_scale(2, 0.01),
|
||||
.args = { 0, add_ref(boss), },
|
||||
.angle = rng_angle(),
|
||||
);
|
||||
|
|
|
@ -930,7 +930,7 @@ void player_death(Player *plr) {
|
|||
.pos = plr->pos,
|
||||
.rule = linear,
|
||||
.timeout = 40,
|
||||
.draw_rule = Shrink,
|
||||
.draw_rule = pdraw_timeout_scale(2, 0.01),
|
||||
.args = { vrng_range(R[0], 3, 10) * vrng_dir(R[1]) },
|
||||
.flags = PFLAG_NOREFLECT,
|
||||
);
|
||||
|
|
|
@ -92,7 +92,7 @@ static void trace_laser(Enemy *e, cmplx vel, float damage) {
|
|||
.pos = col.location,
|
||||
.rule = linear,
|
||||
.timeout = vrng_range(R[0], 3, 8),
|
||||
.draw_rule = Shrink,
|
||||
.draw_rule = pdraw_timeout_scale(2, 0.01),
|
||||
.args = { vrng_range(R[1], 2, 8) * vrng_dir(R[2]) },
|
||||
.flags = PFLAG_NOREFLECT,
|
||||
.layer = LAYER_PARTICLE_HIGH,
|
||||
|
|
Loading…
Reference in a new issue