Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_PythonInit.cpp File Reference

#include "SCA_IInputDevice.h"
#include "SCA_PropertySensor.h"
#include "SCA_RandomActuator.h"
#include "KX_ConstraintActuator.h"
#include "KX_IpoActuator.h"
#include "RAS_ICanvas.h"
#include "Python.h"
#include "SCA_PythonController.h"

Go to the source code of this file.

Defines

#define KX_MACRO_addToDict(dict, name)    PyDict_SetItemString(dict, #name, PyInt_FromLong(name))
#define KX_MACRO_addTypesToDict(dict, name, name2)    PyDict_SetItemString(dict, #name, PyInt_FromLong(name2))

Functions

PyObjectinitGamePythonScripting (const CCString& progname)
void exitGamePythonScripting ()
PyObjectinitRasterizer (RAS_ICanvas* canvas)
PyObjectinitGameKeys ()

Variables

bool gUseVisibilityTemp = false
CCString gPyGetWindowHeight__doc__ = "getWindowHeight doc"
CCString gPyGetWindowWidth__doc__ = "getWindowWidth doc"
CCString gPyEnableVisibility__doc__ = "enableVisibility doc"
CCString gPyMakeScreenshot__doc__ = "make Screenshot doc"


Define Documentation

#define KX_MACRO_addToDict( dict, name )   PyDict_SetItemString(dict, #name, PyInt_FromLong(name))
 

Definition at line 18 of file KX_PythonInit.cpp.

#define KX_MACRO_addTypesToDict( dict, name, name2 )   PyDict_SetItemString(dict, #name, PyInt_FromLong(name2))
 

Definition at line 20 of file KX_PythonInit.cpp.

Referenced by initGameKeys().


Function Documentation

void exitGamePythonScripting ( )
 

Definition at line 202 of file KX_PythonInit.cpp.

Referenced by DestructPythonBindings(), and Ketsji_Start1().

PyObject * initGameKeys ( )
 

Definition at line 248 of file KX_PythonInit.cpp.

Referenced by CreatePythonBindings(), and Ketsji_Start1().

PyObject * initGamePythonScripting ( const CCString & progname )
 

Definition at line 192 of file KX_PythonInit.cpp.

Referenced by CreatePythonBindings(), and Ketsji_Start1().

PyObject * initRasterizer ( RAS_ICanvas * canvas )
 

Definition at line 208 of file KX_PythonInit.cpp.

Referenced by CreatePythonBindings(), and Ketsji_Start1().


Variable Documentation

CCString gPyEnableVisibility__doc__ = "enableVisibility doc"
 

Definition at line 97 of file KX_PythonInit.cpp.

CCString gPyGetWindowHeight__doc__ = "getWindowHeight doc"
 

Definition at line 95 of file KX_PythonInit.cpp.

CCString gPyGetWindowWidth__doc__ = "getWindowWidth doc"
 

Definition at line 96 of file KX_PythonInit.cpp.

CCString gPyMakeScreenshot__doc__ = "make Screenshot doc"
 

Definition at line 98 of file KX_PythonInit.cpp.

bool gUseVisibilityTemp = false
 

Definition at line 62 of file KX_PythonInit.cpp.


Generated at Thu Feb 1 13:03:20 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000