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
2009-04-13SVN maintenance.Guillermo S. Romero
2009-04-13mesh proxy attributes from andrecasteloCampbell Barton
2009-04-12BGE Py APICampbell Barton
- setting the scene attributes would always add to the scenes custom dictionary. - new CListValue method from_id(id) so you can store a Game Objects id and use it to get the game object back. ob_id = id(gameOb) ... gameOb = scene.objects.from_id(ob_id) This is useful because names are not always unique.
2009-04-10BGE API cleanup: ConstraintActuator.Benoit Bolsee
2009-04-10BGE BugfixCampbell Barton
The End key didn't work work at all for the keyboard sensor. Removed getEventList() since it was added since 2.48a release.
2009-04-10BGE API cleanup: StateActuator.Benoit Bolsee
2009-04-10BGE API cleanup: sound actuator.Benoit Bolsee
2009-04-09Added GameKeys.EventToCharacter(event, is_shift) so you can get the ↵Campbell Barton
character that would be types when pressing a key. Last commit was made in the pydocs folder only, so this includes changes mentioned in rev 19620.
2009-04-09BGE Py APICampbell Barton
- added keyboard senser attribute "events" to replace getEventList() - fix 2 memory leaks in the python api (was making a list but not returning it) - setting readonly attributes didnt give a good error message.
2009-04-09BGE API cleanup: 2DFilterActuator.Benoit Bolsee
2009-04-08BGE patch #18350: Add sendMessage() to GameLogic. Added sendMessage to both ↵Benoit Bolsee
GameLogic and KX_GameObject.
2009-04-08BGE patch #18051: add localInertia attribute to GameObject.Benoit Bolsee
2009-04-07BGE api added place holder docs and CListValue docs.Campbell Barton
2009-04-07Updated bge_api_validate_py.txt to check for undocumented attributesCampbell Barton
All types methods and attributes are now documented (except for some types have no epydoc .py files for at all)
2009-04-07BGE Joystick SensorCampbell Barton
- Raised limit of 2 axis to 4 axis pairs (4==8 joysticks axis pairs) - Added a new Joystick Sensor type "Single Axis", so you can detect horizontal or vertical movement, rather then just Up/Down/Left/Right - added Python attribute "axisSingle" so you can get the value from the selected axis (rather then getting it out of the axis list) - renamed Py attribute "axisPosition" to "axisValues" (was never in a release) If we need to increase the axis limit again just change JOYAXIS_MAX and the button limits.
2009-04-06BGE Python APICampbell Barton
- added a module for the BGE - GameTypes, only contains types. - added KX_PYATTRIBUTE_DUMMY attributes for KX_Light, KX_PolyProxy, KX_VertexProxy, so all types should give correct results from a dir(). - added a script to check for missing methods in the epydocs - bge_api_validate_py.txt
2009-04-06BGE Epydocs were missing some functionsCampbell Barton
renamed KX_Light -> KX_LightObject added some missing controllers
2009-04-05BGE Bugfixes (mostly in the py api)Campbell Barton
KX_PolygonMaterial and KX_BlenderMaterial - Added a print function (would raise a python error on printing) * Crashes * KX_GameObject SetParent - Disallowed setting a parent to its self, caused a recursion crash. KX_MeshProxy "materials" attribute was segfaulting because of my recent change - I was wrong, you do need to check material types (no idea why since they are both PyObject * at the base) KX_VisibilityActuator - Wasn't initialized with PyType_Ready() making it crash on access (own fault) * Crashes because of missing NULL checks * KX_PolygonMaterial's "gl_texture" attribute wasnt checking for a valid m_tface KX_GameObject - added checks for GetPhysicsController() KX_RayCast::RayTest - didnt check for a valid physics_environment KX_SceneActuator's getCamera python function wasnt checking if there was a camera.
2009-04-05- fixed errors with bge epydocsCampbell Barton
- changed epy_docgen.sh so inherited attributes & methods are included inline for each type, removed source option since its not useful and makes the download bigger.
2009-04-05added experimental KX_GameObject attributes "sensors", "controllers" and ↵Campbell Barton
"actuators"
2009-04-04Made KX_MeshProxy use PyAttributeDef. simplified getting the 'materials' ↵Campbell Barton
attribute (no need to differentiate between types) Added KX_GameObject 'meshes' attribute to replace getMesh(i)
2009-04-01BGE API cleanup: ReplaceMeshActuator mesh attributes now returns a ↵Benoit Bolsee
KX_MeshProxy. Fix a bug in KX_MeshProxy where the Python type was not set right.
2009-04-01Clean up for the imminent migration from SVN to GIT.Guillermo S. Romero
2009-04-01BGE API cleanup: DynamicActuator, ReplaceMeshActuator, TrackToActuator.Benoit Bolsee
2009-03-31BGE API cleanup, patch from Moguri: RaySensor, NetworkMessageActuator, ↵Benoit Bolsee
NetworkMessageSensor.
2009-03-29BGE API cleanup: CDActuator, ParentActuator, VisibilityActuator done. Thanks ↵Benoit Bolsee
to Andre.
2009-03-28BGE API Cleanup: GameActuator (patch from Andre)Benoit Bolsee
2009-03-28BGE API cleanup: AddObject, DeleteObject and Scene actuator added.Benoit Bolsee
2009-03-26Added attributes for Ipo Actuator settings (replacing all methods)Campbell Barton
2009-03-24Use Benoits attributes in KX_GameObject.Campbell Barton
Deprecated.. getPosition, setPosition, getOrientation, setOrientation, getState, setState, getParent, getVisible, getMass * swapped set/get to get/set in KX_PYATTRIBUTE_RW_FUNCTION macro to match pythons getsetattrs. * deprecation warnings in the api and notes in epydocs. * added 'state' attribute * gameob.mass = 10 # now works because its not checking only for float values. * dir(gameob) # includes attributes now
2009-03-01BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.Benoit Bolsee
2009-02-26- Attributes for the collision sensor: propertyName, materialCheck, ↵Campbell Barton
pulseCollisions, objectHit and objectHitList. Removed a check in Python API touch.setProperty() for the property name on the sensor owner before allowing the name to be set - it makes no sense and isnt checked when creating the sensor. - SCA_DelaySensor.py indent error making epydoc fail.
2009-02-24Making KX_GameObject names read only.Campbell Barton
This was committed in revision 2832 but never accounted for existing object name hashes which existed since revision 2. Its possible to update the names elsewhere but unlikely anyone ever used this successfully so removing.
2009-02-24BGE Py APICampbell Barton
* Made GameLogic.addActiveActuator(actu, bool) to raise an error if the actuator is not in the list. Before it would allow any value as the actuator and fail silently (makes debugging scripts more difficult). * Allow the actuator to be a string which is convenient if you dont want to change the settings of the actuator. * Added activate/deactivate functions to the controller, this is more logical since the GameLogic.addActiveActuator() function is running through the controller anyway. GameLogic.addActiveActuator(controller.getActuator("SomeAct"), True) ...can be replaced with... controller.activate("SomeAct")
2009-02-19"object" and "objectLastCreated" attribute for actuators, deprecates ↵Campbell Barton
getObject/setObject() & getLastCreatedObject() also removed some warnings
2009-02-07BGE Py API cleanup: Camera Actuator.Benoit Bolsee
2009-01-22BGE API cleanup: shape action actuator.Benoit Bolsee
2009-01-21BGE API cleanup: action actuator.Benoit Bolsee
2008-12-29First batch of GE API cleanup.Benoit Bolsee
The principle is to replace most get/set methods of logic bricks by direct property access. To make porting of game code easier, the properties have usually the same type and use than the return values/parameters of the get/set methods. More details on http://wiki.blender.org/index.php/GameEngineDev/Python_API_Clean_Up Old methods are still available but will produce deprecation warnings on the console: "<method> is deprecated, use the <property> property instead" You can avoid these messages by turning on the "Ignore deprecation warnings" option in Game menu. PyDoc is updated to include the new properties and display a deprecation warning for the get/set methods that are being deprecated.
2008-12-09patch from Mitchell StokesCampbell Barton
#18045] [patch] A patch that exposes the rest of the motion functions of KX_GameObject to Python. *applyForce => setForce *applyTorque => setTorque *applyRotation => setDRot *applyMovement => setDLoc
2008-10-30* Build aborts when giving options on command-line when WITH_BF_DOCS=TrueNathan Letwory
- make sure epydoc generation doesn't get a fit over options given on scons command-line -> don't use arguments from command-line.
2008-10-27face transp option CLIP wasnt added to the py api.Campbell Barton
added gameObject.replaceMesh(meshname) - needed this for an automatically generated scene where 100's of objects would have needed logic bricks automatically added. Quicker to run replace mesh on all of them from 1 script.
2008-10-21renamed WITH_BF_BPYDOC to WITH_BF_DOCS, added SConscript for building BGE ↵Campbell Barton
docs too.
2008-10-18Added joystick epydocs, only changed incorrect docstrings in ↵Campbell Barton
SCA_JoystickSensor.cpp patch [#17857] HotKeys Update by dfelinto - SmoothStroke and Anchored. Made own edits, removed videoscape and added curve and armature specials.
2008-10-15cleanup epydoc errorsCampbell Barton
2008-09-25BGE patch: add advanced parameters for SoftBody. Add Rasterizer.drawLine() ↵Benoit Bolsee
Python function.
2008-09-23BGE patch #17569 approved: Make FrameProp: work in Shape Action. PyDoc updated.Benoit Bolsee
2008-09-13Game engine: added Rasterizer.get/setMaterialMode to set texface,Brecht Van Lommel
multitexture or glsl materials. This does not affect existing scenes, only newly created ones.
2008-09-10BGE bug #17549: fix crash on removeParent() with static mesh. Fix scaling ↵Benoit Bolsee
bug on setParent(). Add python setWorldPosition() to allow setting object position in world coordinate regardless if it is a root or a child object.
2008-09-05BGE Py APICampbell Barton
added exception messages for replaceMesh.setMesh() and allowed None as an argument. added exception messages for other BGE module functions.