From 2b1eff772524fca8249fd64028e5cbfeabc127a0 Mon Sep 17 00:00:00 2001 From: khonkhortisan Date: Mon, 22 Apr 2013 11:35:10 -0700 Subject: Allow vertical axis particle rotation constraint Use tables for adding particles, deprecate former way. separate particles(pawner) definition, add default values, work with no arguments --- src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index aef60484f..30f17be51 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2321,6 +2321,7 @@ void the_game( event.spawn_particle.expirationtime, event.spawn_particle.size, event.spawn_particle.collisiondetection, + event.spawn_particle.vertical, texture, v2f(0.0, 0.0), v2f(1.0, 1.0)); @@ -2345,6 +2346,7 @@ void the_game( event.add_particlespawner.minsize, event.add_particlespawner.maxsize, event.add_particlespawner.collisiondetection, + event.add_particlespawner.vertical, texture, event.add_particlespawner.id); } -- cgit v1.2.3