Hey,
first of all sorry for digging up such an old thread

I really like your work and everything works fine.
I am currently working on a project to implement 3dgs in an IDE. That IDE uses python as plugin language. I have no ideas on how to make dll's nor how to bind them to python. So I wrote a server, only for debugging and communicated with it over sockets. But that is pretty tricky.
Then I found this wrapper and it would fit perfect for my needs. However, the functions that i need are not yet implemented in your wrapper :'(
These are the functions I would need the most important:

  • engine_debugposition
  • engine_debugbreakpoint
  • engine_debugstep

And then perhaps the functions for watching the variables

Finally, I wanted to ask if you would be so kind to add these functions, or even publish the source laugh
That would be really cool grin

regards Alain

[EDIT]
Just tried out to write my own wrapper. I managed to create a pyd and to wrap the engine_open function. However, whenever I try to call engine_fame, the engine and python crash. Here is the c++ code:

Click to reveal..

Php Code:
void engineOpen(PyObject *settings)
{
	engine_open(PyString_AsString(settings));
}
long engineFrame()
{
	return engine_frame();
}

void engineClose()
{
	engine_close();
}

BOOST_PYTHON_MODULE(gs_ext)
{
	using namespace boost::python;
	def("engine_open", engineOpen);
	def("engine_frame", engineFrame);
	def("engine_close", engineClose);
} 





Last edited by krial057; 07/24/12 16:46.