/* Copyright (C) 2006 Charlie C
*
* This software is provided 'as-is', without any express or implied
* warranty.  In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
*    claim that you wrote the original software. If you use this software
*    in a product, an acknowledgment in the product documentation would be
*    appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
*    misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*/
// Auto generated from makesdna dna.c
#ifndef __BLENDER_LAMP__H__
#define __BLENDER_LAMP__H__


// -------------------------------------------------- //
#include "blender_Common.h"
#include "blender_ID.h"

namespace Blender {


    // ---------------------------------------------- //
    class Lamp
    {
    public:
        ID id;
        AnimData *adt;
        short type;
        short flag;
        int mode;
        short colormodel;
        short totex;
        float r;
        float g;
        float b;
        float k;
        float shdwr;
        float shdwg;
        float shdwb;
        float shdwpad;
        float energy;
        float dist;
        float spotsize;
        float spotblend;
        float haint;
        float att1;
        float att2;
        CurveMapping *curfalloff;
        short falloff_type;
        short pad2;
        float clipsta;
        float clipend;
        float bias;
        float soft;
        float compressthresh;
        float bleedbias;
        float pad5;
        short bufsize;
        short samp;
        short buffers;
        short filtertype;
        char bufflag;
        char buftype;
        short ray_samp;
        short ray_sampy;
        short ray_sampz;
        short ray_samp_type;
        short area_shape;
        float area_size;
        float area_sizey;
        float area_sizez;
        float adapt_thresh;
        short ray_samp_method;
        short shadowmap_type;
        short texact;
        short shadhalostep;
        short sun_effect_type;
        short skyblendtype;
        float horizon_brightness;
        float spread;
        float sun_brightness;
        float sun_size;
        float backscattered_light;
        float sun_intensity;
        float atm_turbidity;
        float atm_inscattering_factor;
        float atm_extinction_factor;
        float atm_distance_factor;
        float skyblendfac;
        float sky_exposure;
        float shadow_frustum_size;
        short sky_colorspace;
        char pad4[2];
        Ipo *ipo;
        MTex *mtex[18];
        short pr_texture;
        short use_nodes;
        char pad6[4];
        PreviewImage *preview;
        bNodeTree *nodetree;
    };
}


#endif//__BLENDER_LAMP__H__
