«

»

Mar 08

The Ugly Part of Refactoring

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. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>