From b8e019d8396ed102323df234df8b1cc6b35712a1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 23 Feb 2012 10:41:31 +0000 Subject: use __ prefix on header guards to avoid mixing up defines with api functions / classes. --- source/gameengine/GameLogic/Joystick/SCA_Joystick.h | 4 ++-- source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h | 4 ++-- source/gameengine/GameLogic/SCA_2DFilterActuator.h | 4 ++-- source/gameengine/GameLogic/SCA_ANDController.h | 6 +++--- source/gameengine/GameLogic/SCA_ActuatorEventManager.h | 6 +++--- source/gameengine/GameLogic/SCA_ActuatorSensor.h | 4 ++-- source/gameengine/GameLogic/SCA_AlwaysEventManager.h | 6 +++--- source/gameengine/GameLogic/SCA_AlwaysSensor.h | 6 +++--- source/gameengine/GameLogic/SCA_BasicEventManager.h | 6 +++--- source/gameengine/GameLogic/SCA_DelaySensor.h | 4 ++-- source/gameengine/GameLogic/SCA_EventManager.h | 4 ++-- source/gameengine/GameLogic/SCA_ExpressionController.h | 6 +++--- source/gameengine/GameLogic/SCA_IActuator.h | 6 +++--- source/gameengine/GameLogic/SCA_IController.h | 4 ++-- source/gameengine/GameLogic/SCA_IInputDevice.h | 6 +++--- source/gameengine/GameLogic/SCA_ILogicBrick.h | 4 ++-- source/gameengine/GameLogic/SCA_IObject.h | 6 +++--- source/gameengine/GameLogic/SCA_IScene.h | 6 +++--- source/gameengine/GameLogic/SCA_ISensor.h | 6 +++--- source/gameengine/GameLogic/SCA_JoystickManager.h | 4 ++-- source/gameengine/GameLogic/SCA_KeyboardManager.h | 6 +++--- source/gameengine/GameLogic/SCA_KeyboardSensor.h | 6 +++--- source/gameengine/GameLogic/SCA_LogicManager.h | 6 +++--- source/gameengine/GameLogic/SCA_MouseManager.h | 6 +++--- source/gameengine/GameLogic/SCA_MouseSensor.h | 6 +++--- source/gameengine/GameLogic/SCA_NANDController.h | 6 +++--- source/gameengine/GameLogic/SCA_NORController.h | 6 +++--- source/gameengine/GameLogic/SCA_ORController.h | 6 +++--- source/gameengine/GameLogic/SCA_PropertyActuator.h | 4 ++-- source/gameengine/GameLogic/SCA_PropertyEventManager.h | 6 +++--- source/gameengine/GameLogic/SCA_PropertySensor.h | 4 ++-- source/gameengine/GameLogic/SCA_PythonController.h | 6 +++--- source/gameengine/GameLogic/SCA_PythonKeyboard.h | 6 +++--- source/gameengine/GameLogic/SCA_PythonMouse.h | 6 +++--- source/gameengine/GameLogic/SCA_RandomActuator.h | 4 ++-- source/gameengine/GameLogic/SCA_RandomEventManager.h | 6 +++--- source/gameengine/GameLogic/SCA_RandomNumberGenerator.h | 6 +++--- source/gameengine/GameLogic/SCA_RandomSensor.h | 6 +++--- source/gameengine/GameLogic/SCA_TimeEventManager.h | 6 +++--- source/gameengine/GameLogic/SCA_XNORController.h | 6 +++--- source/gameengine/GameLogic/SCA_XORController.h | 6 +++--- 41 files changed, 111 insertions(+), 111 deletions(-) (limited to 'source/gameengine/GameLogic') diff --git a/source/gameengine/GameLogic/Joystick/SCA_Joystick.h b/source/gameengine/GameLogic/Joystick/SCA_Joystick.h index 4e3e3ef656d..75a7ff73b4c 100644 --- a/source/gameengine/GameLogic/Joystick/SCA_Joystick.h +++ b/source/gameengine/GameLogic/Joystick/SCA_Joystick.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef _SCA_JOYSTICK_H_ -#define _SCA_JOYSTICK_H_ +#ifndef __SCA_JOYSTICK_H__ +#define __SCA_JOYSTICK_H__ #include "SCA_JoystickDefines.h" #ifdef WITH_SDL diff --git a/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h b/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h index 69fc393cbd7..45766eb9057 100644 --- a/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h +++ b/source/gameengine/GameLogic/Joystick/SCA_JoystickDefines.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef _SCA_JOYSTICKDEFINES_H_ -#define _SCA_JOYSTICKDEFINES_H_ +#ifndef __SCA_JOYSTICKDEFINES_H__ +#define __SCA_JOYSTICKDEFINES_H__ #ifdef main #undef main diff --git a/source/gameengine/GameLogic/SCA_2DFilterActuator.h b/source/gameengine/GameLogic/SCA_2DFilterActuator.h index 42446b7a2b1..a754d950859 100644 --- a/source/gameengine/GameLogic/SCA_2DFilterActuator.h +++ b/source/gameengine/GameLogic/SCA_2DFilterActuator.h @@ -28,8 +28,8 @@ * \ingroup gamelogic */ -#ifndef __SCA_2DFILETRACTUATOR_H__ -#define __SCA_2DFILETRACTUATOR_H__ +#ifndef __SCA_2DFILTERACTUATOR_H__ +#define __SCA_2DFILTERACTUATOR_H__ #include "RAS_IRasterizer.h" #include "SCA_IActuator.h" diff --git a/source/gameengine/GameLogic/SCA_ANDController.h b/source/gameengine/GameLogic/SCA_ANDController.h index 363bca630aa..ccc3f9be3af 100644 --- a/source/gameengine/GameLogic/SCA_ANDController.h +++ b/source/gameengine/GameLogic/SCA_ANDController.h @@ -32,8 +32,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ANDCONTROLLER -#define __KX_ANDCONTROLLER +#ifndef __SCA_ANDCONTROLLER_H__ +#define __SCA_ANDCONTROLLER_H__ #include "SCA_IController.h" @@ -48,5 +48,5 @@ public: virtual void Trigger(SCA_LogicManager* logicmgr); }; -#endif //__KX_ANDCONTROLLER +#endif //__SCA_ANDCONTROLLER_H__ diff --git a/source/gameengine/GameLogic/SCA_ActuatorEventManager.h b/source/gameengine/GameLogic/SCA_ActuatorEventManager.h index f4d2d7dfd7d..b91e6f872a2 100644 --- a/source/gameengine/GameLogic/SCA_ActuatorEventManager.h +++ b/source/gameengine/GameLogic/SCA_ActuatorEventManager.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ACTUATOREVENTMANAGER -#define __KX_ACTUATOREVENTMANAGER +#ifndef __SCA_ACTUATOREVENTMANAGER_H__ +#define __SCA_ACTUATOREVENTMANAGER_H__ #include "SCA_EventManager.h" @@ -55,5 +55,5 @@ public: #endif }; -#endif //__KX_ACTUATOREVENTMANAGER +#endif //__SCA_ACTUATOREVENTMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_ActuatorSensor.h b/source/gameengine/GameLogic/SCA_ActuatorSensor.h index e7a7525bb40..e40c2492b8a 100644 --- a/source/gameengine/GameLogic/SCA_ActuatorSensor.h +++ b/source/gameengine/GameLogic/SCA_ActuatorSensor.h @@ -32,8 +32,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ACTUATORSENSOR -#define __KX_ACTUATORSENSOR +#ifndef __SCA_ACTUATORSENSOR_H__ +#define __SCA_ACTUATORSENSOR_H__ #include "SCA_ISensor.h" #include "SCA_IActuator.h" diff --git a/source/gameengine/GameLogic/SCA_AlwaysEventManager.h b/source/gameengine/GameLogic/SCA_AlwaysEventManager.h index 2801d649237..21ac55d36a4 100644 --- a/source/gameengine/GameLogic/SCA_AlwaysEventManager.h +++ b/source/gameengine/GameLogic/SCA_AlwaysEventManager.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ALWAYSEVENTMGR -#define __KX_ALWAYSEVENTMGR +#ifndef __SCA_ALWAYSEVENTMANAGER_H__ +#define __SCA_ALWAYSEVENTMANAGER_H__ #include "SCA_EventManager.h" #include @@ -49,5 +49,5 @@ public: #endif }; -#endif //__KX_ALWAYSEVENTMGR +#endif //__SCA_ALWAYSEVENTMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_AlwaysSensor.h b/source/gameengine/GameLogic/SCA_AlwaysSensor.h index 8748793d9a3..d0963fd0ea1 100644 --- a/source/gameengine/GameLogic/SCA_AlwaysSensor.h +++ b/source/gameengine/GameLogic/SCA_AlwaysSensor.h @@ -32,8 +32,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ALWAYSSENSOR -#define __KX_ALWAYSSENSOR +#ifndef __SCA_ALWAYSSENSOR_H__ +#define __SCA_ALWAYSSENSOR_H__ #include "SCA_ISensor.h" class SCA_AlwaysSensor : public SCA_ISensor @@ -50,5 +50,5 @@ public: virtual void Init(); }; -#endif //__KX_ALWAYSSENSOR +#endif //__SCA_ALWAYSSENSOR_H__ diff --git a/source/gameengine/GameLogic/SCA_BasicEventManager.h b/source/gameengine/GameLogic/SCA_BasicEventManager.h index 73e3babbdcf..9d08a7785e2 100644 --- a/source/gameengine/GameLogic/SCA_BasicEventManager.h +++ b/source/gameengine/GameLogic/SCA_BasicEventManager.h @@ -32,8 +32,8 @@ * \ingroup gamelogic */ -#ifndef __SCA_BASICEVENTMGR -#define __SCA_BASICEVENTMGR +#ifndef __SCA_BASICEVENTMANAGER_H__ +#define __SCA_BASICEVENTMANAGER_H__ #include "SCA_EventManager.h" #include @@ -56,5 +56,5 @@ public: #endif }; -#endif //__SCA_BASICEVENTMGR +#endif //__SCA_BASICEVENTMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_DelaySensor.h b/source/gameengine/GameLogic/SCA_DelaySensor.h index ccb8f00c548..2c408921f27 100644 --- a/source/gameengine/GameLogic/SCA_DelaySensor.h +++ b/source/gameengine/GameLogic/SCA_DelaySensor.h @@ -32,8 +32,8 @@ * \ingroup gamelogic */ -#ifndef __KX_DELAYSENSOR -#define __KX_DELAYSENSOR +#ifndef __SCA_DELAYSENSOR_H__ +#define __SCA_DELAYSENSOR_H__ #include "SCA_ISensor.h" class SCA_DelaySensor : public SCA_ISensor diff --git a/source/gameengine/GameLogic/SCA_EventManager.h b/source/gameengine/GameLogic/SCA_EventManager.h index ea24b5c038b..933fdc5190a 100644 --- a/source/gameengine/GameLogic/SCA_EventManager.h +++ b/source/gameengine/GameLogic/SCA_EventManager.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_EVENTMANAGER -#define __KX_EVENTMANAGER +#ifndef __SCA_EVENTMANAGER_H__ +#define __SCA_EVENTMANAGER_H__ #include #include diff --git a/source/gameengine/GameLogic/SCA_ExpressionController.h b/source/gameengine/GameLogic/SCA_ExpressionController.h index 93a3f08c95f..47401ea5807 100644 --- a/source/gameengine/GameLogic/SCA_ExpressionController.h +++ b/source/gameengine/GameLogic/SCA_ExpressionController.h @@ -32,8 +32,8 @@ * \ingroup gamelogic */ -#ifndef __KX_EXPRESSIONCONTROLLER -#define __KX_EXPRESSIONCONTROLLER +#ifndef __SCA_EXPRESSIONCONTROLLER_H__ +#define __SCA_EXPRESSIONCONTROLLER_H__ #include "SCA_IController.h" @@ -65,5 +65,5 @@ public: #endif }; -#endif //__KX_EXPRESSIONCONTROLLER +#endif //__SCA_EXPRESSIONCONTROLLER_H__ diff --git a/source/gameengine/GameLogic/SCA_IActuator.h b/source/gameengine/GameLogic/SCA_IActuator.h index feb21a721d5..211a25b84c8 100644 --- a/source/gameengine/GameLogic/SCA_IActuator.h +++ b/source/gameengine/GameLogic/SCA_IActuator.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_IACTUATOR -#define __KX_IACTUATOR +#ifndef __SCA_IACTUATOR_H__ +#define __SCA_IACTUATOR_H__ #include "SCA_IController.h" #include @@ -166,5 +166,5 @@ public: #endif }; -#endif //__KX_IACTUATOR +#endif //__SCA_IACTUATOR_H__ diff --git a/source/gameengine/GameLogic/SCA_IController.h b/source/gameengine/GameLogic/SCA_IController.h index 5481f2ae8e4..1b15547d898 100644 --- a/source/gameengine/GameLogic/SCA_IController.h +++ b/source/gameengine/GameLogic/SCA_IController.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ICONTROLLER -#define __KX_ICONTROLLER +#ifndef __SCA_ICONTROLLER_H__ +#define __SCA_ICONTROLLER_H__ #include "SCA_ILogicBrick.h" #include "PyObjectPlus.h" diff --git a/source/gameengine/GameLogic/SCA_IInputDevice.h b/source/gameengine/GameLogic/SCA_IInputDevice.h index 5c36d88e29d..ee9fa97c992 100644 --- a/source/gameengine/GameLogic/SCA_IInputDevice.h +++ b/source/gameengine/GameLogic/SCA_IInputDevice.h @@ -32,8 +32,8 @@ * */ -#ifndef KX_INPUTDEVICE_H -#define KX_INPUTDEVICE_H +#ifndef __SCA_IINPUTDEVICE_H__ +#define __SCA_IINPUTDEVICE_H__ #ifdef WITH_CXX_GUARDEDALLOC #include "MEM_guardedalloc.h" @@ -322,5 +322,5 @@ public: #endif }; -#endif //KX_INPUTDEVICE_H +#endif //__SCA_IINPUTDEVICE_H__ diff --git a/source/gameengine/GameLogic/SCA_ILogicBrick.h b/source/gameengine/GameLogic/SCA_ILogicBrick.h index 051bc2aafce..9a23244fa96 100644 --- a/source/gameengine/GameLogic/SCA_ILogicBrick.h +++ b/source/gameengine/GameLogic/SCA_ILogicBrick.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ILOGICBRICK -#define __KX_ILOGICBRICK +#ifndef __SCA_ILOGICBRICK_H__ +#define __SCA_ILOGICBRICK_H__ #include "Value.h" #include "SCA_IObject.h" diff --git a/source/gameengine/GameLogic/SCA_IObject.h b/source/gameengine/GameLogic/SCA_IObject.h index b0a03de1242..0e657794195 100644 --- a/source/gameengine/GameLogic/SCA_IObject.h +++ b/source/gameengine/GameLogic/SCA_IObject.h @@ -31,8 +31,8 @@ * SceneGraph */ -#ifndef SCA_IOBJECT_H -#define SCA_IOBJECT_H +#ifndef __SCA_IOBJECT_H__ +#define __SCA_IOBJECT_H__ #include "Value.h" #include @@ -225,5 +225,5 @@ public: }; -#endif //SCA_IOBJECT_H +#endif //__SCA_IOBJECT_H__ diff --git a/source/gameengine/GameLogic/SCA_IScene.h b/source/gameengine/GameLogic/SCA_IScene.h index 6f048b77acf..e7806ea0746 100644 --- a/source/gameengine/GameLogic/SCA_IScene.h +++ b/source/gameengine/GameLogic/SCA_IScene.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ISCENE_H -#define __KX_ISCENE_H +#ifndef __SCA_ISCENE_H__ +#define __SCA_ISCENE_H__ #include @@ -80,5 +80,5 @@ public: #endif }; -#endif //__KX_ISCENE_H +#endif //__SCA_ISCENE_H__ diff --git a/source/gameengine/GameLogic/SCA_ISensor.h b/source/gameengine/GameLogic/SCA_ISensor.h index ef082095c0d..1e10bcc08fd 100644 --- a/source/gameengine/GameLogic/SCA_ISensor.h +++ b/source/gameengine/GameLogic/SCA_ISensor.h @@ -31,8 +31,8 @@ * pulsemode and pulsefrequency, and event suppression. */ -#ifndef __SCA_ISENSOR -#define __SCA_ISENSOR +#ifndef __SCA_ISENSOR_H__ +#define __SCA_ISENSOR_H__ #include "SCA_IController.h" @@ -215,5 +215,5 @@ public: #endif // WITH_PYTHON }; -#endif //__SCA_ISENSOR +#endif //__SCA_ISENSOR_H__ diff --git a/source/gameengine/GameLogic/SCA_JoystickManager.h b/source/gameengine/GameLogic/SCA_JoystickManager.h index dc778f231af..dcdd667cb1a 100644 --- a/source/gameengine/GameLogic/SCA_JoystickManager.h +++ b/source/gameengine/GameLogic/SCA_JoystickManager.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __JOYSTICKMANAGER_H_ -#define __JOYSTICKMANAGER_H_ +#ifndef __SCA_JOYSTICKMANAGER_H__ +#define __SCA_JOYSTICKMANAGER_H__ #include "SCA_EventManager.h" #include "Joystick/SCA_Joystick.h" diff --git a/source/gameengine/GameLogic/SCA_KeyboardManager.h b/source/gameengine/GameLogic/SCA_KeyboardManager.h index 55dd189d9d1..5706d16ae19 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardManager.h +++ b/source/gameengine/GameLogic/SCA_KeyboardManager.h @@ -31,8 +31,8 @@ * */ -#ifndef __KX_KEYBOARDMANAGER -#define __KX_KEYBOARDMANAGER +#ifndef __SCA_KEYBOARDMANAGER_H__ +#define __SCA_KEYBOARDMANAGER_H__ #include "SCA_EventManager.h" @@ -65,5 +65,5 @@ public: #endif }; -#endif //__KX_KEYBOARDMANAGER +#endif //__SCA_KEYBOARDMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.h b/source/gameengine/GameLogic/SCA_KeyboardSensor.h index 441c833d3a8..8e21d6bfde1 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardSensor.h +++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.h @@ -30,8 +30,8 @@ * \brief Sensor for keyboard input */ -#ifndef __KX_KEYBOARDSENSOR -#define __KX_KEYBOARDSENSOR +#ifndef __SCA_KEYBOARDSENSOR_H__ +#define __SCA_KEYBOARDSENSOR_H__ #include "SCA_ISensor.h" #include "BoolValue.h" @@ -137,7 +137,7 @@ bool IsPrintable(int keyIndex); bool IsDelete(int keyIndex); -#endif //__KX_KEYBOARDSENSOR +#endif //__SCA_KEYBOARDSENSOR_H__ diff --git a/source/gameengine/GameLogic/SCA_LogicManager.h b/source/gameengine/GameLogic/SCA_LogicManager.h index ec8343075d8..8671aa6c796 100644 --- a/source/gameengine/GameLogic/SCA_LogicManager.h +++ b/source/gameengine/GameLogic/SCA_LogicManager.h @@ -28,8 +28,8 @@ * \ingroup gamelogic * \brief Regulates the top-level logic behaviour for one scene. */ -#ifndef __KX_LOGICMANAGER -#define __KX_LOGICMANAGER +#ifndef __SCA_LOGICMANAGER_H__ +#define __SCA_LOGICMANAGER_H__ #if defined(WIN32) && !defined(FREE_WINDOWS) #pragma warning (disable:4786) @@ -153,5 +153,5 @@ public: #endif }; -#endif //__KX_LOGICMANAGER +#endif //__SCA_LOGICMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_MouseManager.h b/source/gameengine/GameLogic/SCA_MouseManager.h index d22d27be394..66a838651c2 100644 --- a/source/gameengine/GameLogic/SCA_MouseManager.h +++ b/source/gameengine/GameLogic/SCA_MouseManager.h @@ -32,8 +32,8 @@ */ -#ifndef __KX_MOUSEMANAGER -#define __KX_MOUSEMANAGER +#ifndef __SCA_MOUSEMANAGER_H__ +#define __SCA_MOUSEMANAGER_H__ #include "SCA_EventManager.h" @@ -74,5 +74,5 @@ public: #endif }; -#endif //__KX_MOUSEMANAGER +#endif //__SCA_MOUSEMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.h b/source/gameengine/GameLogic/SCA_MouseSensor.h index 91352ce58bc..d4eff371d4a 100644 --- a/source/gameengine/GameLogic/SCA_MouseSensor.h +++ b/source/gameengine/GameLogic/SCA_MouseSensor.h @@ -30,8 +30,8 @@ * \brief Senses mouse events */ -#ifndef __KX_MOUSESENSOR -#define __KX_MOUSESENSOR +#ifndef __SCA_MOUSESENSOR_H__ +#define __SCA_MOUSESENSOR_H__ #include "SCA_ISensor.h" #include "BoolValue.h" @@ -117,5 +117,5 @@ class SCA_MouseSensor : public SCA_ISensor #endif }; -#endif //__KX_MOUSESENSOR +#endif //__SCA_MOUSESENSOR_H__ diff --git a/source/gameengine/GameLogic/SCA_NANDController.h b/source/gameengine/GameLogic/SCA_NANDController.h index 723d2a5fe0d..040df7f0ade 100644 --- a/source/gameengine/GameLogic/SCA_NANDController.h +++ b/source/gameengine/GameLogic/SCA_NANDController.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_NANDCONTROLLER -#define __KX_NANDCONTROLLER +#ifndef __SCA_NANDCONTROLLER_H__ +#define __SCA_NANDCONTROLLER_H__ #include "SCA_IController.h" @@ -49,5 +49,5 @@ public: /* --------------------------------------------------------------------- */ }; -#endif //__KX_NANDCONTROLLER +#endif //__SCA_NANDCONTROLLER_H__ diff --git a/source/gameengine/GameLogic/SCA_NORController.h b/source/gameengine/GameLogic/SCA_NORController.h index 26d7e925923..1630f8055ec 100644 --- a/source/gameengine/GameLogic/SCA_NORController.h +++ b/source/gameengine/GameLogic/SCA_NORController.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_NORCONTROLLER -#define __KX_NORCONTROLLER +#ifndef __SCA_NORCONTROLLER_H__ +#define __SCA_NORCONTROLLER_H__ #include "SCA_IController.h" @@ -45,5 +45,5 @@ public: virtual void Trigger(SCA_LogicManager* logicmgr); }; -#endif //__KX_NORCONTROLLER +#endif //__SCA_NORCONTROLLER_H__ diff --git a/source/gameengine/GameLogic/SCA_ORController.h b/source/gameengine/GameLogic/SCA_ORController.h index 53debf894a3..9a4e4c7398d 100644 --- a/source/gameengine/GameLogic/SCA_ORController.h +++ b/source/gameengine/GameLogic/SCA_ORController.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_ORCONTROLLER -#define __KX_ORCONTROLLER +#ifndef __SCA_ORCONTROLLER_H__ +#define __SCA_ORCONTROLLER_H__ #include "SCA_IController.h" @@ -46,5 +46,5 @@ public: virtual void Trigger(SCA_LogicManager* logicmgr); }; -#endif //__KX_ORCONTROLLER +#endif //__SCA_ORCONTROLLER_H__ diff --git a/source/gameengine/GameLogic/SCA_PropertyActuator.h b/source/gameengine/GameLogic/SCA_PropertyActuator.h index 17419e34c2a..e465098131e 100644 --- a/source/gameengine/GameLogic/SCA_PropertyActuator.h +++ b/source/gameengine/GameLogic/SCA_PropertyActuator.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_PROPERTYACTUATOR -#define __KX_PROPERTYACTUATOR +#ifndef __SCA_PROPERTYACTUATOR_H__ +#define __SCA_PROPERTYACTUATOR_H__ #include "SCA_IActuator.h" diff --git a/source/gameengine/GameLogic/SCA_PropertyEventManager.h b/source/gameengine/GameLogic/SCA_PropertyEventManager.h index 3e8a947410b..7d5e13f0ae1 100644 --- a/source/gameengine/GameLogic/SCA_PropertyEventManager.h +++ b/source/gameengine/GameLogic/SCA_PropertyEventManager.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_PROPERTYEVENTMANAGER -#define __KX_PROPERTYEVENTMANAGER +#ifndef __SCA_PROPERTYEVENTMANAGER_H__ +#define __SCA_PROPERTYEVENTMANAGER_H__ #include "SCA_EventManager.h" @@ -54,5 +54,5 @@ public: #endif }; -#endif //__KX_PROPERTYEVENTMANAGER +#endif //__SCA_PROPERTYEVENTMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_PropertySensor.h b/source/gameengine/GameLogic/SCA_PropertySensor.h index bf7b1e879f7..ca942076efa 100644 --- a/source/gameengine/GameLogic/SCA_PropertySensor.h +++ b/source/gameengine/GameLogic/SCA_PropertySensor.h @@ -30,8 +30,8 @@ * \brief Property sensor */ -#ifndef __KX_PROPERTYSENSOR -#define __KX_PROPERTYSENSOR +#ifndef __SCA_PROPERTYSENSOR_H__ +#define __SCA_PROPERTYSENSOR_H__ #include "SCA_ISensor.h" diff --git a/source/gameengine/GameLogic/SCA_PythonController.h b/source/gameengine/GameLogic/SCA_PythonController.h index 521a676bf4a..ccdb82aa722 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.h +++ b/source/gameengine/GameLogic/SCA_PythonController.h @@ -30,8 +30,8 @@ * \brief Execute Python scripts */ -#ifndef KX_PYTHONCONTROLLER_H -#define KX_PYTHONCONTROLLER_H +#ifndef __SCA_PYTHONCONTROLLER_H__ +#define __SCA_PYTHONCONTROLLER_H__ #include "SCA_IController.h" #include "SCA_LogicManager.h" @@ -115,5 +115,5 @@ class SCA_PythonController : public SCA_IController #endif }; -#endif //KX_PYTHONCONTROLLER_H +#endif //__SCA_PYTHONCONTROLLER_H__ diff --git a/source/gameengine/GameLogic/SCA_PythonKeyboard.h b/source/gameengine/GameLogic/SCA_PythonKeyboard.h index f44bb40e13c..df5e46f8c28 100644 --- a/source/gameengine/GameLogic/SCA_PythonKeyboard.h +++ b/source/gameengine/GameLogic/SCA_PythonKeyboard.h @@ -24,8 +24,8 @@ * \ingroup gamelogic */ -#ifndef __KX_PYKEYBOARD -#define __KX_PYKEYBOARD +#ifndef __SCA_PYTHONKEYBOARD_H__ +#define __SCA_PYTHONKEYBOARD_H__ #include "PyObjectPlus.h" @@ -47,5 +47,5 @@ public: #endif }; -#endif //__KX_PYKEYBOARD +#endif //__SCA_PYTHONKEYBOARD_H__ diff --git a/source/gameengine/GameLogic/SCA_PythonMouse.h b/source/gameengine/GameLogic/SCA_PythonMouse.h index 41d286a8048..1313d55005f 100644 --- a/source/gameengine/GameLogic/SCA_PythonMouse.h +++ b/source/gameengine/GameLogic/SCA_PythonMouse.h @@ -24,8 +24,8 @@ * \ingroup gamelogic */ -#ifndef __KX_PYMOUSE -#define __KX_PYMOUSE +#ifndef __SCA_PYTHONMOUSE_H__ +#define __SCA_PYTHONMOUSE_H__ #include "PyObjectPlus.h" @@ -56,5 +56,5 @@ public: #endif }; -#endif //__KX_PYMOUSE +#endif //__SCA_PYTHONMOUSE_H__ diff --git a/source/gameengine/GameLogic/SCA_RandomActuator.h b/source/gameengine/GameLogic/SCA_RandomActuator.h index c439b445a5b..522663651e0 100644 --- a/source/gameengine/GameLogic/SCA_RandomActuator.h +++ b/source/gameengine/GameLogic/SCA_RandomActuator.h @@ -30,8 +30,8 @@ * \brief Draw a random number, and put it in a property */ -#ifndef __KX_RANDOMACTUATOR -#define __KX_RANDOMACTUATOR +#ifndef __SCA_RANDOMACTUATOR_H__ +#define __SCA_RANDOMACTUATOR_H__ #include "SCA_IActuator.h" #include "SCA_RandomNumberGenerator.h" diff --git a/source/gameengine/GameLogic/SCA_RandomEventManager.h b/source/gameengine/GameLogic/SCA_RandomEventManager.h index 31e08776603..7205363a3ee 100644 --- a/source/gameengine/GameLogic/SCA_RandomEventManager.h +++ b/source/gameengine/GameLogic/SCA_RandomEventManager.h @@ -30,8 +30,8 @@ * \brief Manager for random events */ -#ifndef __KX_RANDOMEVENTMGR -#define __KX_RANDOMEVENTMGR +#ifndef __SCA_RANDOMEVENTMANAGER_H__ +#define __SCA_RANDOMEVENTMANAGER_H__ #include "SCA_EventManager.h" #include @@ -53,5 +53,5 @@ public: #endif }; -#endif //__KX_RANDOMEVENTMGR +#endif //__SCA_RANDOMEVENTMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h index 87461b1a783..a935db94020 100644 --- a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h +++ b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h @@ -32,8 +32,8 @@ * on a per-generator basis. */ -#ifndef __KX_RANDOMNUMBERGENERATOR -#define __KX_RANDOMNUMBERGENERATOR +#ifndef __SCA_RANDOMNUMBERGENERATOR_H__ +#define __SCA_RANDOMNUMBERGENERATOR_H__ #ifdef WITH_CXX_GUARDEDALLOC #include "MEM_guardedalloc.h" @@ -83,5 +83,5 @@ public: #endif }; -#endif /* __KX_RANDOMNUMBERGENERATOR */ +#endif /* __SCA_RANDOMNUMBERGENERATOR_H__ */ diff --git a/source/gameengine/GameLogic/SCA_RandomSensor.h b/source/gameengine/GameLogic/SCA_RandomSensor.h index cec8bcdb445..008445ef878 100644 --- a/source/gameengine/GameLogic/SCA_RandomSensor.h +++ b/source/gameengine/GameLogic/SCA_RandomSensor.h @@ -30,8 +30,8 @@ * \brief Generate random pulses */ -#ifndef __KX_RANDOMSENSOR -#define __KX_RANDOMSENSOR +#ifndef __SCA_RANDOMSENSOR_H__ +#define __SCA_RANDOMSENSOR_H__ #include "SCA_ISensor.h" #include "BoolValue.h" @@ -68,5 +68,5 @@ public: #endif }; -#endif //__KX_RANDOMSENSOR +#endif //__SCA_RANDOMSENSOR_H__ diff --git a/source/gameengine/GameLogic/SCA_TimeEventManager.h b/source/gameengine/GameLogic/SCA_TimeEventManager.h index cac52fb2de5..7c813785b9c 100644 --- a/source/gameengine/GameLogic/SCA_TimeEventManager.h +++ b/source/gameengine/GameLogic/SCA_TimeEventManager.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_TIMEEVENTMANAGER -#define __KX_TIMEEVENTMANAGER +#ifndef __SCA_TIMEEVENTMANAGER_H__ +#define __SCA_TIMEEVENTMANAGER_H__ #include "SCA_EventManager.h" #include "Value.h" @@ -61,5 +61,5 @@ public: #endif }; -#endif //__KX_TIMEEVENTMANAGER +#endif //__SCA_TIMEEVENTMANAGER_H__ diff --git a/source/gameengine/GameLogic/SCA_XNORController.h b/source/gameengine/GameLogic/SCA_XNORController.h index c2cdad2cdf4..5ef4dc67cf2 100644 --- a/source/gameengine/GameLogic/SCA_XNORController.h +++ b/source/gameengine/GameLogic/SCA_XNORController.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_XNORCONTROLLER -#define __KX_XNORCONTROLLER +#ifndef __SCA_XNORCONTROLLER_H__ +#define __SCA_XNORCONTROLLER_H__ #include "SCA_IController.h" @@ -50,5 +50,5 @@ public: }; -#endif //__KX_XNORCONTROLLER +#endif //__SCA_XNORCONTROLLER_H__ diff --git a/source/gameengine/GameLogic/SCA_XORController.h b/source/gameengine/GameLogic/SCA_XORController.h index 1f38a510046..56cd2440863 100644 --- a/source/gameengine/GameLogic/SCA_XORController.h +++ b/source/gameengine/GameLogic/SCA_XORController.h @@ -29,8 +29,8 @@ * \ingroup gamelogic */ -#ifndef __KX_XORCONTROLLER -#define __KX_XORCONTROLLER +#ifndef __SCA_XORCONTROLLER_H__ +#define __SCA_XORCONTROLLER_H__ #include "SCA_IController.h" @@ -45,5 +45,5 @@ public: virtual void Trigger(SCA_LogicManager* logicmgr); }; -#endif //__KX_XORCONTROLLER +#endif //__SCA_XORCONTROLLER_H__ -- cgit v1.2.3