ref: b39121c6a682eb8ae5efd29a875bd7c098185f04
parent: 1f5ce047ad6cb709f746b794b4a2dea9e2f89fb6
author: Simon Howard <fraggle@soulsphere.org>
date: Thu Feb 19 19:31:09 EST 2015
Refactor config file API. The config file API previously relied on binding config variables using M_BindVariable() which took a void pointer. It occurred to me that if used on a boolean variable, this would be erroneous, but the void pointer would make it impossible to tell. Split this into separate M_Bind{Foo}Variable() functions based on type, which allows for proper type checking on the pointers that are passed. Vaguely related to #509.