Jump to content

Home

Running C++ Code in the .dlls


razorace

Recommended Posts

Posted

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.

Posted

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.

Posted
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++.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...