Quantcast

Re-worked the FilterValueMap table - its keys are what were previously its svvals members instead of a numeric index. This means filters can be added and removed on-the-fly without convoluted voodoo or having to remember to manually update a max value.

Author torhal <torhal@dummy.example.com>
Author date 2009-09-07 21:42:06
Author local date 2009-09-07 21:42:06 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2009-09-07 21:42:06
Committer local date 2009-09-07 21:42:06 +0000
Commit d83c2b26e952754aac0957405f13c55f5607d03c
Tree cbb4528544ff3873c8fabedbdb99a4e2298709c2
Parent 0d2631f982ace2b431718102f5dee27961dc7a61
Re-worked the FilterValueMap table - its keys are what were previously its svvals members instead of a numeric index. This means filters can be added and removed on-the-fly without convoluted voodoo or having to remember to manually update a max value.
Whilst doing this, I found addon.numFilters() and addon.filterSwitch() to be unnecessary functions and integrated their code into addon.resetTitle() and addon:GenericMakeCB(), respectively.