revid: make update function nicer

Issue #241 resolved
Saxon Milton created an issue

Currently the update function uses a giant switch to select correct parsing for a particular var in the map from vidgrind, but this could be done by a slice of structs that contain a var name and function that is to be used for parsing. The update function would then loop over this slice and perform that actions specified. This would be much cleaner than it is now, and easier to extend.

Comments (1)

  1. Log in to comment