Commit Graph

204 Commits

Author SHA1 Message Date
svannon
b878e68f8a Core/Script: remove unused script 2012-01-13 22:13:10 +01:00
malcrom
03a7f12916 Core/Script: update creature_text for Twilight Corruptor from sniffs
closes #4697
2012-01-08 14:20:11 +01:00
malcrom
57e1972b86 Core/Script: update creature_text for the Paladin Trial Quests in Eversong from sniffs
closes #4699
2012-01-08 13:34:49 +01:00
malcrom
7b86761045 Core/Script: update creature_text for Phizzlethorpe from sniffs
closes #4698
2012-01-08 13:23:54 +01:00
ZxBiohazardZx
b556ac564b Core/Build: fix build 2012-01-08 12:50:15 +01:00
malcrom
ae4d221b3c Core/Script: update creature_text for Vanndar from sniffs
closes #4696
2012-01-08 12:07:12 +01:00
malcrom
4112b2a7d4 Core/Script: update creature_text for Drekthar from sniffs
closes #4693
2012-01-08 11:58:19 +01:00
malcrom
2ba7cfacca Core/Script: update creature_text for Galvangar from sniffs
closes #4694
2012-01-08 11:47:41 +01:00
malcrom
b6f9caff6b Core/Script: update creature_text for Balinda from sniffs
closes #4692
2012-01-08 11:43:35 +01:00
ZxBiohazardZx
c65dec07f8 Core/Scripts: remove call to unexisting class related to b52f381c3e 2012-01-08 11:13:03 +01:00
malcrom
b52f381c3e DB/SAI: convert Blood Knight Dawnstar script to DB
closes #4701
2012-01-08 09:55:34 +01:00
kiper
8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
Spp
3792b470e0 Core/Scripts: Replace rand with urand in most cases (using regexp)
Used: perl -pi -e 's/([0-9]+) \+ rand\(\)\%([0-9]+)/"urand(".$1.", ".($1+$2).")"/ge'
2011-12-28 10:51:16 +01:00
Spp
4fb634f9a5 Fix missing changes from previous merge 2011-12-28 09:16:06 +01:00
Aokromes
559dfe5139 rand() to urand #5 2011-12-28 04:35:51 +01:00
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