projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SDL: Implement lightmaps smaller than the screen size. LIGHTMAP_DIV is calculated...
[supertux.git]
/
src
/
object
/
fireworks.cpp
diff --git
a/src/object/fireworks.cpp
b/src/object/fireworks.cpp
index
d218c06
..
d3037ea
100644
(file)
--- a/
src/object/fireworks.cpp
+++ b/
src/object/fireworks.cpp
@@
-31,7
+31,7
@@
Fireworks::Fireworks()
{
Fireworks::Fireworks()
{
- timer.start(.2);
+ timer.start(.2
f
);
sound_manager->preload("sounds/fireworks.wav");
}
sound_manager->preload("sounds/fireworks.wav");
}
@@
-55,7
+55,7
@@
Fireworks::update(float )
(void) red;
(void) green;
sector->add_object(new Particles(pos, 0, 360, Vector(140, 140),
(void) red;
(void) green;
sector->add_object(new Particles(pos, 0, 360, Vector(140, 140),
- Vector(0, 0), 45, Color(red, green, 0), 3, 1.3,
+ Vector(0, 0), 45, Color(red, green, 0), 3, 1.3
f
,
LAYER_FOREGROUND1+1));
sound_manager->play("sounds/fireworks.wav");
timer.start(systemRandom.randf(1.0, 1.5));
LAYER_FOREGROUND1+1));
sound_manager->play("sounds/fireworks.wav");
timer.start(systemRandom.randf(1.0, 1.5));