1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/lib/mapObjects
ArseniyShestakov 04a1df29ad Add TeleportChannel / TeleportChannelID / ETeleportChannelType
TeleportChannel is structure that contain two vectors of entrances and exits for certain teleport channel. It's also store passability state independently which almost only useful for Player and AI as they can't know if channel passible or not until enough entrances / exits are visible or server passed them information that certain channel is impassible when they visited entrance.

ETeleportChannelType is determined by checking intersection between entrances and exit vectors or checking their size:
 - IMPASSABLE: one of vectors empty or only one entrance id is same as only one exit id.
 - BIDIRECTIONAL: contents of both vectors is exactly the same.
 - UNIDIRECTIONAL: contents of both vectors do not intersect.
 - MIXED: contents of vectors only partially intersect. Not currently used; added for future modding.
2015-03-08 15:18:53 +03:00
..
CArmedInstance.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CArmedInstance.h VCMIDirs update #4 2014-08-11 20:17:17 +02:00
CBank.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CBank.h VCMIDirs update #4 2014-08-11 20:17:17 +02:00
CGHeroInstance.cpp More flexible way of spell school access 2014-11-24 19:14:10 +03:00
CGHeroInstance.h VCMIDirs update #4 2014-08-11 20:17:17 +02:00
CGMarket.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CGMarket.h Trying to sort out project changes and compile issues. 2014-06-23 19:58:19 +02:00
CGPandoraBox.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CGPandoraBox.h Default constructors for Scholar, Pandora and Event. 2014-09-23 09:46:31 +02:00
CGTownInstance.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CGTownInstance.h get rid of boost::assign 2014-10-04 00:34:13 +04:00
CObjectClassesHandler.cpp Fixed sound on object pickup with dialog 2014-08-06 17:19:53 +02:00
CObjectClassesHandler.h Fixed sound on object pickup with dialog 2014-08-06 17:19:53 +02:00
CObjectHandler.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CObjectHandler.h VCMIDirs update #4 2014-08-11 20:17:17 +02:00
CommonConstructors.cpp Banks won't use fuzzy engine at all, only center of mass. 2014-12-10 12:29:51 +01:00
CommonConstructors.h Banks won't use fuzzy engine at all, only center of mass. 2014-12-10 12:29:51 +01:00
CQuest.cpp Seer Huts with exp / gold rewards. 2015-03-01 09:46:09 +01:00
CQuest.h Fixes for Seer Huts. 2015-03-01 09:07:43 +01:00
CRewardableConstructor.cpp Something that compiles. 2014-06-26 22:05:27 +02:00
CRewardableConstructor.h Merge branch 'develop' of https://github.com/vcmi/vcmi into RMG 2014-06-26 20:12:37 +02:00
CRewardableObject.cpp Stables: give 400 movement points bonus instead of 600 2015-02-15 07:55:59 +03:00
CRewardableObject.h Fix CGBonusingObject serialization 2014-12-22 11:56:53 +03:00
JsonRandom.cpp Merged GUI refactoring into develop, fixed conflicts 2014-08-09 15:01:55 +03:00
JsonRandom.h Something that compiles. 2014-06-26 22:05:27 +02:00
MapObjects.h Cleanup: 2014-06-05 20:26:50 +03:00
MiscObjects.cpp Implemented "Quantity does not grow" for monsters (#2094) 2015-02-22 20:54:09 +01:00
MiscObjects.h Add TeleportChannel / TeleportChannelID / ETeleportChannelType 2015-03-08 15:18:53 +03:00
ObjectTemplate.cpp Corrected y-axis orientation, now object placement is correct. 2014-07-09 16:39:17 +02:00
ObjectTemplate.h - Implemented object per zone limit 2014-07-15 22:33:51 +02:00