1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/lib/mapObjects
ArseniyShestakov d3c8ca7c1c Pathfinding: implement duration checking for fly and water walking
Now pathfinder take into account different bonuses for different tuns. So if you only have FLYING_MOVEMENT bonus from Fly spell for one turn then pathfinder will only let you use air layer within one turn only.

That work for cost calculations too. Let's say you have two bonuses:
 - FLYING_MOVEMENT with 20% penalty for next 2 turns
 - FLYING_MOVEMENT with 40% penalty for 5 turns
Now pathfinder using correct penalty for each turn so movements in air layer going to be more expensive on 3-5 turns.
2015-11-09 19:57:26 +03:00
..
CArmedInstance.cpp fix mantiss 1967 + some refactoring 2015-09-04 22:29:20 +03:00
CArmedInstance.h VCMIDirs update #4 2014-08-11 20:17:17 +02:00
CBank.cpp Start spell-relatet files reorganisation 2015-02-26 08:39:48 +03:00
CBank.h VCMIDirs update #4 2014-08-11 20:17:17 +02:00
CGHeroInstance.cpp Pathfinding: implement duration checking for fly and water walking 2015-11-09 19:57:26 +03:00
CGHeroInstance.h Pathfinding: implement duration checking for fly and water walking 2015-11-09 19:57:26 +03:00
CGMarket.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CGMarket.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CGPandoraBox.cpp Start spell-relatet files reorganisation 2015-02-26 08:39:48 +03:00
CGPandoraBox.h Default constructors for Scholar, Pandora and Event. 2014-09-23 09:46:31 +02:00
CGTownInstance.cpp Fix issue 2276. Refugee Camp shouldn't be guarded 2015-10-16 06:45:06 +03:00
CGTownInstance.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CObjectClassesHandler.cpp Updated CGTeleport and new CGMonolith / CGSubterraneanGate / CGWhirlpool 2015-03-08 16:11:23 +03: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 Fixed bank randomization. 2015-10-02 17:28:33 +02:00
CommonConstructors.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CQuest.cpp Seer Huts with exp / gold rewards. 2015-03-01 09:46:09 +01:00
CQuest.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03: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 fix mantiss 2142 2015-04-01 00:28:21 +03:00
CRewardableObject.h Fix CGBonusingObject serialization 2014-12-22 11:56:53 +03:00
JsonRandom.cpp Start spell-relatet files reorganisation 2015-02-26 08:39:48 +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 CGSubterraneanGate: fix pairing and always assign all gates to channel 2015-03-11 17:17:21 +03:00
MiscObjects.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
ObjectTemplate.cpp Fixed #2026 2015-03-12 10:08:10 +01:00
ObjectTemplate.h - Implemented object per zone limit 2014-07-15 22:33:51 +02:00