blender/source/gameengine
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
..
BlenderRoutines removed un-needed hack, something weired was going on when debugging that made the pointers to these functions change after initialization. 2009-06-28 02:47:49 +00:00
Converter BGE Python API 2009-06-28 11:22:26 +00:00
Expressions BGE Python API 2009-06-28 11:22:26 +00:00
GameLogic BGE Python API 2009-06-28 11:22:26 +00:00
GamePlayer Spring Cleaning 2009-06-21 16:18:38 +00:00
Ketsji BGE Python API 2009-06-28 11:22:26 +00:00
Network 2.50: 2009-06-08 20:08:19 +00:00
Physics Spring Cleaning 2009-06-21 16:18:38 +00:00
PyDoc BGE Action Actuator setChannel() function was broken in a number of ways. 2009-06-16 18:25:48 +00:00
Rasterizer merged from trunk 20741:20848 2009-06-13 11:09:13 +00:00
SceneGraph 2.50: 2009-06-08 20:08:19 +00:00
VideoTexture svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r20855:20928 2009-06-16 14:21:58 +00:00
CMakeLists.txt Spring Cleaning 2009-06-21 16:18:38 +00:00
Makefile Makefile fixes for compiling with new videotexture code. 2008-11-02 18:12:45 +00:00
SConscript Spring Cleaning 2009-06-21 16:18:38 +00:00