Currently, most of the games code is still non object oriented, meaning its a big ugly mess of data that is hard to work with. During the code restructure I will convert all the games entities (buildings, trees, units) into object oriented code. At the same time I will be adding lots of error handling and debugging code to make finding these pesky hard to understand bugs easier. During the process I hope to optimize bulky redundant code and reduce game loops to improve frame rate with large unit counts.
So how long will this process take? Currently the buildings and spells classes have been rewritten, but I want to go back over the buildings class once more to see if it can be improved more (it was converted way back when I first learned the art of object oriented code). The units class is the biggest ugliest monster that needs converted. I put the ETA at finishing this process in early April.
Buildings - Complete
Spells - Complete
Other Objects - Complete
Units - Incomplete
Vehicles - Complete
Weather System - Complete
alphawarrior
Posted: 09 Feb 2014 06:29 pm
Where do I find this 'code' you are speaking of? ^^