Hello, I am working on a project in VC++ 2010 and I have been looking at ways to integrate python into my programming. I want to be able to use python code within my C++ program so that I can do all of my graphical/engine commands in C++, really close to DarkGDK, with all of my little code (ie, NPC movements and other little scriptable things etc.) to be done in python.
What I want, if anyone is familiar with it, is something akin to what CCP have setup for EVE online. On that front i have been looking at things like Boost.Python/Py++, SWIG, pyBinGen and stackless python.
My problem is that all of the python->c++ things I look at all talk about puting C++ libraries/code into python for use from there, however I want my "host language" if you will to be c++ and just take in some python from there... is this possible or, with DarkGDK, would it be better to do it the suggested way?
So what I am asking is if it is possible to put python code into C++ to control an engine I make around DarkGDK, or should it be the other way around. also wich way would be best then i guess...
Sorry if i am a little muddled in my thoughts guys but thank you,
FlexiCat
I swear to the programmers bible that I shall not harm the FPS.