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
be12603150
Configuration/ConfigMgr: converted from singleton to namespace with free functions.
2011-09-28 13:00:43 +02:00
Spp
b93067350c
Core/WeatherMgr: singleton converted to namespace with free functions. Note how RAII saves your life and removes the need in explicit delete :)
2011-09-28 11:38:56 +02:00
Shauren
94e5ff6549
Core/Commands: Removed setting orientation from cast commands
2011-09-17 12:16:33 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
327fe7c247
Core: Define helper functions to know if an account is Player, Moderator, GM, Admin or Console
2011-09-08 15:11:55 +02:00
Spp-
eddcb8ffbf
AccountMgr singleton converted to namespace with free functions as it has no internal state
2011-09-08 10:49:58 +02:00
Chaplain
bea649d045
Core: cleanup.
...
*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
2011-09-01 22:38:32 +03:00
Lopin
b92d6f3d20
Core/Commands: Added TrinityString instead of hardcoded string
2011-08-22 12:07:27 +02:00
Lopin
6e79510bc5
Core/Commands: Added output to .baninfo character <name> even when character has never been banned. Closes #2699
2011-08-22 11:22:26 +02:00
QAston
df87f00e73
Core/Commands: Add .cast dest #spellid #x #y #z which orders selected unit to cast a spell at selected destination.
2011-08-06 22:50:46 +02:00
Machiavelli
981e3540c8
Core/Chat: Fix a crash in .lookup spell command
2011-07-29 15:02:20 +02:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14: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
Nay
9ed52dc646
Core/Commands: Update the trinity_string and cleanup the code related to .list auras command
2011-07-04 16:03:11 +01:00
Spp-
e9aa72cc7b
Cosmetic: rename function escape_string to EscapeString
2011-06-30 14:52:44 +02:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +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
QAston
3effdb2c23
Core/Auras: Add Aura::TryRefreshStackOrCreate function and remove stack checks from Aura::Create
2011-06-07 12:47:32 +02:00
tobmaps
600cc16c94
Core/Players: Pet talents can be reset at a pet trainer for free, original idea by rsa
2011-05-31 05:47:17 +07:00
tobmaps
42fc72447b
Core/Dungeon Finder: Fix instances unlock after level change
2011-05-29 22:49:05 +07:00
Az@zel
f73c6c40bb
Core/Misc: fix compiler warnings
2011-05-11 11:12:26 +06:00
leak
ea06dcf418
Core/ObjectMgr: Refactor guild related functions into dedicated class
2011-05-04 10:08:09 +02:00
leak
ce01a37c2c
Core/ObjectMgr: Refactor arena team related functions into dedicated class
2011-05-03 15:01:37 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
01a79947d5
More cleanup after last commit spree
2011-04-29 19:59:40 +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
e58f47664f
Restore gcc build
2011-04-28 23:38:16 +02:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
leak
a82654debd
Core/ObjectMgr: Refactor sItemStorage
2011-04-28 22:42:33 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Azazel
ca76e17bd6
Core/Cleanup: refactor honor and arena rating modifying methods:
...
* simplify wierd logic;
* add const modifiers to several getter methods.
(Idea based on commit [11187] by zergtmn for Mangos)
2011-03-17 11:00:41 +06:00
Azazel
3973d1b454
CharDB Schema/Cleanup: cleanup channels table:
...
* rename columns (remove m_ prefix and convert to lowerCamel case);
* rename prepared statements to conform to standards (there is no CLEAN statement).
2011-03-11 17:18:17 +06:00
Shauren
9710c41a40
More warning fixes
2011-03-08 19:11:02 +01:00
leak
6a64c79d2a
Core/Groups: Group system cleaning sweep.
2011-02-18 18:35:52 +01:00
leak
c306acf298
SQL: Characters db storage type cleanup No. 2
2011-01-19 14:04:33 +01:00
Machiavelli
deed0d0781
Core/General: Fix some comment style. //* to // *. Fixes certain code display errors on nano. Thanks to Aokromes for pointing out.
2011-01-16 12:23:17 +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
azazel
b39b8fdd0d
DB Schema/Characters: removed columns auctionhouse.item_template, character_inventory.item_template, guild_bank_item.item_entry and mail_items.item_template and created item_instance.itemEntry column instead of them.
...
As a side effect moved related queries to prepared statements.
As one more side effect fixed not shown and lost mail items in returned expired mail (patch by Quriq14).
--HG--
branch : trunk
2010-12-15 14:08:12 +06:00
Shauren
f4581f67b8
Core: Fixed uninitialized variable warnings
...
--HG--
branch : trunk
2010-12-14 15:58:45 +01:00
azazel
e7eb4e22e2
Core/Mechanics: cleanup shapeshift form code (by VladimirMangos)
...
--HG--
branch : trunk
2010-12-09 17:03:42 +06:00
Spp
b434273ed8
Core/Dungeon Finder: Some optimizations
...
- Reduce core dependencies with LFGMgr
- Remove reduntant calculations in RoleCheck code
- Remove no longer needed functions
- Fix some packet data (Missing 0 when arrays were null)
- Add some debug msgs
closes issue 5042
--HG--
branch : trunk
2010-12-08 21:29:43 +01:00
click
bc098658c6
Core/Chat: Configure automatic owner declaration for custom chat channels (patch by leak)
...
Closes issue 4974.
--HG--
branch : trunk
2010-12-02 03:54:52 +01:00
Spp
25ac835507
Core/Groups: Move all function definition from .h to .cpp
...
Core/Groups: Remove Group.h dependency from any .h file
--HG--
branch : trunk
2010-11-29 07:50:31 +01:00