| 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 "volfog_effect.h" |
|---|
| 16 | |
|---|
| 17 | #include "util/loading/load_param.h" |
|---|
| 18 | #include "util/loading/factory.h" |
|---|
| 19 | |
|---|
| 20 | #include "glincl.h" |
|---|
| 21 | |
|---|
| 22 | #include "shell_command.h" |
|---|
| 23 | |
|---|
| 24 | using namespace std; |
|---|
| 25 | |
|---|
| 26 | CREATE_FACTORY(VolFogEffect, CL_VOLFOG_EFFECT); |
|---|
| 27 | |
|---|
| 28 | VolFogEffect::VolFogEffect(const TiXmlElement* root) |
|---|
| 29 | { |
|---|
| 30 | this->setClassID(CL_VOLFOG_EFFECT, "VolFogEffect"); |
|---|
| 31 | |
|---|
| 32 | if (root != NULL) |
|---|
| 33 | this->loadParams(root); |
|---|
| 34 | jhljkhlkjhlkjh |
|---|
| 35 | this->activate(); |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | VolFogEffect::~VolFogEffdect() |
|---|
| 41 | { |
|---|
| 42 | this->deactivate(); |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | void VolFogEffect::loadParams(const TiXmlElement* root) |
|---|
| 47 | { |
|---|
| 48 | WeatherEffect::loadParams(root); |
|---|
| 49 | } |
|---|
| 50 | |
|---|
| 51 | bool VolFogEffect::init() |
|---|
| 52 | {} |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | bool VolFogEffect::activate() |
|---|
| 57 | { |
|---|
| 58 | |
|---|
| 59 | } |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | bool VolFogEffect::deactivate() |
|---|
| 64 | { |
|---|
| 65 | |
|---|
| 66 | } |
|---|
| 67 | |
|---|
| 68 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.