Subv2112
93d199f043
Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
...
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
megamage
3ba22d0d06
Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management.
2011-10-10 17:39:34 -04:00
Fredi Machado
fd76ef3cd0
Script/Commands: Codestyle and cleanups
2011-10-10 10:33:13 -03: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
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
QAston
68037cdc3c
Scripts/Commands: Allow c++ style comments in opcode.txt file for .debug send opcode command.
2011-09-01 10:46:15 +02:00
Chaplain
f5a668ae8d
Core: Cleanup.
2011-08-30 23:09:39 +03:00
Cron
e2c1dac196
Scripts/Commands: Forgotten change & fix a mistake.
2011-08-09 07:43:42 -03:00
Cron
564fa1a557
Scripts/Commands: Killed some more engrish in debug CommandScripts.
2011-08-09 07:40:49 -03:00
Cron
dd6be6b2fd
Scripts/Commandes: Kill some engrish.
2011-08-08 09:31:15 -03: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
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
Shauren
0ad14aeafd
Core/Gossip: Gossip menu items will now have constant index, allowing to properly define scripts relying on that index when mixed with conditions. Script-created menus via ADD_GOSSIP_ITEM will still have the index generated dynamically
2011-05-26 23:57:17 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Azazel
6fb2bf4224
Core: use enum InventoryResult as return type for functions working with player items.
...
Original patch by TOM_RUS.
2011-04-29 16:48:15 +06:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
leak
a82654debd
Core/ObjectMgr: Refactor sItemStorage
2011-04-28 22:42:33 +02:00
Azazel
e49b5b44d6
Core/Cleanup: remove C-style cast to (Bag*):
...
* add ToBag() methods for Item class;
* add GetBagByPos() method for Player class.
2011-03-18 15:58:08 +06:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +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
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
7b4e1c6387
Core/ObjectMgr: Static members are no longer accessed through singleton
...
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
click
3e27be7501
Core/Scripts: Tidy up commandscripts to adhere to scripting-standards and fix some minor typos (fix by Paradox)
...
Closes issue #4859 .
--HG--
branch : trunk
2010-11-19 14:04:21 +01:00
Spp
addd762c4d
Core: Fix warnings
...
--HG--
branch : trunk
2010-11-16 14:08:12 +01:00
click
61f07610fd
Core/Scripts: Fix some includes in debugcommands-script (now works properly on non-PCH compiles)
...
--HG--
branch : trunk
2010-11-14 00:13:51 +01:00
click
c374f3245a
Scripts/Commands: Add tele and event commands to commandscripts system and streamlining the command selection process to ensure the correct command is run when using abbreviations
...
Patch by Paradox (some cleanups was needed)
--HG--
branch : trunk
2010-11-13 22:29:46 +01:00
Paradox
de1798e4ac
Core/Scripts Part 1 of moving all commands to commandscripts
...
closes issue 4669
(first 5 patches rolled into 1)
Patch by Paradox
--HG--
branch : trunk
2010-11-09 10:15:35 -05:00