Friday, July 06, 2007

C++ to C#

I have written many programs in C++ and many in C# before but this is the first time I have tried to convert a full C++ program in C#. Since both languages have a very similar structure and share allot in common I thought this would be a simple matter but I was very wrong.

Its by no means an impossible task, however the small but significant differences require some rethinking and restructuring of Decade. (Managed Code, stronger typecasting, delegates etc...) I have allot of the core graphics components complete and am now on the File Parsers. It has taken a short while to get a grasp of Regex instead of using sscanf and such functions, but now progress is moving again. Hopefully by next week I will have some screenshots from Decade.NET.


  1. No updates? :(

  2. There will be updates soon. Decade.NET is now almost on par with Decade. Just a few more small things to complete, such as texture generation for the terrain. I will then post some comparing screenshots along with performance comparisons.

    My first plan for Decade.NET is to make some basic level/terrain editors so once Decade.NET is ready I shall quickly start these.