~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_KetsjiEngine.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: KX_KetsjiEngine.h,v 1.6 2004/04/24 06:40:13 kester Exp $
 
2
 * $Id: KX_KetsjiEngine.h,v 1.9 2005/03/25 10:33:37 kester Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
67
67
{
68
68
 
69
69
private:
70
 
        class RAS_ICanvas*                                      m_canvas; // 2D Canvas (2D Rendering Device Context)
 
70
        class RAS_ICanvas*                              m_canvas; // 2D Canvas (2D Rendering Device Context)
71
71
        class RAS_IRasterizer*                          m_rasterizer;  // 3D Rasterizer (3D Rendering)
72
 
        class KX_ISystem*                                       m_kxsystem;
 
72
        class KX_ISystem*                               m_kxsystem;
73
73
        class RAS_IRenderTools*                         m_rendertools;
74
74
        class KX_ISceneConverter*                       m_sceneconverter;
75
 
        class NG_NetworkDeviceInterface*        m_networkdevice;
 
75
        class NG_NetworkDeviceInterface*                m_networkdevice;
76
76
        class SND_IAudioDevice*                         m_audiodevice;
77
 
        PyObject*                                                       m_pythondictionary;
 
77
        PyObject*                                       m_pythondictionary;
78
78
        class SCA_IInputDevice*                         m_keyboarddevice;
79
79
        class SCA_IInputDevice*                         m_mousedevice;
80
80
 
97
97
        bool                            m_bFixedTime;
98
98
        
99
99
        bool                            m_firstframe;
 
100
        
100
101
        double                          m_previoustime;
101
 
        double                          m_missedtime;
102
 
        double                          m_lasttime; // old style time
103
 
        double                          m_dtime;
104
 
        std::vector<double>     m_deltatimes;
 
102
        double                          m_deltatime;
 
103
        static double                   m_ticrate;
105
104
 
106
105
        int                                     m_exitcode;
107
106
        STR_String                      m_exitstring;
167
166
        /** Blue component of framing bar color. */
168
167
        float                                   m_overrideFrameColorB;
169
168
 
170
 
        double                                  CalculateAverage(double newdeltatime);
171
 
        
172
169
        void                                    SetupRenderFrame(KX_Scene *scene);
173
170
        void                                    RenderFrame(KX_Scene* scene);
174
171
        void                                    RenderDebugProperties();
234
231
         * @return Current setting for display all frames.
235
232
         */ 
236
233
        bool GetUseFixedTime(void) const;
 
234
        
 
235
        /**
 
236
         * Gets the number of logic updates per second.
 
237
         */
 
238
        static double GetTicRate();
 
239
        /**
 
240
         * Sets the number of logic updates per second.
 
241
         */
 
242
        static void SetTicRate(double ticrate);
237
243
 
238
244
        /**
239
245
         * Activates or deactivates timing information display.
290
296
         * @param b Blue component of the override color.
291
297
         */
292
298
        void GetOverrideFrameColor(float& r, float& g, float& b) const;
293
 
 
 
299
        
294
300
protected:
295
301
        /**
296
302
         * Processes all scheduled scene activity.