Commit Graph
163 Commits
Author SHA1 Message Date
Spp af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
Spp- 45af1238cf Conditions/DisableMgr: converted from singleton to namespace with free functions. 2011-09-09 14:27:23 +02:00
Spp- c4c9165428 Core/ArenaTeam: Use full captain guid instead of low guid on team creation and some code cleanup 2011-09-09 13:05:51 +02:00
kaelima 99935fd98c BG/Isle of Conquest: Fix a crash in RemovePlayer. 2011-09-05 15:56:47 +02:00
horn 43052a47e1 Core/Achievements: Fixed some Alterac Valley achievements:
- Stormpike Perfection
- Frostwolf Perfection
- Everything Counts
2011-09-03 18:53:26 +02:00
Shauren e3f4cca534 Core/Arena: Players online but not in world will now gain their arena points as intended 2011-09-02 16:09:32 +02:00
Chaplain f5a668ae8d Core: Cleanup. 2011-08-30 23:09:39 +03:00
Spp- aa85553bfd Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
- "const uint64" and "uint64 const" --> uint64
 - Add some info in LFGDungeonEntry
 - Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Lopin f72cff430d Core/Achievements: Added also check for player's team. Only defenders should get this achievement 2011-08-24 22:56:36 +02:00
Lopin 6758056dda Core/Achievements: Fixed Defense of the Ancients in SotA 2011-08-24 21:53:00 +02:00
Chaplain fb27848510 Core: Clean up here and there.
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Shauren 1c606d0d0c Core/Battlegrounds: Don't send SOTA transports removal twice 2011-08-17 12:02:34 +02:00
Shauren bac78de203 Core/Battlegrounds: SotA will no longer crash in update 2011-08-13 12:28:36 +02:00
tobmaps 7f57507155 Fix compile 2011-08-06 19:56:12 +07:00
Spp 92393392ef Core/Battleground: Missing changes from rev 4ecda55 2011-08-06 10:00:09 +02:00
Spp 4ecda557e4 Core/Battleground: Some (minor) code optimizations
- All access to Battleground vars are done using funtions (Remove friendship from Battleground and BattlegroundMgr)
- Move specific 47 mins arena check to battleground code as its generic to all arenas
- Create PreUpdateImpl and PostUpdateImpl functions. Specific battlegrounds will implement those if needed (No more need of call Battleground::Update inside specific BGs)
- Modify Create function to use only one parameter
- Remove EventPlayerCapturedFlag from Battleground class, only one BG implements it and it's not used outside that BG.
2011-08-05 11:57:09 +02:00
tobmaps 2056af63f0 Core/Spells: Fix typo in b0fe236265 , thx A-Metaphysical-Drama 2011-08-05 01:46:35 +07:00
Spp e7327e7e94 Core: Fix compile without PCH and fix some warnings 2011-08-03 11:23:08 +02:00
Spp- c69b149d7e Core: Typo fix introduced in previous commit (:S) 2011-08-01 14:57:30 +02:00
Spp- 079f292b15 Core: Some more missing changes from previous commit (Pass by const reference for simple objects replaced with pass by value). Also fix unintended change 2011-08-01 14:51:44 +02:00
Spp- acd0fc79f6 Core: Pass by const reference for simple objects replaced with pass by value 2011-08-01 14:23:27 +02:00
Liberate 6cfb87639c Core/Arena: A more accurate implementation of rating gain/loss. This fixes the strange behaviour personal rating could have, as well as implements the bigger rating scale added in patch 3.1.
Fixes #230
2011-07-30 22:46:45 +02:00
tobmaps cf643e5150 Core/Arenas: Removed some outdated stuff 2011-07-29 07:55:00 +07:00
Spp- b2a84d9f1e Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons) 2011-07-27 12:14:27 +02:00
Spp- fa50c0a464 Fix some warnings here and there 2011-07-27 11:00:39 +02:00
QAston b0fe236265 Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
*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
2011-07-26 23:09:28 +02:00
Shauren 74e2d981ac Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair 2011-07-22 21:22:05 +02:00
maanuel 1b9a2dc4dc Isle of Conquest: Corrected message sent when node is claimed or captured. 2011-06-23 18:41:38 -03:00
Shocker 7f0af21fcd Revert "Core/Battlegrounds: Remove player on leave from battleground player map only after battleground-specific code"
Some battlegrounds (arenas) need access to the updated player map in RemovePlayer(), pass team as parameter instead
2011-06-18 14:08:51 +03:00
Shocker f2735b85c7 Core/Battlegrounds: Remove player on leave from battleground player map only after battleground-specific code 2011-06-17 21:26:33 +03:00
tobmaps 2f2396b7e0 Core/Arenas: Remove both positive and negative auras only at arena join
Closes #2000
2011-06-16 00:20:20 +07:00
kaelima b9e8694540 Core: Continued cleanup
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click da03bbbdab Core: Yet more cleanups in codestyle... 2011-06-12 02:06:07 +02:00
click c77aa6e846 Core: And some more cleanups... 2011-06-12 02:00:43 +02:00
click f16df538ee Core: More codestyle cleanups 2011-06-12 01:47:45 +02:00
click 158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
Shauren 3d8e4300b7 Core/Achievements: Achievement criteria type 39 should check player's personal rating, not team rating
Closes #803
2011-05-25 23:39:17 +02:00
Shauren 19bf53a0cb Core/Achievements: Added missing reset cases for achievement criterias 2011-05-14 10:50:27 +02:00
Shauren bdf43d5a9c Core/Achievements: Reset ACHIEVEMENT_CRITERIA_TYPE_HONORABLE_KILL when joining battlegrounds 2011-05-14 10:41:25 +02:00
click b6cf587de9 Core: Remove some warnings here and there 2011-05-13 18:07:12 +02:00
Az@zel f73c6c40bb Core/Misc: fix compiler warnings 2011-05-11 11:12:26 +06:00
Shauren 551889c42f Core: More warning fixes 2011-05-07 20:09:45 +02:00
Shauren 7905200eba Core: Warning fixes 2011-05-07 19:08:50 +02:00
leak 6fffcb6890 Fix nonPCH build. Thanks to liszt.
Fixes #1385
2011-05-05 15:23:37 +02:00
leak ce01a37c2c Core/ObjectMgr: Refactor arena team related functions into dedicated class 2011-05-03 15:01:37 +02:00
leak 1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
leak 01a79947d5 More cleanup after last commit spree 2011-04-29 19:59:40 +02:00
leak c51c817a45 Core/ObjectMgr: Refactor sCreatureStorage 2011-04-28 22:57:08 +02:00
leak e2e9431ca3 Core/ObjectMgr: Refactor sGOStorage 2011-04-28 22:54:30 +02:00
Shauren 8898db8b27 Core: Corrected NULL usage, it should only be used with pointers, not integers 2011-04-23 15:53:48 +02:00