Quantcast

Code consistency.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-19 23:31:01
Author local date 2013-03-19 23:31:01 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-19 23:31:01
Committer local date 2013-03-19 23:31:01 +0000
Commit b54f189db543bf47d96a53179fa65206b69c7ae6
Tree 3c3401e93f7d20a366a8f51208fdb4147a8ea74c
Parent e8d666c359aa6005a825629bf5f2d1014d9e92f1
Code consistency.

Make local copies of all Blizzard API functions and prefix them with
"API_". This makes it simpler to automatically audit the use of Blizzard
API functions.

Rename all private static variables by adding a "self_" prefix.  This
reduces namespace conflicts with variable names when writing functions.

Rename all constants and constant tables to be in all-capitals and to
start with an "OVALE_" prefix.  This makes it clear what values are
immutable and which may be changed.

Also remove ``Ovale'' from the global namespace as a final clean-up.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@797 d5049fe3-3747-40f7-a4b5-f36d6801af5f