1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
Open-source engine for Heroes of Might and Magic III
Go to file
ArseniyShestakov bf9ac7318a CPathfinder: change cost calculation sequence for embark / disembark
With old embark cost calculation pathfinder may end up thinking that hero can embark/disembark while have less movement points than base movement cost is. Now hero would be only able to embark / disembark if we have enough movement points to step on that tile. This rule is also valid for situation when hero have Admiral's Hat as in H3 even if hero don't have embark penalty he still use move points for embark and disembark.

Problem was found as it's was causing infitite loop in AI. Server of course rejected attempt to embark with less than 100 movement points while pathfinder tell AI that it's can still embark with 93 movement points.
2015-12-15 20:08:52 +03:00
AI CPathfinder: improve support for visits and battles in teleports 2015-12-11 09:42:30 +03:00
client Client: add command line options to simplify multi-instance testing 2015-12-13 22:14:37 +03:00
cmake_modules Fix AI and VCAI CMakeLists.txt 2014-11-02 23:43:10 +03:00
config PathfinderOptions: use settings and move all defaults into schema 2015-11-21 00:32:23 +03:00
debian Debian: change rules to use SDL2 and update changelog for 0.98 2015-04-03 04:54:12 +03:00
editor Final part of the merge 2014-09-04 20:59:07 +03:00
launcher Fixed gcc/clang warnings 2015-12-04 01:17:43 +02:00
lib CPathfinder: change cost calculation sequence for embark / disembark 2015-12-15 20:08:52 +03:00
Mods/vcmi Fixed generation of CPU teams. 2015-06-01 21:57:43 +02:00
osx different data file locations for different iso files 2014-06-07 17:29:16 +03:00
rpm RPM: build with RelWithDebInfo instead of Release 2015-04-04 05:01:33 +03:00
scripting/erm Fix filenames in file headers 2015-12-08 09:53:14 +03:00
server CPathfinder: change cost calculation sequence for embark / disembark 2015-12-15 20:08:52 +03:00
test Added debug mingw64 build, minimum Windows version set to windows 7, SDL suffixes removed from Build Tagerts 2015-08-20 03:28:04 +03:00
.gitignore GitIgnore 2015-11-02 12:08:42 +01:00
.travis.yml [travis] drop unnecessary repository. 2015-04-01 23:02:19 +03:00
AUTHORS Added myself to AUTHORS file 2015-03-08 18:11:43 +03:00
CCallback.cpp Removed includes of CGameState from headers 2015-12-02 21:39:53 +02:00
CCallback.h CGameState: move two pathfinding-related functions to CPathfinderHelper 2015-11-10 02:15:27 +03:00
ChangeLog Merge pull request #145 from vcmi/feature/tavernRumors 2015-12-05 03:13:25 +03:00
CMakeLists.txt Fix build 2015-09-24 11:55:23 +03:00
Global.h Move STRONG_INLINE define into Global.h 2015-11-22 07:14:52 +03:00
license.txt * license (GPL v2 or later) 2009-01-09 18:38:08 +00:00
README.linux update sdl packages for Ubuntu/Debian to 2.0 2015-08-30 00:10:35 +03:00
README.md Update year to 2015 in readme 2015-02-14 19:15:34 +03:00
VCMI_global_debug.props Partially reverting r3191: DLL_LINKAGE on registerTypes def breaks compilation for MSVC. The function definition cannot be marked as dll import (and that happened, when it was included in CGameHandler.cpp) 2013-02-12 12:51:31 +00:00
VCMI_global_release.props Project files update/cleanup. 2012-12-19 18:23:21 +00:00
VCMI_global_user.props Launcher works for me. 2013-09-02 17:26:52 +00:00
VCMI_global.props Launcher works for me. 2013-09-02 17:26:52 +00:00
VCMI_VS10.sln - Compile fix for editor - Renamed /Editor to /editor and Scripting/ERM to scripting/erm - Removed unused ipch folder and format file - Removed ancient lua folder 2013-04-13 11:07:32 +00:00
VCMI_VS11.sln Backup for my own MVS project configuration 2014-04-24 21:07:43 +02:00
vcmi.workspace Define public interface of CDrawRoadsOperation 2015-04-03 05:46:14 +03:00
vcmibuilder Fix portability issues on MacOSX 2015-10-17 09:23:28 +03:00
vcmimanual.tex Fixing spelling mistakes. Patch from josch, fixes #1759 2014-03-23 12:59:03 +00:00

VCMI Project

VCMI is work-in-progress attempt to recreate engine for Heroes III, giving it new and extended possibilities. To use VCMI you need to own original data files.

Installation

For installation of latest release see release announcement on http://vcmi.eu/

For building from source see project wiki at http://wiki.vcmi.eu/

VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: [https://github.com/vcmi/vcmi-assets]

Copyright (C) 2007-2015 VCMI Team (check AUTHORS file for the contributors list)