I got to thinking about a vars editor for zlib. Mainly on how a script writer would be able to identify the variables of note and give some settings for what values are added. For example, technically you could put "bob" in the threshold variable for zlib, but it wouldn't make sense.
And the variables are interspersed in the source file, which makes it hard to track them all done.
So, I was thinking, what if we gave zlib the ability to use a map file to set up the initial variables. Basically a setvars() that takes a map file that just happens to have other fields for showing to an editor. That way, you could put the "documented" variables in a map file which someone's editor could play with, and just call setvars() on the file.
Right now, you don't need much for the basic one:
1. Variable Name
2. Default Value
For an editor, it would have a few other things that would be nice:
3. Type (familiar, location, string, float, etc)*
4. Documentation (a single line to explain what the variable is)
One of the "types" could be "obsolete" which would tell the map version of setvars() to get rid of the variable. That way, we have a central file format for describing variables, getting some documentation on them, and allowing for an editor. If zlib could go through the file, then you just have a single setvars("name_of_map_file") at the bottom which would set up everything not already done.