Malcrom
0105bc849f
Core/Scripting: Misc clean up and a warning fix
2013-01-07 21:47:38 -03:30
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Gacko
7accb42cc4
Core/DB: Convert 25 more scripts to creature text
2012-11-26 22:55:12 +01:00
Gacko
4065176897
Core/DB: Convert 14 more scripts to creature text
2012-11-23 16:25:59 +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
Elron103
1e361bc43a
Scripts/MoltenCore: Fix boss Golemagg enrage behaviour
2012-09-03 01:57:01 +02:00
Vincent-Michael
634b3645d5
Core/Misc: Use proper headers to optimize compile
2012-07-30 05:38:40 +02:00
Machiavelli
bc96df1aae
Core/Shared: Move container functions to shared project under Trinity::Container namespace. Also implement RandomResizeList which takes a predicate function as parameter.
...
Core/ScriptedAI: Extend SummonList::DoAction to take a predicate function as parameter and allow specifying a maximum number of units to be selected.
2012-04-08 17:40:05 +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
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
Nay
2b2d054f64
R.I.P SimpleAI
...
- Convert SimpleAI to (DB) SmartAI
- Spell ids corrected (and completed some of the scripts)
- Random cleanup (code style) in some scripts
2012-03-11 16:59:17 +00:00
Spp
f495e0efe4
Warning fixes and some random cleanup here and there
2012-03-07 14:09:18 +01:00
Shocker
08be716ef8
Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
2012-02-03 19:02:17 +02:00
Bootz
6c3bdb1f70
Scripts/EasternKingdoms: MoltenCore
...
* Fixed Enums in defines.
2012-01-26 02:55:23 -06:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
Shauren
44693cfa99
Core: Fixed a few warnings and silly typos in scripts
2011-11-23 16:57:08 +01: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
click
1aff85f541
Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits)
2011-07-03 00:28:03 +02:00
click
70115f52f7
Core: Cleaning up hungarian notation - Phase3: pTarget -> target
2011-07-02 23:16:45 +02:00
click
f91ee24184
Core: Start cleaning up hungarian notation - Phase1: pCreature -> creature
2011-07-02 22:18:03 +02:00
Spp-
6fd41ae50e
Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
2011-06-30 14:24:56 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Shauren
7a03861715
Scripts/Molten Core: Fixed core freezes caused by this script
...
Closes #1217 , #798 , #905
2011-04-16 13:59:34 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
c2c40a4750
Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now
2011-03-09 21:32:04 +01:00
Shauren
e5347a3bda
Core: Fixed warnings:
...
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
Shauren
1740df0fac
Fixed typo (and compile)
2011-02-03 22:38:33 +01:00
Shauren
c2b0bcbd6c
Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
...
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
Shauren
7ea8bad07f
Scripts/Molten Core: Huge cleanup in instance script, converted all bosses to use BossAI, cleaned code style
...
Scripts/Molten Core: Implemented saving boss states to database, now it is possible to continue the instance after core restart
2011-02-03 21:59:07 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00
Spp
bd2728eb74
Core: Fix some warnings
2011-01-11 11:18:00 +01:00
Machiavelli
f832990678
Scripts/Molten Core: Remove a redundant health-check in majordomo executus script.
...
Thanks to Lopin for pointing out.
2011-01-06 20:59:58 +01:00
sarjuuk
855e910298
Scripts/Molten Core: Ragnaros gets spawned after Majordomus dies. Majordomus gets spawned by killing everything else.
...
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com >
2011-01-06 19:07:52 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
leak
6fe19b5a86
Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two virtual functions each.
...
Note to scripters: be aware that you will need to hook into the Remove functions if you want to do stuff at GO/creature removal.
Closes issue 5011.
--HG--
branch : trunk
2010-12-05 18:04:10 +01: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
Spp
e252b8abe7
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 23:07:14 +02:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
click
95f0d56077
Core/Scripts: Fix even more scriptbugs from convertion (thanks to Kierkegaard)
...
--HG--
branch : trunk
2010-08-18 20:35:29 +02:00
silinoron
a094d3e281
Properly initialize instance scripts with the appropriate map id to avoid loadup errors.
...
--HG--
branch : trunk
2010-08-09 10:37:28 -07:00
click
abd261b1a1
Replace (CR) character from all converted scripts and replace it with it's proper (LF) counterpart
...
- should fix the "linking scripts" failure (not tested)
--HG--
branch : trunk
2010-08-09 01:52:26 +02:00
azazel
590199d8e1
* Rename InstanceData to InstanceScript
...
* Rename *mgr to their new names in scripts project
* Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker.
--HG--
branch : trunk
rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp
rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
2010-08-08 22:54:58 +06:00
Xanadu
79622802f3
Merge. Revision history for source files should be all back now.
...
--HG--
branch : trunk
rename : sql/CMakeLists.txt => sql/tools/CMakeLists.txt
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
2010-07-20 02:49:28 +02:00
click
673c652ba6
change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
...
--HG--
branch : trunk
2010-07-12 00:30:17 +02:00
click
6f393be15a
Update GPL-licensing information on scripts (now with the proper bling-bling headers!)
...
If any more scriptfiles are missing their respective header, let us know please...
--HG--
branch : trunk
2010-07-06 03:27:41 +02:00
click
8bdd082aa1
Adjust to use correct timeframe for script-copyrights
...
--HG--
branch : trunk
2010-07-02 16:13:40 +02:00