Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-12 | BGE Clean-up: New EXP prefix for the BGE Expression module | Jorge Bernal | |
The expression module now uses an EXP prefix and it follows a distribution similar to blender. Additionally the hash function in EXP_HashedPtr.h was simplified and the files EXP_C-Api.h &.EXP_C-Api.cpp were deleted because were unused. Reviewers: campbellbarton, moguri, sybren, hg1 Projects: #game_engine Differential Revision: https://developer.blender.org/D1221 | |||
2015-05-20 | doxygen: corrections/updates | Campbell Barton | |
Also add depsgraph & physics | |||
2015-04-15 | BGE: subclass with more than 1 argument, D1237 | Porteries Tristan | |
In the BGE you can't create a subclass with more than 1 argument like : "player = Player(owner, 10)" I have modified the py_base_new to check only the first argument of args tuple. Now we can do : class Player(types.KX_GameObject): def __init__(self, gameobj, life): print("create new player :", self, ", life :", life) player = Player(own, 50) | |||
2015-01-04 | mathutils: refactor instantiation | Campbell Barton | |
remove 'type' argument, very few mathutils objects are wrapped, add new function for creating wrapped objects. also fixes unlikely memory leak if the data-array can't be allocated. | |||
2013-04-11 | code cleanup: unused vars, make other vars static. | Campbell Barton | |
2013-02-02 | style cleanup: comment format | Campbell Barton | |
2012-12-29 | style cleanup | Campbell Barton | |
2012-11-21 | py api cleanup, replace use... | Campbell Barton | |
- PyLong_FromSsize_t --> PyLong_FromLong - PyLong_AsSsize_t --> PyLong_AsLong In all places except for those where python api expects PySsize_t (index lookups mainly). - use PyBool_FromLong in a few areas of the BGE. - fix incorrect assumption in the BGE that PySequence_Check() means PySequence_Fast_ functions can be used. | |||
2012-11-10 | code cleanup: some warnings and formatting for PyMethodDef's in the BGE. | Campbell Barton | |
2012-11-09 | code cleanup: double promotion warnings, also allow cmake to build SDL ↵ | Campbell Barton | |
without audaspace. | |||
2012-10-21 | style cleanup: bge, switch statements mostly. | Campbell Barton | |
also left bmesh decimator on in previous commit. | |||
2012-09-16 | style cleanup | Campbell Barton | |
2012-09-06 | code cleanup: capitalize defines. | Campbell Barton | |
2012-03-27 | quiet some warnings for gcc 4.7 | Campbell Barton | |
2012-03-24 | style cleanup: follow style guide for/with/if spacing | Campbell Barton | |
2012-03-18 | spelling cleanup | Campbell Barton | |
2012-03-09 | style cleanup: spelling. | Campbell Barton | |
also remove large, duplicate comments from sunsky.h | |||
2012-03-02 | style cleanup | Campbell Barton | |
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used. | |||
2012-03-01 | Spelling Cleanup | Campbell Barton | |
2011-11-24 | rename mathutils constructors to match other parts of the bpy/api (no ↵ | Campbell Barton | |
functional changes) | |||
2011-11-06 | PyUnicode_From_STR_String utility function which passes STR_String to ↵ | Campbell Barton | |
PyUnicode_FromStringAndSize (saves a call to strlen). Also made CValue::ConvertKeysToPython use faster list creation and improved some of the macro formatting. | |||
2011-11-04 | cleanup some BLF macros and dont over-alloc BGE's PyObjectPlus when setting ↵ | Campbell Barton | |
strings (better change then the one I made recently). | |||
2011-11-03 | python string conversion | Campbell Barton | |
- use _PyUnicode_AsStringAndSize where possible - use %R for PyErr_Format(...) rather then running repr on the object explicitly - use const char | |||
2011-10-23 | remove $Id: tags after discussion on the mailign list: ↵ | Campbell Barton | |
http://markmail.org/message/fp7ozcywxum3ar7n | |||
2011-07-22 | remove duplicate function for printing the current file:line of a python ↵ | Campbell Barton | |
script in the BGE. | |||
2011-07-09 | fix for NULL pointer usages | Campbell Barton | |
2011-05-29 | access pythons code object directly rather than attribute access. | Campbell Barton | |
2011-05-28 | fixed "rather then" -> "rather than" typos all over the place | M.G. Kishalmi | |
2011-03-09 | add stddef.h include for offsetof macro for gcc 4.6 compat. | Campbell Barton | |
2011-03-09 | image.depth, 96/128 for float color images, was 24/32 for byte images. | Campbell Barton | |
also use <> for system includes | |||
2011-02-25 | follow up on patch [#26215], not all weakref references were ifdef'd | Campbell Barton | |
2011-02-25 | patch [#26215] Python weak reference (weakref) support for game objects | Campbell Barton | |
by Alex Fraser (z0r) | |||
2011-02-25 | doxygen: gameengine/Expressions tagged. | Nathan Letwory | |
2011-02-23 | doxygen: prevent GPL license block from being parsed as doxygen comment. | Nathan Letwory | |
2010-10-31 | rename and negate DISABLE_PYTHON --> WITH_PYTHON | Campbell Barton | |
2010-07-24 | Fixing a crash when using either BL_ArmatureBone.parent and ↵ | Mitchell Stokes | |
BL_ArmatureBone.children. | |||
2010-07-17 | spelling correction: alredy --> already | Campbell Barton | |
2010-04-18 | remove config.h references, was added for automake build system rev around ↵ | Campbell Barton | |
124-126 but isnt used by any build systems now. | |||
2010-02-12 | correct fsf address | Campbell Barton | |
2009-12-23 | BGE: fix more transpose bug when MathUtils is not used. | Benoit Bolsee | |
2009-12-13 | invalid value for BGE PyObjects was inverted | Campbell Barton | |
2009-09-30 | option to build the BGE without python, uses existing python check (cmake ↵ | Campbell Barton | |
and scons) when python is disabled videotextures are not built. | |||
2009-09-25 | Merge of itasc branch. Project files, scons and cmake should be working. ↵ | Benoit Bolsee | |
Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library. | |||
2009-09-02 | text display (debug info) in the game engine working again & other minor ↵ | Campbell Barton | |
changes. | |||
2009-08-26 | - Add remove game properties now possible from the logic space properties panel. | Campbell Barton | |
- PyDebugLine, utility function to run if the BGE crashes, you can see which python file and line called the C/C++ code. | |||
2009-08-10 | remove python2.x support | Campbell Barton | |
2009-08-07 | svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22205:22290 | Campbell Barton | |
2009-08-05 | fix for writing to freed memory in cases where python wasn't holding a ↵ | Campbell Barton | |
reference to the PyObject | |||
2009-06-30 | Python API | Campbell Barton | |
Mathutils support for subclassing Vector, Quat, Euler and Matrix types. Removed C docstrings, prefer to make sure our epydocs are well maintained rather then duplicate, vague doc strings. Will convert scripts to detect missing docs from the BGE. | |||
2009-06-29 | BGE PyAPI support for subclassing any BGE game type from python, scripters ↵ | Campbell Barton | |
define extra functions on gameObjects. Adding a UI to set the type on startup can be added easily. # ---- class myPlayer(GameTypes.KX_GameObject): def die(self): # ... do stuff ... self.endObject() # make an instance player = myPlayer(gameOb) # gameOb is made invalid now. player.die() # ---- One limitation (which could also be an advantage), is making the subclass instance will return that subclass everywhere, you cant have 2 different subclasses of the same BGE data at once. |