Last change
on this file since 8980 was
8495,
checked in by bensch, 19 years ago
|
merged the branche atmos back. no conflicts
|
File size:
1.3 KB
|
Rev | Line | |
---|
[6741] | 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 | #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GRAPHICS |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | #include "graphics_effect.h" |
---|
| 21 | |
---|
[7193] | 22 | #include "util/loading/load_param.h" |
---|
[6741] | 23 | |
---|
| 24 | |
---|
| 25 | using namespace std; |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | /** |
---|
| 30 | * @param root The XML-element to load the GraphicsEffect from |
---|
| 31 | |
---|
| 32 | @todo what to do, if no GraphicsEffect-Slots are open anymore ??? |
---|
| 33 | */ |
---|
[8495] | 34 | GraphicsEffect::GraphicsEffect(const TiXmlElement* root) { |
---|
| 35 | this->setClassID(CL_GRAPHICS_EFFECT, "GraphicsEffect"); |
---|
| 36 | this->bActivated = false; |
---|
[6741] | 37 | } |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | /** |
---|
| 41 | * destroys a GraphicsEffect |
---|
| 42 | */ |
---|
[8495] | 43 | GraphicsEffect::~GraphicsEffect() { |
---|
[6772] | 44 | } |
---|
[6741] | 45 | |
---|
| 46 | |
---|
| 47 | /** |
---|
| 48 | * @param root The XML-element to load the GraphicsEffect from |
---|
| 49 | */ |
---|
[8495] | 50 | void GraphicsEffect::loadParams(const TiXmlElement* root) { |
---|
| 51 | BaseObject::loadParams(root); |
---|
[6741] | 52 | } |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | /** |
---|
| 56 | * initializes the graphics effect |
---|
| 57 | */ |
---|
[8495] | 58 | void GraphicsEffect::init() {} |
---|
[6815] | 59 | |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | /** |
---|
| 63 | * draws the effect, if needed |
---|
| 64 | */ |
---|
[8495] | 65 | void GraphicsEffect::draw() const {} |
---|
[6815] | 66 | |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | /** |
---|
| 70 | * ticks the effect if there is any time dependancy |
---|
| 71 | */ |
---|
[8495] | 72 | void GraphicsEffect::tick(float dt) {} |
---|
Note: See
TracBrowser
for help on using the repository browser.