4000+ Lines

I broke the 4000 line mark on the code for the robot interface. Admittedly, almost a quarter of that is the ginormous hashing function to convert between string descriptions of keys and the SDL internal enumerated type. Another quarter of it is my XML configuration file parser, but considering that said parser effectively replaces a ton of potentially hard-coded stuff, it probably reduces the total size of my program.

The one thing I really like about my highly generalized configuration and event handling is that (eventually) everything will be in the configuration file. As it is, even the quit keyboard shortcut is configurable! Hrm… maybe I should change the XML schema to force the inclusion of a quit command…

At any rate, the project’s going really well. Fritz is getting the robot moving today. Not necessarily in the right way yet, but it is moving, and that’s a big step.

Nurd Up!