blender/source/gameengine/Expressions
Campbell Barton 6b9f3b5f5c BGE Python API
Remove the last of the odd C++/python wrapper code from http://www.python.org/doc/PyCPP.html (~1998)

* Use python subclasses rather then having fake subclassing through get/set attributes calling parent types.
* PyObject getset arrays are created while initializing the types, converted from our own attribute arrays. This way python deals with subclasses and we dont have to define getattro or setattro functions for each type.
* GameObjects and Scenes no longer have attribute access to properties. only dictionary style access - ob['prop']
* remove each class's get/set/dir functions.
* remove isA() methods, can use PyObject_TypeCheck() in C and issubclass() in python.
* remove Parents[] array for each C++ class, was only used for isA() and wasnt correct in quite a few cases.
* remove PyTypeObject that was being passed as the last argument to each class (the parent classes too).

TODO -
* Light and VertexProxy need to be converted to using attributes.
* memory for getset arrays is never freed, not that bad since its will only allocates once.
2009-06-28 11:22:26 +00:00
..
BoolValue.cpp 2.50: 2009-06-08 20:08:19 +00:00
BoolValue.h 2.50: 2009-06-08 20:08:19 +00:00
CMakeLists.txt more corrections from cleanup :/ 2009-06-21 17:03:17 +00:00
ConstExpr.cpp 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
ConstExpr.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
EmptyValue.cpp 2.50: 2009-06-08 20:08:19 +00:00
EmptyValue.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
ErrorValue.cpp 2.50: 2009-06-08 20:08:19 +00:00
ErrorValue.h 2.50: 2009-06-08 20:08:19 +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 2.50: 2009-06-08 20:08:19 +00:00
FloatValue.h 2.50: 2009-06-08 20:08:19 +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 2.50: 2009-06-08 20:08:19 +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 Py API 2009-06-16 07:16:51 +00:00
InputParser.h 2.50: 2009-06-08 20:08:19 +00:00
IntValue.cpp 2.50: 2009-06-08 20:08:19 +00:00
IntValue.h 2.50: 2009-06-08 20:08:19 +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 PyAPI RNA/BGE 2009-06-25 10:11:37 +00:00
ListValue.cpp BGE Python API 2009-06-28 11:22:26 +00:00
ListValue.h BGE Python API 2009-06-28 11:22:26 +00:00
Makefile 2.5 2009-06-23 16:57: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 Python API 2009-06-28 11:22:26 +00:00
PyObjectPlus.h BGE Python API 2009-06-28 11:22:26 +00:00
SConscript Fix for compiler error since BLO_sys_types.h was not in the path 2009-06-18 21:25:21 +00:00
StringValue.cpp 2.50: 2009-06-08 20:08:19 +00:00
StringValue.h 2.50: 2009-06-08 20:08:19 +00:00
Value.cpp BGE Python API 2009-06-28 11:22:26 +00:00
Value.h BGE Python API 2009-06-28 11:22:26 +00:00
VectorValue.cpp 2.50: 2009-06-08 20:08:19 +00:00
VectorValue.h 2.50: 2009-06-08 20:08:19 +00:00
VoidValue.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00