Most g-> variables are documented, but under slightly different names. Look in the file variables.h. It translates g-> variables to user friendly names that you can look up in the manual.