blender/source/gameengine
Mitchell Stokes 84966c3d0a BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs:
# Print a message when an async LibLoad is done
      import bge

      def finished_cb(status):
          print("Library (%s) loaded in %.2fms." % (status.libraryName, status.timeTaken))

      bge.logic.LibLoad('myblend.blend', 'Scene', async=True).onFinish = finished_cb

LibLoad() now returns a KX_LibLoadStatus object for information on the library loading. LibNew() and LibFree() are unaffected by this commit. In other words, the async option only works for LibLoad(). Furthermore it only works for Scenes, not Actions or Meshes.
2012-12-22 05:38:32 +00:00
..
BlenderRoutines code cleanup: warnings 2012-12-19 01:48:54 +00:00
Converter BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
Expressions Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
GameLogic BGE: Adding a Python interface for handling joysticks without needing logic bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like: 2012-12-21 02:28:59 +00:00
GamePlayer style cleanup 2012-12-20 00:29:31 +00:00
Ketsji BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
Network Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
Physics Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
Rasterizer style cleanup 2012-12-20 00:29:31 +00:00
SceneGraph Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
VideoTexture Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
CMakeLists.txt code cleanup: use system includes for cmake, otherwise warnings get printed in headers. 2012-09-18 04:40:20 +00:00
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00