blender/source
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
..
blender 2.5 2009-06-28 09:35:37 +00:00
creator more corrections from cleanup :/ 2009-06-21 17:03:17 +00:00
darwin * Updated the Mac OS X blender and .blend file icons to support 2009-05-21 13:39:47 +00:00
gameengine BGE Python API 2009-06-28 11:22:26 +00:00
icons Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
kernel 2.50: 2009-06-08 20:08:19 +00:00
CMakeLists.txt 2.50: 2009-06-08 20:08:19 +00:00
Makefile Spring Cleaning 2009-06-21 16:18:38 +00:00
nan_compile.mk Spring Cleaning 2009-06-21 16:18:38 +00:00
nan_definitions.mk Spring Cleaning 2009-06-21 16:18:38 +00:00
nan_link.mk Spring Cleaning 2009-06-21 16:18:38 +00:00
nan_subdirs.mk Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
nan_warn.mk Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
SConscript 2009-03-30 18:21:17 +00:00