treeston
9a829b4761
Scripts/Events: Globally fix all ExecuteEvent loops to check UNIT_STATE_CASTING after each iteration, instead of just checking it once initially
2016-09-03 17:26:20 +02:00
treeston
3ef2ed31e2
Instances/DrakTharonKeep: Fix Novos the Summoner. Fixes #17331 .
2016-07-20 16:35:58 +02:00
ariel-
d04d14e34d
Update copyright note for 2016
2016-01-11 23:27:45 -03:00
Aokromes
7680c90abd
Update (C) date
2015-07-19 13:37:44 +02:00
Shauren
9b316fe689
Core/Scripts: Fixed PCH build
2014-09-16 00:44:56 +02:00
Shauren
a3d8f1d879
Core/Scripts: Fixed build of boss_* scripts
2014-09-15 22:07:11 +02:00
Shauren
56f46e3ce5
Scripts
...
* Introduced GetGuidData/SetGuidData to store guids in instance scripts (GetData64/SetData64 are still there)
* CONDITION_INSTANCE_INFO: Changed existing DATA64 condition to GUID_DATA to preserve current use of this instance info type (most/all assume the data is a guid) and moved DATA64 to a different value - no db changes needed
* Fixed compile in boss scripts starting with letter A
2014-09-14 23:23:23 +02:00
jackpoz
df7f188cfe
Core/Misc: Refactor scripts to fix static analysis warnings
...
Fourth batch of fixes targeting 100 issues reported by Coverity
2014-09-07 20:12:54 +02:00
joschiwald
ef9b4aea5e
Core/InstanceScript: refactored load and save methods
2014-09-07 00:42:14 +02:00
MitchesD
86b3298a47
Scripts/Misc: random fixes
2014-06-14 17:48:47 +02:00
jackpoz
1083dbb993
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
2014-05-20 21:21:33 +02:00
Shauren
f9c7bb4171
Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
...
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Praetonus
f296095191
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
...
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Dehravor
24ae6a6802
Core/Misc: Remove obsolete C++11 backward compatibility macros
...
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-29 16:35:11 +02:00
Vincent-Michael
0b615ec159
Scripts/Misc: Small code optimizations
2014-03-29 20:58:49 +01:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Nawuko
6d21d33aac
Core: user defined literals need a space in front
2013-12-30 20:35:37 +01:00
Malcrom
fe95371d9a
Core/Scripting: Replace casted with cast as casted is not a word.
2013-12-25 14:16:55 -03:30
Vincent_Michael
9802c7b891
Scripts/Misc: Coding Style unification? (by Aokromes)
2013-10-22 20:24:05 +02:00
joschiwald
a383885f5c
Scripts/AhnKahet: reworked InstanceScript
2013-08-21 19:43:46 +02:00
joschiwald
7e3a52bb42
Scripts/HallsOfLightning: reworked InstanceScript
2013-08-20 18:11:41 +02:00
MitchesD
90dcb2a448
Scripts/DrakTharonKeep: update Tharon'Ja
...
- update Tharon Ja to BossAI
- update one creature - cosmetic npc
Closes #10524
2013-08-16 14:34:42 +02:00
Vincent-Michael
8acefbff8c
Scripted: Use now override for instance scripts
2013-08-10 17:42:12 +02:00
MitchesD
8f50e30904
Scripts/DrakTharonKeep: update Trollgore
...
Closes #10453
Signed-off-by: joschiwald <joschiwald@online.de >
2013-08-08 00:25:53 +02:00
Vincent-Michael
1e8fd6489d
Core: Fix non pch build
2013-08-07 18:44:23 +02:00
joschiwald
0667e89005
Scripts/DrakTharonKeep: add some spellscripts, add yells to novos, and do some cosmetic changes
2013-08-07 17:31:36 +02:00
joschiwald
0d0baf004d
Scripts/DrakTharonKeep: fix copy paste fail
...
Closes #10402
2013-07-30 15:46:56 +02:00
MitchesD
3b78023100
Scripts/DrakTharonKeep: Update King Dred to use events
...
Closes #10385
Signed-off-by: joschiwald <joschiwald@online.de >
2013-07-29 13:11:07 +02:00
joschiwald
d868f9db4b
Scripts/DrakTharonKeep: reworked InstanceScript
2013-07-29 12:49:27 +02:00
Nay
3561ab98ba
Misc: Use override and final C++11 keywords in a few places (mostly scripts)
...
OVERRIDE and FINAL are TC macros (expand to nothing if compiler does not support C++11)
2013-07-06 20:21:45 +01:00
Vincent-Michael
6079f369af
Scripted/Misc: Some cleanup
2013-07-06 01:00:05 +02:00
kaelima
a50fef2336
Scripts: Prevented several KilledUnit texts to yelled for non-players such as pets
2013-06-19 00:41:40 +02:00
Malcrom
ec474a62e5
Core: More Function Renaming.
2013-06-11 21:25:12 -02:30
Spp
d091097433
Core/AI: Do not expose internal storage of SummonList
2013-03-21 11:06:05 +01:00
Nefarion
49fd11ab5a
First step of comment style refactoring to doxygen-style.
2013-03-08 21:55:37 +01:00
Shauren
5b414bb813
Core/Scripts: Removed useless const modifier on method parameters accepting primitive types passed by value
2013-02-19 17:35:27 +01:00
Gacko
ea72933608
Fix non PCH build
2013-01-05 19:10:18 +01:00
Gacko
c86230208f
Script: Novos rewrite
2013-01-05 18:03:11 +01:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Gacko
a73a7dc43f
Core/DB: Creature text for 37 script files
2012-12-02 19:13:57 +01:00
Spp
81606e5d1e
Core/Misc: Define some methods const
2012-11-20 09:29:52 +01:00
Spp
b99c347747
Core: Remove Player.h dependency from all the possible headers
2012-11-17 05:18:37 +01:00
kaelima
2958f64ffc
Scripts/Misc: Correct two wrong urand's
...
(found by Aokromes)
2012-10-09 14:53:29 +02:00
Vincent-Michael
302051da3d
Core/Scripts: Fixed more uninitialized variables
2012-08-14 23:46:42 +02:00
kaelima
f92946e128
Core/Misc: Fix some mem-leaks and uninitialized variables.
2012-08-12 20:06:12 +02:00
Vincent-Michael
634b3645d5
Core/Misc: Use proper headers to optimize compile
2012-07-30 05:38:40 +02:00
Gyx
d9088c083c
Core/Script: Code style and some rewriting.
...
JustDied(Unit* Killer) -> JustDied(Unit* killer)
JustDied(Unit* /*Killer*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*unit*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*slayer*/)) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*victim*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* victim) -> JustDied(Unit* killer)
JustDied(Unit* /*who*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* who) -> JustDied(Unit* killer)
JustDied(Unit*) -> JustDied(Unit* /*killer*/)
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-31 18:56:37 +08:00
Gyx
bef1b0c402
Core/Script: Code style.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:40:57 +08:00
Gyx
e8f414e143
Core/Script: Clean-Up in Scripts.
...
Creature* c -> Creature* creature
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-14 09:20:36 +08:00
QAston
c7ea952a47
Core/Entities: Rename UNIT_FLAG_OOC_NOT_ATTACKABLE and UNIT_FLAG_PASSIVE to UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC respectively. New names tell much more about what those flags do.
2012-02-03 18:46:05 +01:00