Skip to content

Commit

Permalink
UPBGE: Rename KX_Light.[h/cpp] to KX_LightObject.[h/cpp].
Browse files Browse the repository at this point in the history
  • Loading branch information
panzergame committed Dec 17, 2017
1 parent e8a9322 commit ab265f6
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion source/gameengine/Converter/BL_BlenderDataConversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#include "KX_ClientObjectInfo.h"
#include "KX_Scene.h"
#include "KX_GameObject.h"
#include "KX_Light.h"
#include "KX_LightObject.h"
#include "KX_Camera.h"
#include "KX_EmptyObject.h"
#include "KX_FontObject.h"
Expand Down
4 changes: 2 additions & 2 deletions source/gameengine/Ketsji/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ set(SRC
KX_IPO_SGController.cpp
KX_KetsjiEngine.cpp
KX_LibLoadStatus.cpp
KX_Light.cpp
KX_LightObject.cpp
KX_LightIpoSGController.cpp
KX_LodLevel.cpp
KX_LodManager.cpp
Expand Down Expand Up @@ -186,7 +186,7 @@ set(SRC
KX_ISystem.h
KX_KetsjiEngine.h
KX_LibLoadStatus.h
KX_Light.h
KX_LightObject.h
KX_LightIpoSGController.h
KX_LodLevel.h
KX_LodManager.h
Expand Down
2 changes: 1 addition & 1 deletion source/gameengine/Ketsji/KX_GameObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "KX_GameObject.h"
#include "KX_PythonComponent.h"
#include "KX_Camera.h" // only for their ::Type
#include "KX_Light.h" // only for their ::Type
#include "KX_LightObject.h" // only for their ::Type
#include "KX_FontObject.h" // only for their ::Type
#include "RAS_MeshObject.h"
#include "RAS_MeshUser.h"
Expand Down
3 changes: 1 addition & 2 deletions source/gameengine/Ketsji/KX_KetsjiEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#include "RAS_ILightObject.h"
#include "SCA_IInputDevice.h"
#include "KX_Camera.h"
#include "KX_Light.h"
#include "KX_LightObject.h"
#include "KX_Globals.h"
#include "KX_PyConstraintBinding.h"
#include "PHY_IPhysicsEnvironment.h"
Expand Down Expand Up @@ -845,7 +845,6 @@ void KX_KetsjiEngine::RenderShadowBuffers(KX_Scene *scene)
m_rasterizer->SetAuxilaryClientInfo(scene);

for (KX_LightObject *light : lightlist) {
RAS_ILightObject *raslight = light->GetLightData();
light->Update();
}

Expand Down
2 changes: 1 addition & 1 deletion source/gameengine/Ketsji/KX_LightIpoSGController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include "KX_LightIpoSGController.h"
#include "KX_ScalarInterpolator.h"
#include "KX_Light.h"
#include "KX_LightObject.h"
#include "RAS_ILightObject.h"

#if defined(_WIN64)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* ***** END GPL LICENSE BLOCK *****
*/

/** \file gameengine/Ketsji/KX_Light.cpp
/** \file gameengine/Ketsji/KX_LightObject.cpp
* \ingroup ketsji
*/

Expand All @@ -35,7 +35,7 @@

#include <stdio.h>

#include "KX_Light.h"
#include "KX_LightObject.h"
#include "KX_Camera.h"
#include "RAS_Rasterizer.h"
#include "RAS_ICanvas.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* ***** END GPL LICENSE BLOCK *****
*/

/** \file KX_Light.h
/** \file KX_LightObject.h
* \ingroup ketsji
*/

Expand Down
2 changes: 1 addition & 1 deletion source/gameengine/Ketsji/KX_PythonInitTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#include "KX_CubeMap.h"
#include "KX_GameActuator.h"
#include "KX_LibLoadStatus.h"
#include "KX_Light.h"
#include "KX_LightObject.h"
#include "KX_LodLevel.h"
#include "KX_LodManager.h"
#include "KX_FontObject.h"
Expand Down
2 changes: 1 addition & 1 deletion source/gameengine/Ketsji/KX_Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
# include "EXP_PythonCallBack.h"
#endif

#include "KX_Light.h"
#include "KX_LightObject.h"

#include "BLI_task.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "RAS_ICanvas.h"

#include "KX_Camera.h"
#include "KX_Light.h"
#include "KX_LightObject.h"
#include "KX_Scene.h"

#include "DNA_lamp_types.h"
Expand Down
2 changes: 1 addition & 1 deletion source/gameengine/VideoTexture/Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <structmember.h>

#include "KX_GameObject.h"
#include "KX_Light.h"
#include "KX_LightObject.h"
#include "RAS_MeshObject.h"
#include "RAS_ILightObject.h"
#include "DNA_mesh_types.h"
Expand Down

0 comments on commit ab265f6

Please sign in to comment.