/* * RegisterTypesMapObjects.h, part of VCMI engine * * Authors: listed in file AUTHORS in main folder * * License: GNU General Public License v2.0 or later * Full text of license available in license.txt file, in main folder * */ #pragma once #include "../mapObjectConstructors/CBankInstanceConstructor.h" #include "../mapObjects/MapObjects.h" #include "../mapObjects/CGCreature.h" #include "../mapObjects/TownBuildingInstance.h" #include "../mapObjects/ObjectTemplate.h" #include "../battle/BattleInfo.h" #include "../battle/CObstacleInstance.h" #include "../bonuses/Limiters.h" #include "../bonuses/Updaters.h" #include "../bonuses/Propagators.h" #include "../CPlayerState.h" #include "../CStack.h" #include "../CHeroHandler.h" VCMI_LIB_NAMESPACE_BEGIN template void registerTypesMapObjects(Serializer &s) { ////////////////////////////////////////////////////////////////////////// // Adventure map objects ////////////////////////////////////////////////////////////////////////// s.template registerType(); // Non-armed objects s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); // Armed objects s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); //new types (other than netpacks) must register here //order of type registration is critical for loading old savegames //Other object-related s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); //end of objects ////////////////////////////////////////////////////////////////////////// // Bonus system ////////////////////////////////////////////////////////////////////////// //s.template registerType(); s.template registerType(); // Limiters //s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); // s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); s.template registerType(); //s.template registerType(); //TODO //s.template registerType(); s.template registerType(); s.template registerType(); //s.template registerType(); s.template registerType(); //s.template registerType(); s.template registerType(); } VCMI_LIB_NAMESPACE_END