projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switched from tinygettext/tags/tinygetext-supertux/ to tinygettext/trunk/
[supertux.git]
/
src
/
object
/
thunderstorm.cpp
diff --git
a/src/object/thunderstorm.cpp
b/src/object/thunderstorm.cpp
index
8cb171d
..
61e60df
100644
(file)
--- a/
src/object/thunderstorm.cpp
+++ b/
src/object/thunderstorm.cpp
@@
-19,7
+19,7
@@
#include "audio/sound_manager.hpp"
#include "object/electrifier.hpp"
#include "scripting/squirrel_util.hpp"
#include "audio/sound_manager.hpp"
#include "object/electrifier.hpp"
#include "scripting/squirrel_util.hpp"
-#include "supertux/
main
.hpp"
+#include "supertux/
globals
.hpp"
#include "supertux/object_factory.hpp"
#include "supertux/sector.hpp"
#include "util/reader.hpp"
#include "supertux/object_factory.hpp"
#include "supertux/sector.hpp"
#include "util/reader.hpp"
@@
-32,7
+32,10
@@
const float FLASH_DISPLAY_TIME = 0.1f;
Thunderstorm::Thunderstorm(const Reader& reader) :
running(true),
interval(10.0f),
Thunderstorm::Thunderstorm(const Reader& reader) :
running(true),
interval(10.0f),
- layer(LAYER_BACKGROUNDTILES-1)
+ layer(LAYER_BACKGROUNDTILES-1),
+ time_to_thunder(),
+ time_to_lightning(),
+ flash_display_timer()
{
reader.get("name", name);
reader.get("running", running);
{
reader.get("name", name);
reader.get("running", running);