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
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2010-01-30 21:23:13 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2010-01-30 21:23:13 +0300
commitcfdd53a4f8e7e80754fd1c6c796bf4410a0213a5 (patch)
tree5be1cfe234713339ef4e9075e0c39d6e6db0c4ef /source/gameengine/PyDoc
parent0c899f7ded58ef25e29bb60d393b101c40a6ccc5 (diff)
BGE: patch #20399 Python control over adding/removing scenes.
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/GameLogic.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/GameLogic.py b/source/gameengine/PyDoc/GameLogic.py
index 3cf15636892..a6681bf562d 100644
--- a/source/gameengine/PyDoc/GameLogic.py
+++ b/source/gameengine/PyDoc/GameLogic.py
@@ -344,6 +344,30 @@ def addActiveActuator(actuator, activate):
@type activate: boolean
@param activate: whether to activate or deactivate the given actuator.
"""
+def loadGlobalDict():
+ """
+ Loads GameLogic.globalDict from a file.
+ """
+def saveGlobalDict():
+ """
+ Saves GameLogic.globalDict to a file.
+ """
+def addScene(name, overlay=1):
+ """
+ Loads a scene into the game engine.
+
+ @param name: The name of the scene
+ @type name: string
+ @param body: Overlay or underlay (optional)
+ @type body: int
+ """
+def removeScene(name):
+ """
+ Removes a scene from the game engine.
+
+ @param name: The name of the scene
+ @type name: string
+ """
def sendMessage(subject, body="", to="", message_from=""):
"""
Sends a message to sensors in any active scene.