Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02: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
Spp-
acd0fc79f6
Core: Pass by const reference for simple objects replaced with pass by value
2011-08-01 14:23:27 +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
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
click
1aff85f541
Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits)
2011-07-03 00:28:03 +02:00
click
f676585cac
Core: Cleaning up hungarian notation - Phase5: pWho -> who
2011-07-02 23:53:38 +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
click
a9c9ab0efa
Core: Clean up script variables to make variables consistant/standardized, and some additional warning-removals:
...
+ Fix compilewarning in Unit.cpp
+ Remove/comment out unused parameters for some commandscripts/scripts (warnings)
+ Replace "plr" with "player" all over the scriptbase for consistency
2011-07-01 03:00:39 +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
f16df538ee
Core: More codestyle cleanups
2011-06-12 01:47:45 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
Az@zel
72b73d2cb9
Scripts/Scarlet Enclave: fix stolen effect for DK quest, which allowed to hang server by spawning unlimited number of mobs
2011-06-08 11:59:45 +06:00
Shauren
64adce7b8b
Scripts: Removed CAST_SUM define
2011-05-25 15:55:14 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
Shauren
8898db8b27
Core: Corrected NULL usage, it should only be used with pointers, not integers
2011-04-23 15:53:48 +02:00
Shauren
e1bacef346
Core: Removed unused functions (leftovers from sd2, was needed when scripts were built as separate dll)
2011-04-01 20:31:15 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
3b343ac497
Core/Scripts: Code style cleanup in AI base classes, removed duplicate DoAction method
2011-03-19 19:41:42 +01:00
Shauren
c2c40a4750
Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now
2011-03-09 21:32:04 +01:00
kaelima
00f2ded757
Scripts/Scarlet Enclave: Fix model for scarlet mine cart.
2011-03-08 09:43:38 +01:00
Machiavelli
5236bf4511
Fix build with scripts included
2011-02-20 21:19:32 +01:00
Machiavelli
c1445cd475
Fix build with scripts included
2011-02-20 21:07:03 +01:00
Ottowayne
4a052cb444
Scripts/Scarlet Enclave: Quest 12801 - Respawn required Adds on Mograine Respawn
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 21:16:46 +01:00
Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Spp
408fce1de6
Core: Some optimizations
...
- Declare some functions const
- Fix some mem leak
- Fix some resource leak
- Remove unused variables and functions
- Remove duplicate functions
- Reduce the scope of some variables
- Remove unused file
--HG--
branch : trunk
2010-12-06 02:07:53 +01:00
linencloth
8fae0c176d
Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
...
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility
--HG--
branch : trunk
2010-11-16 01:13:04 +01: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
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
Spp
405f312918
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 15:25:15 +02:00
Liberate
f67441b863
Fixes gossip scripts or points of interests of npc's with a Scriptname assigned to them.
...
This fixes guards in Major cities.
Thanks to Aokromes for testing.
Thanks to click for converting all the scripts to work with this change.
--HG--
branch : trunk
2010-08-29 00:57:51 +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
Spp
58e94dcb9d
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-23 14:10:24 +02:00
azazel
399e35f8f5
Core:
...
* fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings
* fix some other warnings here and there
--HG--
branch : trunk
2010-08-22 23:46:40 +06:00
Machiavelli
3cf6af1779
Also fix npc_scarlet_miner
...
--HG--
branch : trunk
2010-08-14 05:51:29 +02:00
Machiavelli
cc351c7f1c
Fix script (and crash in) npc_scarlet_miner_cart
...
--HG--
branch : trunk
2010-08-14 05:47:51 +02: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
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +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
QAston
6353e7dd8c
*Update movement enums - thanks to Zor for info.
...
*Add functions for position data streaming.
--HG--
branch : trunk
2010-08-04 14:39:45 +02:00
QAston
d666ba26c1
*Thread safe player searcher in scripts.
...
--HG--
branch : trunk
2010-07-30 15:51:07 +02: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
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
Xanadu
c9b20170a3
Cleanup of logging - removed a few duplicit functions from olden times, fixed a typo.
...
--HG--
branch : trunk
2010-06-22 02:53:04 +02:00
click
7561bab716
Change around some more headers to adhere to new strucutre and namebase
...
--HG--
branch : trunk
2010-06-08 23:44:55 +02:00