Last change
on this file since 7691 was
7679,
checked in by amaechler, 18 years ago
|
branches/atmospheric_engine: cloud and lightening files
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | orxonox - the future of 3D-vertical-scrollers |
---|
3 | |
---|
4 | Copyright (C) 2004 orx |
---|
5 | |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | ### File Specific: |
---|
12 | main-programmer: hdavid, amaechler |
---|
13 | */ |
---|
14 | |
---|
15 | #include "lightening_effect.h" |
---|
16 | |
---|
17 | #include "util/loading/load_param.h" |
---|
18 | #include "util/loading/factory.h" |
---|
19 | |
---|
20 | #include "glincl.h" |
---|
21 | #include "parser/tinyxml/tinyxml.h" |
---|
22 | |
---|
23 | using namespace std; |
---|
24 | |
---|
25 | CREATE_FACTORY(LighteningEffect, CL_LIGHTENING_EFFECT); |
---|
26 | |
---|
27 | LighteningEffect::LighteningEffect(const TiXmlElement* root) |
---|
28 | { |
---|
29 | this->setClassID(CL_LIGHTENING_EFFECT, "LighteningEffect"); |
---|
30 | |
---|
31 | this->init(); |
---|
32 | |
---|
33 | if (root != NULL) |
---|
34 | this->loadParams(root); |
---|
35 | |
---|
36 | this->activate(); |
---|
37 | } |
---|
38 | |
---|
39 | LighteningEffect::~LighteningEffect() |
---|
40 | { |
---|
41 | this->deactivate(); |
---|
42 | } |
---|
43 | |
---|
44 | void LighteningEffect::loadParams(const TiXmlElement* root) |
---|
45 | { |
---|
46 | WeatherEffect::loadParams(root); |
---|
47 | } |
---|
48 | |
---|
49 | |
---|
50 | bool LighteningEffect::init() |
---|
51 | { |
---|
52 | //Default values |
---|
53 | } |
---|
54 | |
---|
55 | |
---|
56 | bool LighteningEffect::activate() |
---|
57 | { |
---|
58 | PRINTF(0)( "Activating LighteningEffect" ); |
---|
59 | |
---|
60 | } |
---|
61 | |
---|
62 | |
---|
63 | bool LighteningEffect::deactivate() |
---|
64 | { |
---|
65 | PRINTF(0)("Deactivating LighteningEffect\n"); |
---|
66 | } |
---|
67 | |
---|
68 | void LighteningEffect::tick (float dt) |
---|
69 | { |
---|
70 | |
---|
71 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.