Commit Graph

257 Commits

Author SHA1 Message Date
click
b87d8f4700 Buildsystem: Overhaul of the CMake buildsystem:
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets):
  - pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree
  - pull and set correct revision-ID/hash from archived releases (when pulled from googlecode)
  - set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition
- delete genrev and related buildsystems
  (now deprecated)
- Move some files around to adhere to buildsystem structure
Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower

--HG--
branch : trunk
rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
2010-09-29 23:42:09 +02:00
linencloth
20b124ab03 Core: Fix compile
--HG--
branch : trunk
2010-09-29 23:08:46 +02:00
Shauren
67a531c8c7 Core/Scripts/Items: Removed unused variable from shadowmourne script (forgot to delete temp dev stuff)
--HG--
branch : trunk
2010-09-29 22:46:13 +02:00
Shauren
d2117fd4ee Core/Spells: Fixed Shadowmourne proc
Scripts/Quests: Fixed quest 24547 (A Feast of Souls)

Closes issue #2331.

--HG--
branch : trunk
2010-09-28 17:35:59 +02:00
Spp
e27976102d Core/: Fix warnings
--HG--
branch : trunk
2010-09-28 14:48:17 +02:00
Shocker
c847d3c825 Core/Spells: Fix Glyph of Blast Wave (based on patch by dr.tenma), closes issue 3593
--HG--
branch : trunk
2010-09-28 09:11:41 +03:00
click
8c9501286f Scripts/Vazruden: Stop the infinite respawning of the lootable chest after the Vazruden fight. (Fix by Leak)
Closes issue 4186.

--HG--
branch : trunk
2010-09-27 05:44:50 +02:00
click
461590832a Core: Generic cleanup (tab2spaces/whitespace removal)
--HG--
branch : trunk
2010-09-25 22:03:57 +02:00
Shauren
8a9f931184 Scripts/Icecrown Citadel: Fixed coldflame damage
Closes issue #3569.
Closes issue #3943.

--HG--
branch : trunk
2010-09-22 19:17:24 +02:00
azazel
5eb0fd80ac Scripts/Spells: move implementation of some spells into scripts.
* 41337 Aura of Anger
* 46394 Burn (Brutallus)
* 53302 Sniper Training
* 45472 Parachute
* 66118 Leeching Swarm
* 51685 Prey on the Weak
* 20911 Blessing of Sanctuary
* 25899 Greater Blessing of Sanctuary
Scripts/Spells: remove several spells implementations from core to table (requires DB data)
* 31231 Cheat Death
* 51662 Hunger for Blood

--HG--
branch : trunk
2010-09-21 23:59:45 +06:00
Shocker
63aa6e44fb Core/Scripts: Small, insignificant cleanups
--HG--
branch : trunk
2010-09-21 04:57:08 +03:00
Spp
822421f625 Core: Fix some warnings:
- enumeration value ‘X’ not handled in switch
- unused parameter 'X'

--HG--
branch : trunk
2010-09-20 13:52:11 +02:00
silinoron
383af00e2b Core/Spells: Allow a priest's Mana Burn to break fear.
Patch by dr.tenma.
Fixes issue #3985

--HG--
branch : trunk
2010-09-18 19:26:34 -07:00
silinoron
48b29e6019 Scripts/Eastern Kingdoms/Scarlet Enclave: Fix some display issues.
Patch by Ramor.
Fixes issue #2503

--HG--
branch : trunk
2010-09-18 19:23:13 -07:00
azazel
ef9cb8000b Scripts/Spelsl: improve 24751 Trick or Treat spell and implement 24750 Trick spell.
--HG--
branch : trunk
2010-09-18 22:50:43 +06:00
azazel
dd1521aa55 Scripts/Spell: implement script effect of spell 24751 Trick or Treat (specially for Malcrom)
--HG--
branch : trunk
2010-09-17 14:24:25 +06:00
linencloth
d8a854d6e0 Core: Cleanup locale handling.
It also fixes the recent problem of strange strings.

--HG--
branch : trunk
2010-09-17 07:04:29 +02:00
Shauren
d139815962 Scripts/Quest: Fixed Quest 12019 (Last Rites), patch by Kuidin1@mail.ru
Closes issue #3952.

--HG--
branch : trunk
2010-09-16 13:12:41 +02:00
azazel
236356628a Scripts/Quests:
* add support for quest 12634 Some Make Lemonade, Some Make Liquor (implement 51840 spell and Adventurous Dwarf AI, thanks akadabeer)
* implement dummy effect for 49587 Seeds of Nature's Wrath spell (used in quest 12459 That Which Creates Can Also Destroy)
* implement dummy effect for 19512 Apply Salve spell (used in quest 6124/6129 Curing the Sick)
Scripts/Misc: some cleanup in chat log
Core/Locales: fix issue when default locale for trinity_string strings was not used (thanks Aokromes for testing).

--HG--
branch : trunk
2010-09-16 13:14:14 +06:00
Shauren
c2c3302d2f Core/Vehicles: Removed hacky setting entry for multi-passenger mounts
Core/Pools: Fixed compile

--HG--
branch : trunk
2010-09-14 16:14:43 +02:00
Shocker
61c11f8f9b Scripts/Deadmines: Fix OnUse hook usage, thanks zaphod, closes issue 3942.
Note: If you spot similar errors (forgotten changes for hooks) in other scripts, please report them

--HG--
branch : trunk
2010-09-13 01:59:09 +03:00
Shauren
e0ffae436c Core/Quests: Fixed remaining issues with quest crediting (note: previous commits did not introduce issues, only revealed them)
Core/DBLayer: Fixed more compile warnings
Core/Spells: Corrected code style from revision 634af79146

Closes issue #3956.

--HG--
branch : trunk
2010-09-12 19:17:58 +02:00
click
bf664b7a44 Cleanup/Core: Remove whitespace and tabs
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Shocker
842a79d38c Scripts/Violet Hold: Fix event start by initializing event phase variable, closes issue 2874, thanks PivoNRoll
--HG--
branch : trunk
2010-09-10 14:39:56 +03:00
Shocker
67a430b6c7 Scripts/Violet Hold: Azure Saboteur should stick to opening the prison portals only, thanks PivoNRoll/amu.cng, closes issue 3930
--HG--
branch : trunk
2010-09-10 14:20:51 +03:00
Shauren
e122712348 Scripts/Icecrown Citadel: Fixed compile warnings
--HG--
branch : trunk
2010-09-09 11:55:41 +02:00
Shocker
cbc7ca8655 Core/Spells: Fixed PvP Trinket / Every Man for Himself / Will of the Forsaken shared CD, fixes issue 1872, based on dr.tenma's patch
--HG--
branch : trunk
2010-09-08 16:00:10 +03:00
Shocker
047b244f2f Core/Spells: Fix Permanent Feign Death spells to be used in creature_addon auras
--HG--
branch : trunk
2010-09-08 14:57:44 +03:00
Shocker
3999444157 Core/Scripts: Use same standard for all GetInstanceScript's, closes issue 3890
--HG--
branch : trunk
2010-09-08 11:42:11 +03:00
Shocker
665bc1ffb9 Typo fixes, closes issue 3885, thanks zaphod & Paradox
--HG--
branch : trunk
2010-09-08 09:35:54 +03:00
Trazom62
88daff9676 Script: Fix crash in boss_tharon_ja.
Fixes issue #3356.

--HG--
branch : trunk
2010-09-07 20:52:42 +02:00
Trazom62
0e9d0f6bcb Core/Script/Item: fix urand range in Six Demon Bag.
--HG--
branch : trunk
2010-09-07 20:47:48 +02:00
Spp
cdef980af4 Core: Fix some warnings
--HG--
branch : trunk
2010-09-06 15:23:08 +02:00
click
af3ea4fac8 Buildsystem/Scripts: Include examples as part of compilation (forgot that they are referenced in the ScriptLoader)
--HG--
branch : trunk
2010-09-05 18:42:04 +02:00
click
8823a91cdc BuildSystem/ALL: Remove unused custom code (most are duplicated as in examples)
+ remove fileglobbing for scripts (less error-prone)
+ Create proper lists per "scriptsection"
NOTE! This change requires new files (cpp/h) to be MANUALLY ADDED to <type>/CmakeLists.txt

--HG--
branch : trunk
2010-09-05 17:19:41 +02:00
Shauren
51eac1215c Scripts/Forge of Souls: Bronjahm should only cast Spirit Bolts if tank is not within melee range during phase 1, patch by Ottowayne
Closes issue #3657.

--HG--
branch : trunk
2010-09-05 12:22:08 +02:00
Shocker
adf1ae6286 Cleanup: Some typo fixes, closes issue 3798, thanks tru.bazoozoo and Lopin
--HG--
branch : trunk
2010-09-05 00:48:31 +03:00
azazel
f500ef201b Scripts/Texts:
* fix script texts in various locations (thanks TerrorBringer for the heads up). Closes issue #2055. Closes issue #3087.
* cleanup world_script_texts.sql file (remove spaces, order entries)
Scripts/Misc:
* remove obsolete random seed initialization from scripts
* fix some warnings in scripts
* some cleanup in chat_log.cpp

--HG--
branch : trunk
2010-09-05 02:16:58 +06:00
silinoron
0f997162ee Core/ScriptSystem: Refactor ScriptMgr::OnPlayerChat to no longer accept a C-style parameter of type void*.
Instead, use overloaded methods for the different types.

--HG--
branch : trunk
2010-09-04 12:49:39 -07:00
Shauren
0f9fe8dbeb Core/Players: Don't set instanceId to 0 when player is on transport during loading, there CAN be transports inside instances
Core/Scripts: Added waypoint id to OnRelocate transport hook
Core/Scripts: Make use of ZoneScript::GetGameObjectEntry at gameobject creation (makes it possible to override gameobject entries in instances)
Core/Transports: Call InstanceScript::EventInform for transport events
Core/Transports: Use guid from db for transports, not just its entry - adds partial support for instancing them (still cannot use transports table for it, but can spawn manually now)
Scripts/Icecrown Citadel: Fixed crash in Deathbringer Saurfang when event is started by more than one person (can't do this anymore)

Closes isssue #3749.

--HG--
branch : trunk
2010-09-02 10:40:32 +02:00
Supabad
a0585adb37 Scripts/Ulduar: Ulduar Teleporter
- add check for formation grounds thanks to silentstormpt
- fix gossip for ulduar teleporter

--HG--
branch : trunk
2010-09-04 15:42:43 +02:00
azazel
7884fd927a Spell Scripts:
* moved some generic spell dummy effects to scripts
* implemented two spell scripts for quests: 8913 Sacred Cleansing (Quest 55), 44936 Quest - Fel Siphon Dummy (Quest 11515). Closes issue #3040
* did some cleanup in spell scripts and added more comments

--HG--
branch : trunk
2010-09-04 02:33:57 +06:00
Shocker
ee83ffdfca Fix snake's HP for hunter's Snake Trap
--HG--
branch : trunk
2010-09-03 19:04:32 +03:00
azazel
b2a49ad79a Scripts/Blackrock Depths: fix spectral chalice spawning for quest with the same name (thanks niksad8). Closes issue #3086. Closes issue #2989.
--HG--
branch : trunk
2010-09-01 10:40:44 +06:00
John Holiver
3a765da2fa Small fix to Chimera Shot Serpent dmg and Scorpid CD.
Thanks to Arcane.

--HG--
branch : trunk
2010-08-31 19:13:59 -03:00
Shauren
6c3b39ac01 Scripts/Icecrown Citadel: Added Festergut script, thx Cromash for providing the base and Cyrax for sniffs
Scripts/Icecrown Citadel: Added Professor Putricide script handling ONLY Festergut related events

--HG--
branch : trunk
2010-08-30 11:36:15 +02:00
Shauren
dc2c28985f Scripts/Icecrown Citadel: Remove Mark of the Fallen Champion when Saurfang dies
Scripts/Icecrown Citadel: Change previous scripts to use BossAI instead of ScriptedAI

--HG--
branch : trunk
2010-08-31 21:47:45 +02:00
Shauren
58ce3c77af Core/Scripts: Revert revision 619ba8b76250 and fix it properly
--HG--
branch : trunk
2010-08-31 15:37:29 +02:00
Spp
b5beb1c706 Better way to fix some warnings from rev 621c100eeb.
--HG--
branch : trunk
2010-08-31 13:31:38 +02:00
Spp
b9e19572c4 Core: Fix more warnings (very few left under linux 32)
--HG--
branch : trunk
2010-08-31 11:39:51 +02:00