GameEngine WIP,

* pressing P starts the BGE in the 3D view
* redraw window clipping isnt right
* BGE python api works in py3k (without __import__ override or Mathutils, BGL, Geometry)
* no events yet (so there is no way to exit)
This commit is contained in:
2009-06-13 17:25:54 +00:00
parent 3a9396c47d
commit 611e2f484c
10 changed files with 136 additions and 44 deletions

View File

@@ -81,11 +81,10 @@
#include "PyObjectPlus.h"
//XXX
#if 0
#include "KX_PythonInitTypes.h"
#if 0 //XXX25
/* we only need this to get a list of libraries from the main struct */
#include "DNA_ID.h"
@@ -97,7 +96,7 @@ extern "C" {
#include "BGL.h"
#endif
}
#endif
#endif //XXX25
#include "marshal.h" /* python header for loading/saving dicts */
@@ -1606,7 +1605,7 @@ PyObject* initGamePlayerPythonScripting(const STR_String& progname, TPythonSecur
//importBlenderModules()
setSandbox(level);
/* XXX 2.5 initPyTypes(); */
initPyTypes();
/* XXX 2.5 bpy_import_main_set(maggie); */
@@ -1645,7 +1644,7 @@ PyObject* initGamePythonScripting(const STR_String& progname, TPythonSecurityLev
Py_FrozenFlag=1;
setSandbox(level);
/* XXX 2.5 initPyTypes(); */
initPyTypes();
/* XXX 2.5 bpy_import_main_set(maggie); */