Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7519 in orxonox.OLD for branches/atmospheric_engine/src


Ignore:
Timestamp:
May 3, 2006, 4:10:17 PM (19 years ago)
Author:
hdavid
Message:
 
Location:
branches/atmospheric_engine/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/Makefile.am

    r7151 r7519  
    3636                lib/particles/plane_emitter.cc \
    3737                lib/graphics/effects/fog_effect.cc \
     38                lib/graphics/effects/volfog_effect.cc \
    3839                lib/graphics/effects/lense_flare.cc \
    3940                \
  • branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.cc

    r7514 r7519  
    7575    PRINTF(4)("element is: %s\n", element->Value());
    7676    Factory::fabricate(element);
     77   
     78    BaseObject* bo = Factory::fabricate(element);
     79    if( bo == NULL)
     80      PRINTF(0)(" Could not create Element %s\n", element->Value());
    7781  }
    7882  LOAD_PARAM_END_CYCLE(element);
     
    8791  {
    8892    PRINTF(4)("element is: %s\n", element->Value());
    89     Factory::fabricate(element);
    9093  }
    9194  LOAD_PARAM_END_CYCLE(element);
  • branches/atmospheric_engine/src/lib/graphics/effects/volfog_effect.cc

    r7516 r7519  
    4646{
    4747  WeatherEffect::loadParams(root);
     48
     49  LoadParam(root, "test", this, VolFogEffect, test);
     50}
     51
     52void VolFogEffect::test(int t)
     53{
     54PRINTF(0)("test\n\n");
    4855}
    4956
     
    5562bool VolFogEffect::activate()
    5663{
    57 
     64  PRINTF(0)("Activate VolFogEffect\n");
    5865}
    5966
    6067bool VolFogEffect::deactivate()
    6168{
    62 
     69  PRINTF(0)("Deactivate VolFogEffect\n");
    6370}
    6471
     
    6875 */
    6976void VolFogEffect::draw() const
    70 {}
     77{
     78  PRINTF(0)("DRAW VolFogEffect\n");
     79}
    7180
    7281
     
    7584 * ticks the effect if there is any time dependancy
    7685 */
    77 void VolFogEffect::tick(float dt)
    78        
    79 {}
     86void VolFogEffect::tick(float dt)       
     87{
     88  PRINTF(0)("TICK VolFogEffect\n");
     89}
  • branches/atmospheric_engine/src/lib/graphics/effects/volfog_effect.h

    r7516 r7519  
    2626    virtual void tick(float dt);
    2727
     28    void test(int t);
     29
    2830  private:
    2931
Note: See TracChangeset for help on using the changeset viewer.