The Ugly Part of Refactoring


Today’s commit of GearHead-1 is at that ugly stage of refactoring where everything compiles but nothing works properly. The TSDL_Rect records which previously defined the positions of various bits are being replaced with DynamicRect objects that update their position based on the screen dimensions. My next step is to rearrange all of the needed zones so they end up somewhere sensible, and after that I can worry about making them pretty.

I’m thinking of adding the open source font Orbitron for titles and headers. Actually, if it reads well, it could probably also be used as the main text font. Unfortunately, playing with fonts will have to wait until the game is fully playable again.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.