blender/source/gameengine/GameLogic
Campbell Barton edcb9f8863 workaround for strange python problem in the BGE and BPy API where printing warnings mistook the blender binary for a script - argv[0], Binary lines were printed into the console sometimes causing console beeps and corrupting future console output.
Internal texts file on disk is not used it seems python warnings dont support this (even though exceptions do).

The most common cause of this is passing a float as an argument to a method that took an int.
get around this by setting __file__ in the namespace to the script name before executing the script, the file lines are not found but at least the output is not weird and confusing.

Added read only 'mode' attribute to the python controller so there is a way to tell if its executing a module or a script. Updated docs to better explain execution methods.
2009-05-29 09:22:24 +00:00
..
Joystick [#18840] Joystick sensor lag 2009-05-28 13:44:32 +00:00
CMakeLists.txt BGE build probs with CMake: directory "source/gameengine/SceneGraph" 2009-05-26 17:15:29 +00:00
Makefile Fix Makefiles for gameengine. 2009-05-11 15:34:46 +00:00
SCA_2DFilterActuator.cpp Name attributes added since 2.48a more consistently. 2009-05-15 03:26:53 +00:00
SCA_2DFilterActuator.h Linux compilation problem, better fix 2009-05-10 21:30:30 +00:00
SCA_ActuatorEventManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ActuatorEventManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
SCA_ActuatorSensor.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ActuatorSensor.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_AlwaysEventManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_AlwaysEventManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
SCA_AlwaysSensor.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_AlwaysSensor.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ANDController.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ANDController.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_DelaySensor.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_DelaySensor.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_EventManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_EventManager.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ExpressionController.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ExpressionController.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_IActuator.cpp BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
SCA_IActuator.h BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
SCA_IController.cpp renamed python 'bookmark' attribute to 'useHighPriority', was renamed in the UI but not in python. 2009-05-28 07:11:12 +00:00
SCA_IController.h BGE: bookmark option on controller to make them run before all other controllers. 2009-05-17 21:50:31 +00:00
SCA_IInputDevice.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
SCA_IInputDevice.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
SCA_ILogicBrick.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ILogicBrick.h BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
SCA_IObject.cpp BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
SCA_IObject.h BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
SCA_IScene.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_IScene.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ISensor.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ISensor.h BGE: renamed sensor type enum to avoid conflict with mingw (NEAR was causing the problem). 2009-05-24 12:53:49 +00:00
SCA_JoystickManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_JoystickManager.h BGE patch approved: BGE Multiple Joysticks 2008-08-31 18:42:58 +00:00
SCA_JoystickSensor.cpp BGE Joystick Hat Bugfix 2009-05-25 06:24:23 +00:00
SCA_JoystickSensor.h BGE Joystick Hat Bugfix 2009-05-25 06:24:23 +00:00
SCA_KeyboardManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_KeyboardManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
SCA_KeyboardSensor.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_KeyboardSensor.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_LogicManager.cpp BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
SCA_LogicManager.h BGE logic patch: fix another incompatibility with YF. 2009-05-20 08:45:42 +00:00
SCA_MouseManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_MouseManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
SCA_MouseSensor.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_MouseSensor.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_NANDController.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_NANDController.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_NORController.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_NORController.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_ORController.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_ORController.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_PropertyActuator.cpp Name attributes added since 2.48a more consistently. 2009-05-15 03:26:53 +00:00
SCA_PropertyActuator.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_PropertyEventManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_PropertyEventManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
SCA_PropertySensor.cpp Name attributes added since 2.48a more consistently. 2009-05-15 03:26:53 +00:00
SCA_PropertySensor.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_PythonController.cpp workaround for strange python problem in the BGE and BPy API where printing warnings mistook the blender binary for a script - argv[0], Binary lines were printed into the console sometimes causing console beeps and corrupting future console output. 2009-05-29 09:22:24 +00:00
SCA_PythonController.h moved py controller functions from SCA_PythonController to SCA_IController - the base controller class so python can get the sensors & actuators from any controller (not just SCA_PythonController types) 2009-05-06 09:12:08 +00:00
SCA_RandomActuator.cpp BGE Py API 2009-05-19 07:16:40 +00:00
SCA_RandomActuator.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_RandomEventManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_RandomEventManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
SCA_RandomNumberGenerator.cpp BGE: fix memleaks. 2009-05-23 14:46:43 +00:00
SCA_RandomNumberGenerator.h BGE: fix memleaks. 2009-05-23 14:46:43 +00:00
SCA_RandomSensor.cpp BGE: fix memleaks. 2009-05-23 14:46:43 +00:00
SCA_RandomSensor.h BGE: fix memleaks. 2009-05-23 14:46:43 +00:00
SCA_TimeEventManager.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_TimeEventManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
SCA_XNORController.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_XNORController.h BGE Python API 2009-04-20 23:17:52 +00:00
SCA_XORController.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
SCA_XORController.h BGE Python API 2009-04-20 23:17:52 +00:00
SConscript changes to get benoits logic updates building on scons with gcc 2009-05-10 21:22:25 +00:00