razorace Posted October 3, 2005 Posted October 3, 2005 Right now I'm performing an experiment on the OJP Beta server. I'm basically attempting to convert the traditionally C based .dll code to be C++ based. The primarily reason for this is so that I can port the SP navigation code, which is in C++ into MP. So far, I've been able to compile the C++ version of the code using g++ and have it successfully run on linux. g++ throws a lot more warnings than gcc or VS.net but I'll resolve all of them eventually. That's all for now, Razor Ace PS. Thanks to Unique1 for originally pointing this out to me.
Tinny Posted October 3, 2005 Posted October 3, 2005 Hey Razor, your converting the whole thing to c++? Wouldn't a lot of things have extra cycles and slow down/lag more?
razorace Posted October 4, 2005 Author Posted October 4, 2005 Well, that's part of the reason for the experiment. I haven't seen an slowdowns so far. Interesting side note. From the looks of it, the .dll code only interacts with the game engine at only two locations.
Tinny Posted October 4, 2005 Posted October 4, 2005 Btw, what is the IP for the OJP Basic server? Is it Kurgan's Meatgrinder?
ensiform Posted October 4, 2005 Posted October 4, 2005 you could do something like this: #ifdef __cplusplus extern "C" { #endif /* the code */ #ifdef __cplusplus } #endif
razorace Posted October 4, 2005 Author Posted October 4, 2005 Btw, what is the IP for the OJP Basic server? Is it Kurgan's Meatgrinder? It's the Meatgrinder server. Ensiform: That's what I'm doing. I'm just in the process of making sure all the code still works when you switch over to a C++ linux compiler like g++.
razorace Posted October 7, 2005 Author Posted October 7, 2005 *shrug* well, it's new to my region of JKA. I wasn't aware that others had done this already.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.