~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/gameengine/GameLogic/SCA_ActuatorSensor.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
 
/**
 
1
/*
2
2
 * Actuator sensor
3
3
 *
4
 
 * $Id: SCA_ActuatorSensor.h 26841 2010-02-12 13:34:04Z campbellbarton $
5
4
 *
6
5
 * ***** BEGIN GPL LICENSE BLOCK *****
7
6
 *
29
28
 * ***** END GPL LICENSE BLOCK *****
30
29
 */
31
30
 
32
 
#ifndef __KX_ACTUATORSENSOR
33
 
#define __KX_ACTUATORSENSOR
 
31
/** \file SCA_ActuatorSensor.h
 
32
 *  \ingroup gamelogic
 
33
 */
 
34
 
 
35
#ifndef __SCA_ACTUATORSENSOR_H__
 
36
#define __SCA_ACTUATORSENSOR_H__
34
37
 
35
38
#include "SCA_ISensor.h"
36
39
#include "SCA_IActuator.h"
37
40
 
38
41
class SCA_ActuatorSensor : public SCA_ISensor
39
42
{
40
 
        Py_Header;
 
43
        Py_Header
41
44
        STR_String              m_checkactname;
42
45
        bool                    m_lastresult;
43
46
        bool                    m_midresult;
56
59
        virtual void    ReParent(SCA_IObject* parent);
57
60
        void Update();
58
61
 
59
 
#ifndef DISABLE_PYTHON
 
62
#ifdef WITH_PYTHON
60
63
 
61
64
        /* --------------------------------------------------------------------- */
62
65
        /* Python interface ---------------------------------------------------- */
64
67
 
65
68
        static int CheckActuator(void *self, const PyAttributeDef*);
66
69
        
67
 
#endif // DISABLE_PYTHON
 
70
#endif // WITH_PYTHON
68
71
};
69
72
 
70
73
#endif