Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-12BGE Clean-up: New EXP prefix for the BGE Expression moduleJorge 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-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-04-15BGE: subclass with more than 1 argument, D1237Porteries 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-04mathutils: refactor instantiationCampbell 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-11code cleanup: unused vars, make other vars static.Campbell Barton
2013-02-02style cleanup: comment formatCampbell Barton
2012-12-29style cleanupCampbell Barton
2012-11-21py 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-10code cleanup: some warnings and formatting for PyMethodDef's in the BGE.Campbell Barton
2012-11-09code cleanup: double promotion warnings, also allow cmake to build SDL ↵Campbell Barton
without audaspace.
2012-10-21style cleanup: bge, switch statements mostly.Campbell Barton
also left bmesh decimator on in previous commit.
2012-09-16style cleanupCampbell Barton
2012-09-06code cleanup: capitalize defines.Campbell Barton
2012-03-27quiet some warnings for gcc 4.7Campbell Barton
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-02style cleanupCampbell 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-01Spelling CleanupCampbell Barton
2011-11-24rename mathutils constructors to match other parts of the bpy/api (no ↵Campbell Barton
functional changes)
2011-11-06PyUnicode_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-04cleanup 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-03python string conversionCampbell Barton
- use _PyUnicode_AsStringAndSize where possible - use %R for PyErr_Format(...) rather then running repr on the object explicitly - use const char
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-07-22remove duplicate function for printing the current file:line of a python ↵Campbell Barton
script in the BGE.
2011-07-09fix for NULL pointer usagesCampbell Barton
2011-05-29access pythons code object directly rather than attribute access.Campbell Barton
2011-05-28fixed "rather then" -> "rather than" typos all over the placeM.G. Kishalmi
2011-03-09add stddef.h include for offsetof macro for gcc 4.6 compat.Campbell Barton
2011-03-09image.depth, 96/128 for float color images, was 24/32 for byte images.Campbell Barton
also use <> for system includes
2011-02-25follow up on patch [#26215], not all weakref references were ifdef'dCampbell Barton
2011-02-25patch [#26215] Python weak reference (weakref) support for game objectsCampbell Barton
by Alex Fraser (z0r)
2011-02-25doxygen: gameengine/Expressions tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-07-24Fixing a crash when using either BL_ArmatureBone.parent and ↵Mitchell Stokes
BL_ArmatureBone.children.
2010-07-17spelling correction: alredy --> alreadyCampbell Barton
2010-04-18remove 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-12correct fsf addressCampbell Barton
2009-12-23BGE: fix more transpose bug when MathUtils is not used.Benoit Bolsee
2009-12-13invalid value for BGE PyObjects was invertedCampbell Barton
2009-09-30option 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-25Merge 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-02text 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-10remove python2.x supportCampbell Barton
2009-08-07svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22205:22290Campbell Barton
2009-08-05fix for writing to freed memory in cases where python wasn't holding a ↵Campbell Barton
reference to the PyObject
2009-06-30Python APICampbell 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-29BGE 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.