Permalink
Commits on Apr 8, 2016
  1. sorry, test

    boxa committed Apr 8, 2016
Commits on Jul 20, 2015
  1. fix compile

    boxa committed Jul 20, 2015
  2. [mr3303] Simplify object type checks and casts

    boxa committed Jul 20, 2015
    Instead of obj->GetTypeId() == TYPEID_UNIT
    we now can use simple IsUnit(obj)
    and for casts instead of ((Creature*)obj)->SomeFunc();
    AsCreature(obj)->SomeFunc();
    
    Clears the code is very
    example:
    if (m_caster->GetTypeId() != TYPEID_PLAYER)
    if (!IsPlayer(m_caster))
    
    if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
    ((Creature*)unitTarget)->ForcedDespawn(100);
    
    if (!unitTarget || !IsUnit(unitTarget))
    AsCreature(unitTarget)->ForcedDespawn(100);
    
    And so on...
    
    Thank you Delphi for idea with IS and AS.
Commits on Sep 11, 2014
  1. [mr3302] Implement right phasing. Now handled not only one phase, but…

    boxa committed Sep 11, 2014
    … summ 1+2 and so on.
    
    Requires for WG and some quests in Northrend (for 335) and on Cataclizzzm+
Commits on Sep 8, 2014
  1. [mr3301] Fixed UnitIsPartyLeader lua function

    boxa committed Sep 8, 2014
    Picked in TC, author Shauren
  2. Fix Travis clang compile

    boxa committed Sep 8, 2014
  3. [mr3300] Fix VS12/13 compile, close #1444

    boxa committed Sep 8, 2014
    Thx to ice3
  4. [mr3297] Weather updates are now sent to all players in the zone inst…

    boxa committed Sep 8, 2014
    …ead of the first player it finds in the zone and all players nearby
    
    Ported from TC, author Discover
  5. [mr3296] Improve use WorldPackets

    boxa committed Sep 8, 2014
    * Send only written data
    * Reuse packets storage in loops and update packet compressing
Commits on Aug 31, 2014
  1. typo

    boxa committed Aug 31, 2014
  2. [mr3295] Fix DK rune cooldowns

    boxa committed Aug 31, 2014
  3. [mr3294] Pets improvements

    boxa committed Aug 31, 2014
Commits on Aug 30, 2014
  1. Submodule update

    Undergarun committed Aug 30, 2014
Commits on Aug 29, 2014
  1. [mr3287] GameEventMgr: added possibility to hide announce of the even…

    boxa committed Aug 29, 2014
    …t start; some improvements
  2. [mr3285] Improve DuelHandler

    boxa committed Aug 29, 2014
Commits on Aug 23, 2014
  1. [mr3282] Trade: Replaced SendNotification hacks with proper trade pac…

    boxa committed Aug 23, 2014
    …kets
    
    Adapted from TC, author Shauren
  2. [mr3279] Implemented SPELL_AURA_MOD_COOLDOWN

    boxa committed Aug 23, 2014
    Adapted from TC, author Shauren
  3. typo

    boxa committed Aug 23, 2014
  4. Fix R2 compile III

    boxa committed Aug 23, 2014
Commits on Aug 22, 2014
  1. Fix R2 compile II

    boxa committed Aug 22, 2014
  2. Fix R2 compile

    boxa committed Aug 22, 2014
  3. [mr3278] Improve Random movement generator

    boxa committed Aug 22, 2014
    Author Cyberium. (Code with some changes)