blender/source/gameengine/GameLogic
Jorge Bernal 8c98b1649d BGE: Fix for T42341 Sensor.frequency is badly named
"Frequency" parameter is renamed to "Skip" in the LogicBricks sensors as it represents skipped frames between pulses.

Naming something (frequency) the exact opposite of what it represents (period) was the worst choice.

Also, a new BGE python attribute 'skippedTicks' was introduced. 'frequency' attribute is maintained but deprecated.

Internally, freq variable is used yet at DNA_Sensor to maintain compability and to avoid do_versions.

Thanks to Sybren for the investigation.

{F162440}

Reviewers: campbellbarton, sybren, moguri, hg1

Reviewed By: sybren, hg1

Differential Revision: https://developer.blender.org/D1229
2015-04-16 06:39:33 +02:00
..
Joystick BGE: Fix for regressions T43883 and T43456 (and T43876 likely). SDL joystick related 2015-03-07 21:27:30 +01:00
CMakeLists.txt clang/cmake - quiet warnings for external libs and reference moto as a system include. 2013-07-15 08:26:16 +00:00
SCA_2DFilterActuator.cpp BGE: Fixing a crash that occurred when LibLoading a scene with a 2D Filter Actuator. The actuator was still referencing the old scene. 2012-12-31 21:32:46 +00:00
SCA_2DFilterActuator.h BGE: Fixing a crash that occurred when LibLoading a scene with a 2D Filter Actuator. The actuator was still referencing the old scene. 2012-12-31 21:32:46 +00:00
SCA_ActuatorEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_ActuatorEventManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_ActuatorSensor.cpp use defines for property name lenghths in the BGE, were using 31,32,64,100. 2012-01-16 05:27:11 +00:00
SCA_ActuatorSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_AlwaysEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_AlwaysEventManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_AlwaysSensor.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
SCA_AlwaysSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_ANDController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_ANDController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_BasicEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_BasicEventManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_DelaySensor.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
SCA_DelaySensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_EventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_EventManager.h BGE cleanup: Removing the unused SCA_EventManager::Replace_PhysicsScene(). 2014-05-01 19:43:07 -07:00
SCA_ExpressionController.cpp fix for possible leak in the expression controller find identifier. 2013-11-02 05:18:31 +00:00
SCA_ExpressionController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_IActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_IActuator.h BGE: New Mouse Actuator 2014-06-25 15:47:37 -07:00
SCA_IController.cpp py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
SCA_IController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_IInputDevice.cpp style cleanup 2012-09-16 04:58:18 +00:00
SCA_IInputDevice.h Cleanup: style 2015-01-21 11:57:11 +11:00
SCA_ILogicBrick.cpp py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
SCA_ILogicBrick.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_IObject.cpp style cleanup 2012-09-16 04:58:18 +00:00
SCA_IObject.h reverting unintentionally changed value of enum OBJ_TEXT 2015-03-16 18:58:58 +01:00
SCA_IScene.cpp cleanup: style 2015-02-07 04:50:21 +11:00
SCA_IScene.h BGE debug API and actuator 2014-07-11 16:00:14 -07:00
SCA_ISensor.cpp BGE: Fix for T42341 Sensor.frequency is badly named 2015-04-16 06:39:33 +02:00
SCA_ISensor.h BGE: Fix for T42341 Sensor.frequency is badly named 2015-04-16 06:39:33 +02:00
SCA_JoystickManager.cpp BGE: Adding a Python interface for handling joysticks without needing logic bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like: 2012-12-21 02:28:59 +00:00
SCA_JoystickManager.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
SCA_JoystickSensor.cpp Fix crash on joystick access (if SDL's not found) 2015-01-29 17:17:29 +11:00
SCA_JoystickSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_KeyboardManager.cpp style cleanup: pep8, indentation 2012-03-24 07:36:32 +00:00
SCA_KeyboardManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_KeyboardSensor.cpp Fix 8 memory leaks from bad PyList_Append use 2015-01-04 20:35:16 +11:00
SCA_KeyboardSensor.h Fix T38110: GameEngine keyboard sensor ignores unicode characters 2014-01-23 14:58:04 +11:00
SCA_LogicManager.cpp code cleanup: 2013-03-25 02:41:30 +00:00
SCA_LogicManager.h Cleanup: style 2015-01-21 11:57:11 +11:00
SCA_MouseManager.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
SCA_MouseManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_MouseSensor.cpp py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
SCA_MouseSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_NANDController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_NANDController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_NORController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_NORController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_ORController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_ORController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_PropertyActuator.cpp BGE: Add level mode to property actuator 2014-07-17 22:49:40 -07:00
SCA_PropertyActuator.h BGE: Add level mode to property actuator 2014-07-17 22:49:40 -07:00
SCA_PropertyEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_PropertyEventManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_PropertySensor.cpp BGE: New Property sensor evaluation types 2014-06-16 14:56:36 -07:00
SCA_PropertySensor.h BGE: New Property sensor evaluation types 2014-06-16 14:56:36 -07:00
SCA_PythonController.cpp Slight cleanup for 4af848e. 2014-07-02 22:55:39 -07:00
SCA_PythonController.h py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
SCA_PythonJoystick.cpp BGE: Fix for [#33839] "a logic.joysticks Crashes BGE" reported by Josiah Lane (solarlune). 2013-01-12 05:44:08 +00:00
SCA_PythonJoystick.h BGE: Adding a Python interface for handling joysticks without needing logic bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like: 2012-12-21 02:28:59 +00:00
SCA_PythonKeyboard.cpp py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
SCA_PythonKeyboard.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_PythonMouse.cpp py api cleanup, replace use... 2012-11-21 02:28:36 +00:00
SCA_PythonMouse.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_RandomActuator.cpp style cleanup: comment format 2013-02-02 04:48:21 +00:00
SCA_RandomActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_RandomEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_RandomEventManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_RandomNumberGenerator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
SCA_RandomNumberGenerator.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
SCA_RandomSensor.cpp BGE: Fix for T42341 Sensor.frequency is badly named 2015-04-16 06:39:33 +02:00
SCA_RandomSensor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_TimeEventManager.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
SCA_TimeEventManager.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_XNORController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_XNORController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SCA_XORController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
SCA_XORController.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SConscript split bge includes for scons onto their own lines (for easier merging) 2013-05-29 21:56:55 +00:00