|
---|
|
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
|
10.02.2011, 05:26 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
[11126] Rewrite InstanceSaveMgr related code.
автор: VladimirMangos
<pre>m src/game/CalendarHandler.cpp m src/game/Creature.cpp m src/game/GameObject.cpp m src/game/GridMap.h m src/game/Group.cpp m src/game/Group.h m src/game/InstanceSaveMgr.cpp m src/game/InstanceSaveMgr.h m src/game/Level1.cpp m src/game/Level3.cpp m src/game/Map.cpp m src/game/Map.h m src/game/MapManager.cpp m src/game/MapManager.h m src/game/MovementHandler.cpp m src/game/ObjectMgr.cpp m src/game/Player.cpp m src/game/Player.h m src/game/PoolManager.cpp m src/game/Unit.cpp m src/game/World.cpp m src/shared/revision_nr.h </pre> <pre style='white-space:pre-wrap;width:81ex'>[11126] Rewrite InstanceSaveMgr related code. * For better fit name to related map type class InstanceMap renamed -> DungeonMap. This clarify usage Instanceable()/IsDungeon() because BG/Arenas maps also instanceable maps. * InstanceSave have many code related to only DungeonMap case, so it replaced by 3 new classes: - MapPersistentState as base class, used for non-instanceable maps (continents and some other) (!Instenceable()) - DungeonPersistentState subclass of MapPersistentState, used for DungeonMap states (IsDungoen()) - BattlegroundPersistentState subclass of MapPersistentState, used for BattlegroundMap states (IsBattleGroundOrArena()) Now all dungeon resets code moved to subclass and all player/gpoup bound functions/structures also use it. * Map::GetInstanceSave renamed to Map::GetPersistentState and DungeonMap have specialized version return DungeonPersistentState (same pointer in fact with proper subcalss type) * InstanceResetScheduler renamed to DungeonResetScheduler</pre> Дальше... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
[11046] Optimize and make more safe some transactions in InstanceSaveMgr. | newsbot | CMaNGOS Commits | 0 | 19.01.2011 23:50 |
[11045] Rewrite internals of DB layer. Simplify code and use less locking. Spawn and use separate co | newsbot | CMaNGOS Commits | 0 | 19.01.2011 23:10 |
[10909] Code style cleanups in scripting related functions | newsbot | CMaNGOS Commits | 0 | 23.12.2010 17:11 |
[10321] Share some code for faction related commands. | newsbot | CMaNGOS Commits | 0 | 05.08.2010 01:24 |
[10094] Extract instance reset scheduler from InstanceSaveMgr | newsbot | CMaNGOS Commits | 0 | 22.06.2010 04:45 |