Perf Posted May 12, 2015 Posted May 12, 2015 Has anybody succeeded in compilation of MP Game Library project using C++ compiler?Switching to it lists 300+ errors and numerous warnings. I am using Visual Studio 2013, and probably Visual C++ compiler.
Xycaleth Posted May 12, 2015 Posted May 12, 2015 You would need to do an enormous amount of changes to get the game library to compile as C++ code. Why not just compile as C as intended?
Perf Posted May 13, 2015 Author Posted May 13, 2015 I wanted to use C++ classes and objects from standard library.
Raz0r Posted May 13, 2015 Posted May 13, 2015 I'm using C++ for game/cgame/ui in JA++ and it works fine, but I did have to make a lot of changes for it to compile correctly.3ad2f12 and a79147e are the main parts. I also got it compiling without warnings, so you won't have to do as much to get it working, Link, Smoo, Perf and 2 others like this
Perf Posted May 28, 2015 Author Posted May 28, 2015 Did you have to modify client code to successfully play on C++ compiled mod?I did compile it, and the server ran as expected, but when I join strange things happen, like inverted camera and sorts.
Raz0r Posted May 28, 2015 Posted May 28, 2015 By client code, do you mean the engine? If so, no, I did not have to modify that.
Perf Posted May 28, 2015 Author Posted May 28, 2015 Somehow, the game is working as intended, in C++ code.Thank you for the commits, couldn't have done this without your help. Exmirai and Raz0r like this
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now