1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-25 00:37:24 +02:00
Commit Graph

9319 Commits

Author SHA1 Message Date
1bc335323d CPathfinder: add lightweightFlyingMode option suggested by @alexvins 2015-11-04 15:05:22 +03:00
330c1666fc CPathfinder: move isLayerTransitionPossible and remove outdated comment 2015-11-04 12:29:51 +03:00
934c682733 CPathfinder: always add air and water layer nodes to queue
It's should be possible to go into air layer from visitable object (but opposite isn't allowed).
And when walking on water player can't really interact with any object at all so future movement always possible.
2015-11-04 11:53:52 +03:00
595deda270 CPathfinder: rename functions to better represent what they doing 2015-11-04 11:47:43 +03:00
da01af319b Merge pull request #124 from vcmi/issue/1372
Issue/1372
2015-11-04 10:39:40 +03:00
75a76c0bf0 FixDefenceAni 2015-11-04 00:19:40 +01:00
8b6b4e2e0b Fix header case for Linux to Windows cross compilation using MingGW 2015-11-03 14:40:36 +03:00
dfd70849e9 CPathfinder: restore selective tile initialization to initializeGraph
This way we can avoid layer checks when calculating paths by ignoring unitialized tiles entirely.
Also at this point pathfinder and movement actually works for everything except flying.
2015-11-03 03:25:12 +03:00
4b5cb3599a Do not try to rise demons from war machines 2015-11-03 02:20:26 +03:00
6a9dc78dcd [WiP]Added some checks for RISE_DEMONS action. 2015-11-03 02:18:36 +03:00
fbebbf39f3 Fix zero size stack summoned in case of basic resurrection. 2015-11-03 02:18:35 +03:00
f6b9015324 Use constant for summoned creature slot 2015-11-03 02:18:34 +03:00
c94bea51e3 Update army in case of summoned creatures 2015-11-03 02:18:33 +03:00
b024237e8a Remove stack instancies of removed stacks 2015-11-03 02:18:32 +03:00
c85c7f4b61 CPathfinder: always initialize all nodes within initializeGraph 2015-11-03 01:29:43 +03:00
349f16a359 Version bump. 2015-11-02 17:28:54 +01:00
d7b70da27e Merge branch 'develop' of https://github.com/vcmi/vcmi into develop 2015-11-02 16:40:39 +01:00
c047fea44c Updated changelog. To be released as VCMI 0.98e. 2015-11-02 16:39:57 +01:00
400152caee CPathfinder: draft implementation of layers logic; not yet works 2015-11-02 16:03:03 +03:00
460227ec23 GitIgnore 2015-11-02 12:08:42 +01:00
9c1c7d0caf Pathfinding: move getNode into CPathsInfo 2015-11-02 14:04:26 +03:00
4b64bec711 EPathfindingLayer: copy other code from ETerrainType for debugging 2015-11-02 13:25:01 +03:00
2b6e1498d2 Pathfinding: change argument order for getPath and AUTO layer as default
This still need investigation, but likely most of external code shouldn't be aware of layers in order to work properly because only LAND and SAIL can be targeted and single tile can't have both of these layers.
2015-11-02 11:14:32 +03:00
b8253206c7 Pathfinding: make related code aware that layers exist 2015-11-02 11:06:06 +03:00
118039a368 Pathfinding: add copy-pasted EPathfindingLayer 2015-11-02 11:05:26 +03:00
1bcfa986e4 Apply fixes to pathfinder 2015-11-01 01:52:43 +03:00
d46364c4c3 Merge branch 'develop' into issue/2306
Need to reapply changes to pathfiner

Conflicts:
	AI/VCAI/VCAI.cpp
	lib/CGameState.cpp
	lib/CGameStateFwd.h
2015-11-01 01:49:57 +03:00
4df16d525a Merge pull request #130 from vmarkovtsev/issue/2306
Issue/2306
2015-11-01 01:10:27 +03:00
34cc9c78f7 [c::b] update projects 2015-11-01 00:01:41 +03:00
621c62b44e Don't crash when spell school level is higher than 3 (which is another bug) 2015-10-31 21:15:40 +01:00
5c623868bf Fix invalid dynamic_cast replacement 2015-10-31 23:01:22 +03:00
e6e975e9ef Fix adventure map movement segfault in some scenarios 2015-10-31 20:23:13 +03:00
fa8a282696 Fix pthread_mutex_lock abort() in requestActionASAP impl 2015-10-31 18:04:06 +03:00
5ef02aaf88 Updated MSVS project. 2015-10-31 15:08:13 +01:00
17071c6ec8 Merge pull request #125 from ArseniyShestakov/newMovementSystem
Okay, time to merge this.
2015-10-31 13:56:22 +01:00
68cc860133 Fix dynamic_cast on MacOSX in CQuery.cpp 2015-10-31 15:05:52 +03:00
a0a55974ea Fix issue 2320. Town events for buildings should now work 2015-10-28 08:46:43 +03:00
c4ea0c7ff2 CPathfinder: don't include RegisterTypes 2015-10-27 17:42:31 +03:00
610318d5d3 Merge pull request #129 from vmarkovtsev/issue/2306
Fix the second crash (dynamic_cast failure)
2015-10-27 13:23:42 +03:00
c5ebec0d1f Fix the second crash (dynamic_cast failure) 2015-10-27 09:09:42 +03:00
92fee1bdbf CPathfinder: shorten options struct declaration 2015-10-27 03:50:38 +03:00
6b34eb729e Move all pathfinding-related code into new file 2015-10-27 03:34:47 +03:00
9e8427a078 CPathfinder: update comment for isSourceGuarded condition 2015-10-27 00:22:40 +03:00
94f8e1e9e4 Merge pull request #127 from vcmi/moreCatchingSectors
Cache SectorMap where possible and update when necessary.
2015-10-26 21:31:17 +01:00
01257efc02 CPathfinder: get rid of curPos and pass on initializeGraph 2015-10-26 20:17:10 +03:00
1e36f3cecd Cache SectorMap where possible and update when necessary. 2015-10-26 16:38:17 +01:00
68bd37aa45 Store penalty in value of FLYING_MOVEMENT and WATER_WALKING 2015-10-26 18:30:11 +03:00
c9e03405f2 fix a warning 2015-10-25 23:17:33 +03:00
e8e484bbca Merge branch 'mutexRelax_fix' into develop 2015-10-25 22:35:19 +03:00
44ca00cd16 CPathfinder: rename functions 2015-10-25 19:11:00 +03:00