Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
* Fixed codestyle "*c" -> "*creature"
* Removed SD2 Hieroglyphics
* Removed some hungarian notations
* Adjusted Some Alignments (cosmetic)
* Added spaces for "*"->" * " where needed (cosmetic)
* Fixed couple variableNames
DevNote: im sure VN's can be picked at and more found, but this was just a clean-up nothing more.
ToDo:
Alterac Valley -
Core/db: needs spawns in side the final bosses dens fixed and agro ranges corrected.. not blizzlike.
BRD -
Tomb of seven - Learning Smelt Dark Iron if tribute quest rewarded. Missing event.
blackrock_depths.cpp -
Need to rewrite the Jail Break support
Need to remove: npc_dughal_stormwing/npc_marshal_windsor/npc_marshal_reginald_windsor/npc_tobias_seecher if they are handled elsewhere, or get tehm fixed to uncomment them ;)
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
+ Fix compilewarning in Unit.cpp
+ Remove/comment out unused parameters for some commandscripts/scripts (warnings)
+ Replace "plr" with "player" all over the scriptbase for consistency
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
- Move IsQuestTameSpell function to SpellMgr.h
- Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h