~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_Light.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
 
 * $Id: KX_Light.h 27380 2010-03-10 07:41:16Z campbellbarton $
3
 
 *
 
1
/*
4
2
 * ***** BEGIN GPL LICENSE BLOCK *****
5
3
 *
6
4
 * This program is free software; you can redistribute it and/or
26
24
 *
27
25
 * ***** END GPL LICENSE BLOCK *****
28
26
 */
29
 
#ifndef __KX_LIGHT
30
 
#define __KX_LIGHT
 
27
 
 
28
/** \file KX_Light.h
 
29
 *  \ingroup ketsji
 
30
 */
 
31
 
 
32
#ifndef __KX_LIGHT_H__
 
33
#define __KX_LIGHT_H__
31
34
 
32
35
#include "RAS_LightObject.h"
33
36
#include "KX_GameObject.h"
41
44
 
42
45
class KX_LightObject : public KX_GameObject
43
46
{
44
 
        Py_Header;
 
47
        Py_Header
45
48
protected:
46
49
        RAS_LightObject         m_lightobj;
47
50
        class RAS_IRenderTools* m_rendertools;  //needed for registering and replication of lightobj
69
72
 
70
73
        virtual int GetGameObjectType() { return OBJ_LIGHT; }
71
74
 
72
 
#ifndef DISABLE_PYTHON
 
75
#ifdef WITH_PYTHON
73
76
        /* attributes */
74
77
        static PyObject*        pyattr_get_color(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef);
75
78
        static int                      pyattr_set_color(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef, PyObject* value);
79
82
#endif
80
83
};
81
84
 
82
 
#endif //__KX_LIGHT
 
85
#endif //__KX_LIGHT_H__
83
86