Starting work on area.c, divided up into several Git commits within this revision for my sanity. (Arc isn't working for me, for some reason, so I'm going to keep using git format-patch + copy-paste).
Broad question: this file resets the VertexFormat several times, and I'm worried that it'll be hard to see when a call to some utility function resets a vertex format when I'm not expecting it. Does this concern make sense, or does the library "take care of it" (like old-style glPushMatrix)? If it makes sense, is it worth creating a naming convention for functions that do or don't reset the vertex format?