Preparation to VideoTexture: everything but the VideoTexture module itself.
authorBenoit Bolsee <benoit.bolsee@online.be>
Fri, 31 Oct 2008 21:06:48 +0000 (21:06 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Fri, 31 Oct 2008 21:06:48 +0000 (21:06 +0000)
commit77b4c66cc3de461fdd0074e46a3a77de1fd83447
treea88c94c61ef781b39770d7dd761e97fb7c2614de
parent858581369342466b557019b5530d4c0e389fe707
Preparation to VideoTexture: everything but the VideoTexture module itself.

Rename PHY_GetActiveScene() to KX_GetActiveScene(): more logical name
Add KX_GetActiveEngine()

new KX_KetsjiEngine::GetClockTime(void) to return current
render frame time: if the CPU does not keep up with the
frame rate, up to 5 consecutive logic frames are processed
between each render frame, so that the logic system stays
accurate even if the graphic system is slow. For the video
texture module, it is important to stay in sync with the
render frame: no need to update the texture for logic frame.

BL_Texture::swapTexture(): texture id manipulation
BL_Texture::getTex() : return material texture

Enable video support in ffmpeg for Linux.
12 files changed:
projectfiles_vc7/blender/blender.vcproj
source/blender/imbuf/intern/util.c
source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
source/gameengine/Ketsji/BL_Texture.h
source/gameengine/Ketsji/KX_BlenderMaterial.h
source/gameengine/Ketsji/KX_Camera.cpp
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Ketsji/KX_KetsjiEngine.h
source/gameengine/Ketsji/KX_ParentActuator.cpp
source/gameengine/Ketsji/KX_PythonInit.cpp
source/gameengine/Ketsji/KX_PythonInit.h