Aokromes
0e18d49f15
rand() to urand #4
2011-12-28 04:33:18 +01:00
Aokromes
b24dfc10cb
rand to urand #3
2011-12-28 04:26:30 +01:00
Aokromes
611f9ad419
rand #2
2011-12-28 04:25:25 +01:00
Aokromes
2e8de8cd2b
rand() to urand #1
2011-12-28 04:24:31 +01:00
Discover-
f2ad757acd
Core/Scripts: Fix quest Heroes of Old.
...
Closes #3703
2011-12-25 00:43:26 +01:00
Machiavelli
6c03bf9535
Core/Misc: Some random meaningless Engrish to English conversion in a method name because Discovered is too lazy to do it himself.
2011-12-19 22:06:29 +01:00
w1sht0l1v3
b8a0d04acc
Scripts/Brd: Fix learning of Dark Iron Smelting.
2011-11-28 16:36:43 +02:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
Shauren
638693e78f
Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.)
2011-11-23 17:55:16 +01:00
Shauren
44693cfa99
Core: Fixed a few warnings and silly typos in scripts
2011-11-23 16:57:08 +01:00
Discover-
5a12fb9964
DB/SAI: Convert quest The Dwarven Spy from scripts to SAI
...
Closes #2923
Closes #3109
2011-10-23 12:04:33 +01:00
kaelima
be0b2fcf97
Core/Grid:
...
- Simplified CellArea calculation (Original author: SilverIce)
- Removed unused code in Cell class (Original author: SilverIce)
- Improve some Visit functions.
2011-10-19 17:40:44 +01:00
megamage
c29ff41001
Rename some classes in grid system.
...
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.
2011-10-18 10:53:34 -04:00
Fredi Machado
97142102e0
Core/Misc: Added 'f' after float values
2011-10-17 07:38:27 -03:00
megamage
dc2bdb8e13
Merge pull request #3445 from Bootz/master
...
Scriptwork/Clean-up (Av,Brd,Brs)
2011-10-12 12:01:05 -07:00
Bootz
99e10e16c5
Scripts/EasternKingdom: Cleanup AV,BRD,BRS
...
* 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 ;)
2011-10-10 16:13:11 -05:00
megamage
d156e066cf
Rename "SetPosition" to "UpdatePosition".
...
Replace CreatureRelocation in scripts with new Creature::SetPosition.
2011-10-10 17:08:01 -04:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Shocker
7f89678bcd
Merge pull request #3278 from lost-illusion/master
...
CleanUp
2011-10-07 09:28:10 -07:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
Bootz
f1ccb83dc0
REPO: Code-style change
...
* Fixed pUnit-unit
2011-10-07 10:48:56 -05:00
unknown
8acf07dbab
Random minor code cleanup
2011-09-29 22:35:00 +04:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- 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
2011-09-29 12:43:05 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
QAston
fe25ce4fa3
Core/AI: Replace many Unit::IsHostileTo with Unit::IsValidAttackTarget or Creature::canCreatureAttack.
2011-09-17 00:56:59 +02:00
Spp
6c943bfb08
Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes
2011-09-16 10:53:24 +02:00
Shocker
7afb179185
Misc/Util: Add a template function for returning a random element from any container
2011-09-15 21:28:40 +03:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Nay
16b76a3119
Core/Scripts: Correct a wrong spell id used in ZG
2011-09-08 19:14:56 +01:00
QAston
82e7b11df1
Merge pull request #2778 from KoffeinKaio/master
...
Fixed spellid's from Zul'Gurub encounters High Priest Thekal and Bloodlord Mandokir (&adds).
2011-09-03 08:27:37 -07: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
Naga
afd1351dca
Fixed spellid's from Zul'Gurub encounters High Priest Thekal and Bloodlord Mandokir (&adds).
2011-08-27 14:54:34 +00:00
Lopin
fb2fe345bf
Scripts/Blackrock Depths: Fixed reseting of Moira after Emperor Dagran is dead. Closes #2658
2011-08-19 19:54:12 +02:00
Lopin
868c1c53f2
Core/GameObjects: Unrevealed GO_FLAG_UNK1. Now GO_FLAG_NOT_SELECTABLE makes gameobjects to be unselectable even in GM mode
2011-08-19 11:45:49 +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
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +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
Sarjuuk
ef57bc3439
Scripts/Blackwing Lair: Fix access to loot from Vaelastrasz
2011-07-24 06:58:29 +07:00
click
7fe3f55b5e
Core: Fix non-PCH build + clean up some sporadic warnings
2011-07-18 14:49:08 +02:00
Shauren
1e3c23a4e8
Core/Spells: Set UNIT_FIELD_TARGET to current spell cast target for proper facing the target
2011-07-15 12:33:03 +02:00
QAston
72ea9c9fa8
Core/Spells: Add a base for brand new proc system, this is a WIP and doesn't affect currently working code.
2011-07-10 13:13:02 +02:00
click
1aff85f541
Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits)
2011-07-03 00:28:03 +02:00
click
db045c40ad
Core: Cleaning up hungarian notation - Phase5: pKiller -> killer
2011-07-02 23:58:05 +02:00
click
f676585cac
Core: Cleaning up hungarian notation - Phase5: pWho -> who
2011-07-02 23:53:38 +02:00
click
f997363c08
Core: Cleaning up hungarian notation - Phase3: pVictim -> victim
2011-07-02 23:50:02 +02:00
click
70115f52f7
Core: Cleaning up hungarian notation - Phase3: pTarget -> target
2011-07-02 23:16:45 +02:00
click
169f5da8c3
Core: Cleaning up hungarian notation - Phase2: pPlayer -> player
2011-07-02 22:52:42 +02:00
click
f91ee24184
Core: Start cleaning up hungarian notation - Phase1: pCreature -> creature
2011-07-02 22:18:03 +02:00
Spp-
bb921ae78c
Core: Do not use STL container size method to check if container is empty
2011-07-01 14:58:44 +02:00