~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/makesdna/DNA_lamp_types.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * blenlib/DNA_lamp_types.h (mar-2001 nzc)
3
 
 *
4
 
 * $Id: DNA_lamp_types.h 29435 2010-06-14 00:24:42Z campbellbarton $ 
5
 
 *
 
1
/*
6
2
 * ***** BEGIN GPL LICENSE BLOCK *****
7
3
 *
8
4
 * This program is free software; you can redistribute it and/or
28
24
 *
29
25
 * ***** END GPL LICENSE BLOCK *****
30
26
 */
31
 
#ifndef DNA_LAMP_TYPES_H
32
 
#define DNA_LAMP_TYPES_H
33
 
 
 
27
 
 
28
/** \file DNA_lamp_types.h
 
29
 *  \ingroup DNA
 
30
 */
 
31
 
 
32
#ifndef __DNA_LAMP_TYPES_H__
 
33
#define __DNA_LAMP_TYPES_H__
 
34
 
 
35
#include "DNA_defs.h"
34
36
#include "DNA_ID.h"
35
37
 
36
38
#ifndef MAX_MTEX
37
39
#define MAX_MTEX        18
38
40
#endif
39
41
 
40
 
struct MTex;
 
42
struct AnimData;
 
43
struct bNodeTree;
41
44
struct CurveMapping;
42
 
struct AnimData;
43
45
struct Ipo;
 
46
struct MTex;
44
47
 
45
48
typedef struct Lamp {
46
49
        ID id;
96
99
        short sky_colorspace;
97
100
        char pad4[6];
98
101
 
99
 
        struct Ipo *ipo;                                // XXX depreceated... old animation system
 
102
        struct Ipo *ipo  DNA_DEPRECATED;  /* old animation system, deprecated for 2.5 */
100
103
        struct MTex *mtex[18];                  /* MAX_MTEX */
101
 
        short pr_texture;
102
 
        char pad6[6];
 
104
        short pr_texture, use_nodes;
 
105
        char pad6[4];
103
106
 
104
107
        /* preview */
105
108
        struct PreviewImage *preview;
 
109
 
 
110
        /* nodes */
 
111
        struct bNodeTree *nodetree;     
106
112
} Lamp;
107
113
 
108
114
/* **************** LAMP ********************* */
140
146
#define LA_SHAD_RAY             8192
141
147
/* yafray: lamp shadowbuffer flag, softlight */
142
148
/* Since it is used with LOCAL lamp, can't use LA_SHAD */
143
 
#define LA_YF_SOFT              16384
 
149
/* #define LA_YF_SOFT           16384 */ /* no longer used */
144
150
#define LA_LAYER_SHADOW 32768
145
151
#define LA_SHAD_TEX     (1<<16)
146
152
#define LA_SHOW_CONE    (1<<17)
200
206
#define LAMAP_SHAD              2
201
207
 
202
208
 
203
 
#endif /* DNA_LAMP_TYPES_H */
 
209
#endif /* __DNA_LAMP_TYPES_H__ */
204
210