style edit only - move parenthesis onto second line of function definition (in keeping with most of blenders code)
also split some long lines in own code.
This commit is contained in:
@@ -1950,7 +1950,15 @@ void setupGamePython(KX_KetsjiEngine* ketsjiengine, KX_Scene* startscene, Main *
|
||||
initVideoTexture();
|
||||
|
||||
/* could be done a lot more nicely, but for now a quick way to get bge.* working */
|
||||
PyRun_SimpleString("sys = __import__('sys');mod = sys.modules['bge'] = type(sys)('bge');mod.__dict__.update({'logic':__import__('GameLogic'), 'render':__import__('Rasterizer'), 'events':__import__('GameKeys'), 'constraints':__import__('PhysicsConstraints'), 'types':__import__('GameTypes'), 'texture':__import__('VideoTexture')});");
|
||||
PyRun_SimpleString("sys = __import__('sys');"
|
||||
"mod = sys.modules['bge'] = type(sys)('bge');"
|
||||
"mod.__dict__.update({'logic':__import__('GameLogic'), "
|
||||
"'render':__import__('Rasterizer'), "
|
||||
"'events':__import__('GameKeys'), "
|
||||
"'constraints':__import__('PhysicsConstraints'), "
|
||||
"'types':__import__('GameTypes'), "
|
||||
"'texture':__import__('VideoTexture')});"
|
||||
);
|
||||
}
|
||||
|
||||
static struct PyModuleDef Rasterizer_module_def = {
|
||||
|
||||
Reference in New Issue
Block a user