Refactoring Renderer and Central Processing

     The problem I faced when working on refactoring the Renderer and Central processing is a really bad race condition that causes random crashing. This is obviously an issue as it prevents the functionality of the game. The race condition is caused by multiple segments of the engine, likely within Gateware or within the audio library. The random crashing is never within the same part of the engine, although the most common sections are within the Renderer itself, which was recently switched over to a singleton system.

    This problem hasn't been fixed yet, but is currently being experimented with. Possible solutions that have been tested include ensuring that all data related to Gateware is initialized at the same time, sharing pointers, etc. So far, none of it has worked, although there is a chance it could be resolved within a couple of days. I am going to discuss this with professors and other programmers to see if they can see where the problem is, but it isn't obvious where it is.

Comments

Popular posts from this blog

Adding assets to every enemy -- Owen Meyers

Sphere to AABB collision