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-02-03BGE: python API cleanup - initialization for bge with submodules, closes D615Ines Almeida
2015-02-03BGE: python API cleanup - bge submodules definitionsInes Almeida
2015-02-03BGE: python API initialization cleanupInes Almeida
-Removing unused parameters -Updating some parts to match bpy_interface.c initialization Cherry-picking 14fceb6 onto 117edbb Conflicts: source/gameengine/Ketsji/KX_PythonInit.cpp
2013-12-23Style cleanup: BGEHG1
2012-10-09code cleanup: make header defines more consistent, JOYSENSOR header guard ↵Campbell Barton
had a typo too.
2012-09-16style cleanupCampbell Barton
2012-09-02..\commmit_hive.txtBenoit Bolsee
2012-06-21Fix for [#31396] "bge.logic.LibLoad fails to import text blocks" reported by ↵Mitchell Stokes
Leonard Ritter. Blender's import function check's the Text datablocks in main for additional modules for importing. However, libloaded scenes were 1) not loading Text datablocks and 2) not letting bpy know about them. Text datablocks are now loaded if a Scene is loaded and bpy can now looking through extra Mains to find additional modules.
2012-02-23use __ prefix on header guards to avoid mixing up defines with api functions ↵Campbell Barton
/ classes.
2011-10-27use const for readonly strings and set some functions to staticCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-05-17synched with trunk at revision 36569Nick Samarin
2011-03-22Blenderplayer: Fixing import issues. Using PyImport_ExtendInittab() for the ↵Mitchell Stokes
Blender modules allows them to be imported in the Blenderplayer.
2011-02-22doxygen: entries for blenderroutines, converter, expressions, gamelogic, ↵Nathan Letwory
gameplayer, ketsji
2011-02-16synched with trunk at revision 34793Nick Samarin
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-06-10Added debug circle rendering (extended OglDebugLine to OglDebugShape, ↵Nick Samarin
created new function KX_RasterizerDrawDebugCircle)
2010-05-05[#22177] Adding BLF to the BGE and exposing BLF_load as blf.loadCampbell Barton
from Mitchell Stokes (moguri) also updated blf docs
2010-02-12correct fsf addressCampbell Barton
2010-01-11get rid of annoying duplicate python initialization code, added ↵Campbell Barton
setupGamePython() which initializes modules
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-06-01BGE Blendfile path bug (use for loading and saving the GameLogic.globalDict)Campbell Barton
the original blendfile path wasn't reset when loading new blendfiles. blenderplayer was ok, but running the BGE from blender would set the blendfile original path and never reset it on loading other blend files.
2009-04-30added Geometry as a BGE module, removed its dependency on gen_utils.cCampbell Barton
2009-04-20BGE Python APICampbell Barton
- initialize pythons sys.argv in the blenderplayer - ignore all arguments after a single " - " in the blenderplayer (like in blender), so args can be passed to the game. - add a utility function PyOrientationTo() - to take a Py euler, quat or 3x3 matrix and convert into a C++ MT_Matrix3x3. - add utility function ConvertPythonToMesh to get a RAS_MeshObject from a KX_MeshProxy or a name. - Added error prefix arguments to ConvertPythonToGameObject, ConvertPythonToMesh and PyOrientationTo so the error messages can include what function they came from. - deprecated brick.getOwner() for the "owner" attribute.
2009-04-07BGE Py APICampbell Barton
- Added OpenGL access to the game engine as a module so you can import BGL directly.
2009-04-05BGE PyAPI can now import text (within the blend-file)Campbell Barton
Previously this only worked with the Blender API. - bpy_internal_import small C file that Blender scripting and the game engine use. - Tested with blender, blenderplayer, loading files - Needed to use a hack to override the Main struct since the game engine doesn't set G.main - when the sandbox is set, only internal scripts can be imported.
2008-11-01Preparation to VideoTexture: everything but the VideoTexture module itself.Benoit Bolsee
Rename PHY_GetActiveScene() to KX_GetActiveScene(): more logical name Add KX_GetActiveEngine() new KX_KetsjiEngine::GetClockTime(void) to return current render frame time: if the CPU does not keep up with the frame rate, up to 5 consecutive logic frames are processed between each render frame, so that the logic system stays accurate even if the graphic system is slow. For the video texture module, it is important to stay in sync with the render frame: no need to update the texture for logic frame. BL_Texture::swapTexture(): texture id manipulation BL_Texture::getTex() : return material texture Enable video support in ffmpeg for Linux.
2008-10-11Fix for a relative paths issue in the game engine. G.sce was beingBrecht Van Lommel
kept as the original file, but that can't work correct for solving relative paths once a .blend in another directory is loaded. The reason it went OK with the apricot tech demo is that the images there were lib linked into the level file, which still worked. Now it sets G.sce to the current loaded .blend file. Note that the python config file path still uses the first loaded .blend file so it looks in the same location each time. Also added some NULL pointer checks in the joystick code because it was crashing there on Mac, there's similar checks in related functions so I'm assuming this was just a missed case.
2008-09-12save and load configuration actuator, (option in game actuator menu)Campbell Barton
saves a marshal'd GameLogic.globalDict to the blendfile path with the blend extension replaced with bgeconf Use this in YoFrankie to save keyboard layout and graphics quality settings.
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-08-06Made Mathutils its own module rather then GanmeLogic.MathutilsCampbell Barton
2008-07-14importing the GameLogic module was being done by adding the text "import ↵Campbell Barton
GameLogic" to the start of all scripts used in the game engine, this meant every error line number was off by 1 (quite annoying). better to do this to the dictionary that the scripts run with.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-02-16patch 8235 8218 8211 added: various gameengine improvements, fixed windows ↵Benoit Bolsee
project files
2006-05-14Patch from Charlie:Erwin Coumans
Cleared the python dictionary at the end of the game engine, should fix some issues, also reverted the python controller changes, related to this This should fix the following bugs: [ #3789 ] [ #3815 ] possiblyy fixes: [ #3834 ]
2005-07-27- added debug line drawing in gameengine (handy for debugging physics problems)Erwin Coumans
- added #ifdef for a visual studio 8 crashing problems - added scaling and tolerances to triangle meshes
2004-05-21Fixes for Camera objects and python:Kester Maddock
Normalise clip planes for sphere testing. Do a frustum-sphere <-> sphere test Reference count all python objects (!)
2002-12-27Removed the config.h thing from the .h's in the source dir.Kent Mein
So we should be all set now :) Kent -- mein@cs.umn.edu
2002-11-25Did all of the .h's in sourceKent Mein
(adding) #ifdef HAVE_CONFIG_H #include <config.h> #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu
2002-10-30fixed spacing in the headers to get rid of some warnings and some otherKent Mein
little minor spacing issues.
2002-10-12Initial revisionv2.25Hans Lambermont