/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: Patrick Boenzli co-programmer: ... */ #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GRAPHICS #include "graphics_effect.h" #include "load_param.h" using namespace std; /** * @param root The XML-element to load the GraphicsEffect from @todo what to do, if no GraphicsEffect-Slots are open anymore ??? */ GraphicsEffect::GraphicsEffect(const TiXmlElement* root) { if (root != NULL) this->loadParams(root); } /** * destroys a GraphicsEffect */ GraphicsEffect::~GraphicsEffect() {} /** * @param root The XML-element to load the GraphicsEffect from */ void GraphicsEffect::loadParams(const TiXmlElement* root) { BaseObject::loadParams(root); // LoadParam(root, "diffuse-color", this, GraphicsEffect, setDiffuseColor) // .describe("sets the diffuse color of the GraphicsEffect (red [0-1], green [0-1], blue [0-1])"); } /** * initializes the graphics effect */ bool GraphicsEffect::init() {}