Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.cc @ 7685

Last change on this file since 7685 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 "cloud_effect.h"
16
17#include "util/loading/load_param.h"
18#include "util/loading/factory.h"
19
20#include "glincl.h"
21
22#include "parser/tinyxml/tinyxml.h"
23
24using namespace std;
25
26CREATE_FACTORY(CloudEffect, CL_CLOUD_EFFECT);
27
28CloudEffect::CloudEffect(const TiXmlElement* root)
29{
30        this->setClassID(CL_CLOUD_EFFECT, "CloudEffect");
31
32        this->init();
33
34        if (root != NULL)
35                this->loadParams(root);
36
37        this->activate();
38}
39
40CloudEffect::~CloudEffect()
41{
42        this->deactivate();
43}
44
45void CloudEffect::loadParams(const TiXmlElement* root)
46{
47        WeatherEffect::loadParams(root);
48}
49
50
51bool CloudEffect::init()
52{
53        //Default values
54}
55
56bool CloudEffect::activate()
57{
58        PRINTF(0)( "Activating CloudEffect ");
59}
60
61
62bool CloudEffect::deactivate()
63{
64        PRINTF(0)("Deactivating CloudEffect\n");
65}
66
67void CloudEffect::tick (float dt)
68{
69
70}
Note: See TracBrowser for help on using the repository browser.