C++
-
- Posts: 4
- Joined: Mon Feb 03, 2014 8:57 pm
C++
Have any of you(devs) ever thought of porting the code to C++? It would be a bit of work but it would likely solve most of your performance issues. Whatever you say about the idea I plan on making a port as a pet project of mine.
There is already a dead project called http://freera.sourceforge.net/ that tried it with C++
-
- Posts: 4
- Joined: Mon Feb 03, 2014 8:57 pm
tangent
Do you guys still have the engine issue for Dune where you can't implement building and placing tiles? Also, I'll be porting your code. This will mostly be just for fun than anything else.
It will probably be more helpful if you profile the executable and find the bottlenecks so we can win some performance back. There are some known huge issues with the path finder and shroud/voxel renderer. https://github.com/OpenRA/OpenRA/issues ... state=open
-
- Posts: 4
- Joined: Mon Feb 03, 2014 8:57 pm
Buildable concrete has never really been an issue, we just haven't gotten around to adding it yet (i'm on it, and have a half-completed branch).
OpenRA relies heavily on features like reflection and LINQ, and so you will find that a direct port from C# to C++ will be impossible. You could adapt our code patterns to C++isms, but a significant amount of fundamental game plumbing would need to change.
OpenRA relies heavily on features like reflection and LINQ, and so you will find that a direct port from C# to C++ will be impossible. You could adapt our code patterns to C++isms, but a significant amount of fundamental game plumbing would need to change.
-
- Posts: 4
- Joined: Mon Feb 03, 2014 8:57 pm