Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Classes | |
class | PythonBasicType |
class | BasicPointer< T > |
Functions | |
void | InterpretPython (const std::string &filename) |
PyCodeObject * | CompilePython (const std::string &filename) |
void | CompileRunPython (const std::string &filename) |
PyObject * | CreateTuple (const std::vector< PythonBasicType > &values) |
Variables | |
Hashtable< std::string, PyCodeObject, 1023 > | compiled_python |
PyCodeObject* CompilePython | ( | const std::string & | filename) |
Definition at line 49 of file python_compile.cpp.
References fprintf, Hashtable< KEY, VALUE, SIZ >::Get(), getCompilingName(), LoadString(), and Hashtable< KEY, VALUE, SIZ >::Put().
Referenced by CompileRunPython().
void CompileRunPython | ( | const std::string & | filename) |
Definition at line 72 of file python_compile.cpp.
References CompilePython(), d, VegaConfig::getVariable(), InterpretPython(), XMLSupport::parse_bool(), and vs_config.
Referenced by ChooseNavPoint(), DockedScript(), PythonAI< SuperClass >::Factory(), PythonClass< PythonMissionBaseClass >::Factory(), RunPython(), RunPythonPhysicsFrame(), RunPythonPress(), RunPythonRelease(), and RunPythonToggle().
PyObject* CreateTuple | ( | const std::vector< PythonBasicType > & | values) |
Definition at line 99 of file python_compile.cpp.
References i.
void InterpretPython | ( | const std::string & | filename) |
Definition at line 37 of file python_compile.cpp.
References getCompilingName(), VSFileSystem::vs_close(), and VSFileSystem::vs_open().
Referenced by CompileRunPython().
Hashtable< std::string, PyCodeObject, 1023 > compiled_python |
Definition at line 11 of file python_compile.cpp.