blender/source/gameengine/Expressions
Campbell Barton 33b974ee43 BGE Py API
- Deprecation warnings for using attribute access

- Added dictionary functions to KX_GameObject and ListValue
    ob.get(key, default=None)
    ob.has_key(key)
 ob.has_key is important since there was no way to do something like hasattr(ob, "attr") which can be replaced by ob.has_key("attr") - (both still work of course).
 ob.get is just useful in many cases where you want a property if it exists but can fallback to a default.

- CListValue::FindValue was adding a reference but the ~3 places it was used were releasing the reference. added a FindValue that accepts a const char* type to avoid converting python strings to STR_String.
2009-05-26 16:15:40 +00:00
..
BoolValue.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
BoolValue.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
CMakeLists.txt BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
ConstExpr.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
ConstExpr.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
EmptyValue.cpp BGE C++ API 2009-04-22 14:42:00 +00:00
EmptyValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
ErrorValue.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
ErrorValue.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
EXP_C-Api.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
EXP_C-Api.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
Expression.cpp Various mem leaks related to CValue reference count fixed 2008-03-01 19:46:50 +00:00
Expression.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
FloatValue.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
FloatValue.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
IdentifierExpr.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
IdentifierExpr.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
IfExpr.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
IfExpr.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
InputParser.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
InputParser.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
IntValue.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
IntValue.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
KX_HashedPtr.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_HashedPtr.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_Python_dynamic.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_Python_static.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_Python.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
ListValue.cpp BGE Py API 2009-05-26 16:15:40 +00:00
ListValue.h BGE Py API 2009-05-26 16:15:40 +00:00
Makefile Fix Makefiles for gameengine. 2009-05-11 15:34:46 +00:00
Operator1Expr.cpp Last of the config.h mods... 2002-11-25 15:29:57 +00:00
Operator1Expr.h Synchronise game engine with Tuhopuu2 tree. 2004-04-24 06:40:15 +00:00
Operator2Expr.cpp Synchronise game engine with Tuhopuu2 tree. 2004-04-24 06:40:15 +00:00
Operator2Expr.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
PyObjectPlus.cpp BGE Script template for a python module (set EOL to native this time) 2009-05-26 07:41:34 +00:00
PyObjectPlus.h BGE: Add MT_Vector3 support for Py attribute macro system. See KX_PYATTRIBUTE_VECTOR_... 2009-05-11 12:41:48 +00:00
SConscript changes to get benoits logic updates building on scons with gcc 2009-05-10 21:22:25 +00:00
StringValue.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
StringValue.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
Value.cpp BGE Py API 2009-05-26 16:15:40 +00:00
Value.h Misc warnings 2009-05-26 10:44:14 +00:00
VectorValue.cpp BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
VectorValue.h BGE performance, 4th round: logic 2009-05-10 20:53:58 +00:00
VoidValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00