Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6976 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Feb 2, 2006, 11:06:49 AM (19 years ago)
Author:
patrick
Message:

trunk: the graphicsengine is now loadable

Location:
trunk/src/lib/graphics
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/effects/fog_effect.cc

    r6815 r6976  
    6262void FogEffect::loadParams(const TiXmlElement* root)
    6363{
    64   printf(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.loadParms\n\n");
     64  PRINTF(0)(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.loadParms\n\n");
    6565  GraphicsEffect::loadParams(root);
    6666
  • trunk/src/lib/graphics/effects/lense_flare.cc

    r6889 r6976  
    3333#include "camera.h"
    3434
     35
    3536using namespace std;
    3637
     38
    3739CREATE_FACTORY(LenseFlare, CL_LENSE_FLARE);
    38 
    3940
    4041
  • trunk/src/lib/graphics/graphics_engine.cc

    r6967 r6976  
    5555SHELL_COMMAND(wireframe, GraphicsEngine, wireframe);
    5656
     57
    5758/**
    5859 *  standard constructor
     
    127128void GraphicsEngine::loadParams(const TiXmlElement* root)
    128129{
    129   LoadParamXML(root, "load-effect", this, GraphicsEngine, loadGraphicsEffectXML)
     130  LoadParamXML(root, "GraphicsEffect", this, GraphicsEngine, loadGraphicsEffectXML)
    130131      .describe("loads a graphics effect");
    131132}
Note: See TracChangeset for help on using the changeset viewer.