Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
megamage
495ef10b0d
Change ObjectAccessor to an ACE_Null_Mutex singleton, since its members have been protected by individual locks.
...
Also make some of its member functions static.
2011-11-07 09:44:09 -05:00
megamage
91f56c181c
More cleanup of grid system.
2011-10-22 10:01:29 -04:00
megamage
80a18b9e56
Some cleanup of grid system.
2011-10-22 09:36:05 -04:00
kaelima
be0b2fcf97
Core/Grid:
...
- Simplified CellArea calculation (Original author: SilverIce)
- Removed unused code in Cell class (Original author: SilverIce)
- Improve some Visit functions.
2011-10-19 17:40:44 +01:00
Liberate
fd45c111b0
Core/Grid: Fix a typo in e0d933fed8. Grids should work correctly again. Thanks Kaelima.
2011-10-18 23:16:33 +02:00
megamage
7231ab959f
Clean up grid system. Get rid of GridLoader. This patch should not change any logic, except the incorrect calculation of the number of loaded corpse (which only affects log).
2011-10-18 14:31:34 -04:00
megamage
ffdfd9252b
More clean up of grid system.
2011-10-18 11:51:30 -04:00
megamage
e27ef59548
Clean up grid system: allow directly creating Cell from x, y.
2011-10-18 11:18:49 -04:00
megamage
e0d933fed8
Use method IsCoordValid() to replace explicit checks.
2011-10-18 11:05:32 -04:00
megamage
c29ff41001
Rename some classes in grid system.
...
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
2011-10-18 10:53:34 -04:00
Spp
bc023c6dfb
Core: Fix some warnings
2011-10-18 12:39:01 +02:00
Spp
805e14a463
Core/Grid: Replaced ambiguous operator overloads with functions (Makes it clear to read)
2011-10-18 11:42:40 +02: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
megamage
76c9c30c2b
Merge pull request #3399 from megamage/master
...
Fix the relocation of creatures across cells. Try to fix #3054 .
2011-10-10 13:12:15 -07:00
Machiavelli
82dbe7bc17
Core: Fix some build errors after code style cleanup
2011-10-08 13:20:04 +02:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
megamage
eb8cbae0d5
Fix the relocation of creatures across cells. Try to fix #3054 .
2011-10-07 17:36:23 -04:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05: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
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
megamage
eb946691c7
Unlink Battleground and BattlegroundMap when one of them is deleted. Fix crash #3239 .
2011-09-27 17:26:13 -04:00
megamage
bd4cf4b78b
Store pendingInstanceId instead of pointer of instance save, because pointer may become invalid. Fix #2987 .
2011-09-15 22:04:51 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
megamage
76488854d8
A more conservative way to fix crash #2892 .
2011-09-13 11:54:55 -04:00
megamage
2dbf64827a
Do not call AddObjectToRemoveList(Pet*) in Map::MoveAllCreaturesInMoveList(). Fix #2892 .
2011-09-12 11:44:32 -04:00
Lopin
dad2fc78e2
Core/Logs: Added Difficulty output to InstanceMap::SetResetSchedule error message. Requested by Aokromes
2011-08-19 10:47:56 +02:00
Lopin
8ae5750c15
Core/Maps: Changed InstanceSave error message to show also Name & GUID of player and Entry & Name & InstanceId of instance map
2011-08-16 15:42:32 +02:00
Shauren
8e2a32906d
Core/Gridmonster: Increased upper value for search radius to size of grid
2011-08-08 13:16:03 +02:00
LihO
3fbb657e3b
Core/Maps : Crash fix
...
Closes #1489
2011-08-04 19:41:11 +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
Spp-
fa50c0a464
Fix some warnings here and there
2011-07-27 11:00:39 +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
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
5aeb4fe794
Core/ObjectMgr: Refactor sInstanceTemplate
2011-04-28 22:16:13 +02:00
zergtmn
1551b8a011
Core/Misc: move scheduled scripts counter to ScriptMgr (which is more logical, isn't it?)
2011-04-13 12:07:20 +06:00
Shauren
553d8d7016
Core/Instances: Fixed crashes happening when trying to access already deleted players.
2011-04-10 21:17:46 +02:00
click
d92fb9ad65
Core: Clean up some rogue whitespace and tabs
2011-02-27 18:34:24 +01: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
Azazel
4dc1eaa47c
Core/Misc: improve error log messages by adding more info. Specially for Aokromes.
2011-02-17 19:47:08 +06: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
464837077a
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
2011-01-24 11:20:30 +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
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00