|
Last change
on this file since 7379 was
7379,
checked in by hdavid, 20 years ago
|
|
branches/atmospheric_engine: basic framework
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | /* |
|---|
| 4 | orxonox - the future of 3D-vertical-scrollers |
|---|
| 5 | |
|---|
| 6 | Copyright (C) 2004 orx |
|---|
| 7 | |
|---|
| 8 | This program is free software; you can redistribute it and/or modify |
|---|
| 9 | it under the terms of the GNU General Public License as published by |
|---|
| 10 | the Free Software Foundation; either version 2, or (at your option) |
|---|
| 11 | any later version. |
|---|
| 12 | |
|---|
| 13 | ### File Specific: |
|---|
| 14 | main-programmer: Patrick Boenzli |
|---|
| 15 | */ |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #include "sun_effects.h" |
|---|
| 19 | |
|---|
| 20 | #include "util/loading/load_param.h" |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | using namespace std; |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | /** |
|---|
| 28 | * @param root The XML-element to load the SunEffects from |
|---|
| 29 | |
|---|
| 30 | @todo what to do, if no SunEffects-Slots are open anymore ??? |
|---|
| 31 | */ |
|---|
| 32 | SunEffects::SunEffects(const TiXmlElement* root) |
|---|
| 33 | { |
|---|
| 34 | //this->setClassID(CL_GRAPHICS_EFFECT, "SunEffects"); |
|---|
| 35 | this->bActivated = false; |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | /** |
|---|
| 40 | * destroys a SunEffects |
|---|
| 41 | */ |
|---|
| 42 | SunEffects::~SunEffects() |
|---|
| 43 | { |
|---|
| 44 | |
|---|
| 45 | } |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | /** |
|---|
| 49 | * @param root The XML-element to load the SunEffects from |
|---|
| 50 | */ |
|---|
| 51 | void SunEffects::loadParams(const TiXmlElement* root) |
|---|
| 52 | { |
|---|
| 53 | BaseObject::loadParams(root); |
|---|
| 54 | } |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | /** |
|---|
| 58 | * initializes the graphics effect |
|---|
| 59 | */ |
|---|
| 60 | bool SunEffects::init() |
|---|
| 61 | {} |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | /** |
|---|
| 66 | * draws the effect, if needed |
|---|
| 67 | */ |
|---|
| 68 | void SunEffects::draw() const |
|---|
| 69 | {} |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | |
|---|
| 73 | /** |
|---|
| 74 | * ticks the effect if there is any time dependancy |
|---|
| 75 | */ |
|---|
| 76 | void SunEffects::tick(float dt) |
|---|
| 77 | {} |
|---|
| 78 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.