Quantcast

The "addon" table now has seven new sub-tables: custom_list, mob_list, quest_list, reputation_list, trainer_list, seasonal_list, and vendor_list - this was done in an effort to be rid of the practice of passing tables to other files via function parameters.

Author torhal <torhal@dummy.example.com>
Author date 2009-11-19 03:31:00
Author local date 2009-11-19 03:31:00 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2009-11-19 03:31:00
Committer local date 2009-11-19 03:31:00 +0000
Commit 81ff72f78232848a8f6d33d1c7ed7cef69e4a94a
Tree bfcd0555750e136a4345eec62849a2ee7d2cd505
Parent 3acbb79856f6e6492876560593df60322c9693c5
The "addon" table now has seven new sub-tables: custom_list, mob_list, quest_list, reputation_list, trainer_list, seasonal_list, and vendor_list - this was done in an effort to be rid of the practice of passing tables to other files via function parameters.
New file: Player.lua - contains functions which were ripped from other files and re-worked or re-written to support the notion that the player is its own entity.
addon:DisplayFrame() now only has one parameter, down from nine, due to no longer passing tables between files in that manner.
Replaced all occurrences of "playerData" with "Player", and all of its subtables named "playerWhatever" are now simply "Whatever".
Removed addon:SetRepDB() - it was never used anywhere and was only a wrapper function anyway.
Tidied up CheckDisplayFaction() a bit.
Removed some "local globals" and replaced them with per-use definitions where applicable.
SetProgressBar() no longer has a parameter.
In addon:DisplayFrame(): Removed a call to WipeDisplayStrings(), since initDisplayStrings() calls it itself.
In AckisRecipeList.lua: Renamed NUM_FLAGS to NUM_FILTER_FLAGS.