PDA

Просмотр полной версии : [11117] Allow for non-instancable maps have InstanceData and instance scripts.


newsbot
08.02.2011, 04:48
автор: VladimirMangos


<pre>m sql/characters.sql
m sql/mangos.sql
+ sql/updates/11117_01_mangos_world_template.sql
+ sql/updates/11117_02_characters_world.sql
m sql/updates/Makefile.am
m src/game/AchievementMgr.cpp
m src/game/Creature.cpp
m src/game/GameObject.cpp
m src/game/InstanceData.cpp
m src/game/InstanceSaveMgr.cpp
m src/game/Level3.cpp
m src/game/Map.cpp
m src/game/Map.h
m src/game/MapManager.cpp
m src/game/Object.cpp
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/game/SQLStorages.cpp
m src/game/SQLStorages.h
m src/game/ScriptMgr.cpp
m src/game/World.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11117] Allow for non-instancable maps have InstanceData and instance scripts.

* New table added for non-instanced maps (except BG/arena):
- `mangos`.`world_template` (script mapping to non instanced data)
- `characters`.`world` (saved script data string storage)

* InstancedData created for any map types including BGs/arenas, that allow have scripts
state for any maps, but BG/arena instance data not saved.

Note: Possible structures will renamed later for clarify apply to any type maps,
but avoid for now for simplify changes and hard affect to script library sources.</pre>




Дальше... (https://github.com/mangos/mangos/commit/1d01f504a07d5c63621d31c022a3bbe5c671d544)