1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
Commit Graph

7978 Commits

Author SHA1 Message Date
Alexander Shishkin
e60e0a0a8c
Merge pull request #671 from nullkiller/fix-stupid-ai-attacking-through-obstacles
Fix StupidAI trying to attack through obstacle
2021-01-12 23:56:49 +03:00
Dmitry Orlov
9cf953157a Fix: client crashes while browsing saves, if some factions are removed 2021-01-06 17:19:59 +03:00
Andrii Danylchenko
36854742e4 Fix StupidAI trying to attack through obstacle 2020-12-15 20:38:01 +02:00
Alexander Shishkin
f31c5169b5
Merge pull request #669 from ShubusCorporation/do_fix
Fix: Creature resolution failed when mod is installed to the custom directory
2020-12-13 07:03:40 +03:00
Dmitry Orlov
ef6220ebec Fix: Creature resolution failed when mod is in the custom directory 2020-12-13 03:33:28 +03:00
Alexander Shishkin
6bf0bea286
Merge pull request #666 from ShubusCorporation/do_feature_lodestar
Lodestar Grail should work.
2020-12-12 13:05:48 +03:00
Dmitry Orlov
8f331dce31 Feature: Lodestar Grail should work. 2020-12-10 04:05:37 +03:00
Alexander Shishkin
a630d3b34c
Merge pull request #668 from Illithidek/develop
Fix Erdamon earth elemental speciality
2020-12-07 06:27:11 +03:00
Michał Kalinowski
d6986a19d1 Fix Erdamon earth elemental speciality
PR added on personal request of @misiokles, should fix
https://bugs.vcmi.eu/view.php?id=3158
2020-12-06 22:58:13 +01:00
Alexander Shishkin
e3c6483365
Merge pull request #667 from nullkiller/improve-battle-ai-fort-capturing
Improve battle ai fort capturing
2020-12-03 04:11:37 +03:00
Andrii Danylchenko
3614330b3d moat bypass when no targets to attack 2020-12-02 19:40:24 +02:00
Andrii Danylchenko
4e359cd2a3 fix automatic towers when out of ammo 2020-12-02 08:38:31 +02:00
Alexander Shishkin
61f870af90
Merge pull request #665 from vcmi/2184-fix-unreachable-corners
2184 - fix battlefield corners unreachable for 2 hex units
2020-12-01 17:23:26 +03:00
Andrii Danylchenko
ea073c81d3 2184 - fix battlefield corners unreachable for 2 hex units 2020-11-28 14:14:13 +02:00
Alexander Shishkin
58b8fe3d26
Merge pull request #664 from nullkiller/fix-broken-fort-gate-bypass
Try fix bypassing destroyed fort drawbridge
2020-11-24 17:35:23 +03:00
Andrii Danylchenko
211a993c44 Fix obstacles escaping for twohex creatures 2020-11-22 08:57:28 +02:00
Andrii Danylchenko
af192b8efe Try fix bypassing destroyed fort drawbridge 2020-11-21 22:09:27 +02:00
Alexander Shishkin
eb011e59c4
Merge pull request #663 from Baltix/patch-1
Disable tests to fix building deb packages
2020-11-12 15:41:04 +03:00
Mantas Kriaučiūnas
7daff67e03
Disable tests to fix building deb packages
See commit 84fc8770e9
2020-11-12 13:59:06 +02:00
Alexander Shishkin
1f0f58a111
Merge pull request #662 from ShubusCorporation/do_fix_morale
Fix: Morale bonus should be shown correctly
2020-11-12 03:20:16 +03:00
Dmitry Orlov
39de2f6435 Fix: Morale bonus should be shown correctly 2020-11-11 22:43:40 +03:00
Alexander Shishkin
9ca9c809c6
Merge pull request #660 from ShubusCorporation/shc_rmg_issue
Mod system improvement: Patch 2
2020-10-26 09:26:14 +03:00
Alexander Shishkin
dfeb801425
Merge pull request #661 from jambolo/bug/fix-0003154
Fixed potential race condition
2020-10-26 01:02:59 +03:00
John Bolton
bb58d349cb Fixed potential race condition 2020-10-24 23:38:39 -07:00
Dmitry Orlov
d6a4767865 Mod system improvement: Patch 2 2020-10-25 01:04:34 +03:00
Dmitry Orlov
3cb0dfb143 Fix: RMG issues: 1) hota 2) assertions 2020-10-25 01:03:32 +03:00
Alexander Shishkin
c0a5d1ccf0
Merge pull request #659 from ShubusCorporation/shc_special_buildings_2
Mod system improvement: Special buildings should work in modders towns. Part II.
2020-10-20 17:29:15 +03:00
Dmitry Orlov
b25baf66be Fix level up crashes: 1) Crash on double level up. 2) Crash on custom class level up. 2020-10-19 22:39:57 +03:00
Dmitry Orlov
643cc00db6 Mod system improvement: Special buildings should work in the modders towns. Part II 2020-10-19 22:38:06 +03:00
Alexander Shishkin
ff7fd2077a
Merge pull request #658 from ShubusCorporation/shc_test_centered
Fix: Issue #3151 - text centralization
2020-10-16 08:33:37 +03:00
Alexander Shishkin
830b3f1dc7
Merge pull request #657 from ShubusCorporation/shc_special_buildings_I_patch
Special buildings support : Patch 1
2020-10-16 06:20:43 +03:00
Dmitry Orlov
e7665ba5de Fix: Issue #3151 - text centralization 2020-10-16 06:08:59 +03:00
Dmitry Orlov
934c4e511d Special buildings support : Patch 1 2020-10-15 15:03:01 +03:00
Alexander Shishkin
12a4cee092
Merge pull request #652 from ShubusCorporation/shc_special_buildings_support
Mod system improvement Part I : Special buildings should work in  modders towns
2020-10-12 00:19:18 +03:00
Dmitry Orlov
195fb8ff41 Mod system improvement Part I : Fix content losing after deserialization 2020-10-10 00:31:23 +03:00
Dmitry Orlov
bf07cd0ad9 Mod system improvement Part I : Old saves support & MSVS build fix 2020-10-07 15:12:32 +03:00
Dmitry Orlov
6a7296fbe9 Mod system improvement Part I : Fix redefined content handler assertion 2020-10-07 12:35:12 +03:00
Dmitry Orlov
f4816b0824 Mod system improvement Part I : Special buildings should work in the modders towns 2020-10-07 12:35:11 +03:00
Alexander Shishkin
124b2a7613
Merge pull request #655 from jambolo/bug/fix-0003143
Fixed lots of warnings.
2020-10-06 11:44:54 +03:00
John Bolton
c61bae4060 Fixed RETURN_IF_BATTLE(). Undid disabled warnings. Fixed indentation. 2020-10-05 16:28:28 -07:00
John Bolton
aee51ecc27
Update lib/CCreatureHandler.cpp
Undid change to type.

Co-authored-by: Alexander Shishkin <alexvins@users.noreply.github.com>
2020-10-05 16:15:52 -07:00
John Bolton
1722d15276
Update client/windows/CCreatureWindow.h
Removed leftover debugging code.

Co-authored-by: Alexander Shishkin <alexvins@users.noreply.github.com>
2020-10-05 16:13:13 -07:00
Alexander Shishkin
4a5070d5ea
Merge pull request #656 from xtouqh/fbsd1
FreeBSD: need libexecinfo for backtrace()
2020-10-05 22:56:53 +03:00
xtouqh
0095db4a30 FreeBSD: need libexecinfo for backtrace() 2020-10-05 17:57:31 +03:00
John Bolton
d7e82c1087 Fixed a bad fix. Fixed more warnings.
These warnings have not been fixed because the are legitimate and/or I don't know how to fix them:

test\googletest\googletest\include\gtest/gtest-printers.h(888,43): warning C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be REMOVED.
lib\serializer\JsonSerializeFormat.h(523,26): warning C4244: 'argument': conversion from 'type1' to 'type2', possible loss of data
include\boost/iostreams/positioning.hpp(96,15): warning C4996: 'std::fpos<_Mbstatet>::seekpos': warning STL4019: The member std::fpos::seekpos() is non-Standard, ...
source\lib\filesystem\FileStream.h(39,69): warning C4910: 'boost::iostreams::stream<FileBuf,std::char_traits<char>,std::allocator<char>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
include\boost/optional/optional.hpp(274,53): warning C4244: 'argument': conversion from 'T' to 'T', possible loss of data
client\widgets\../gui/SDL_Extensions.h(112,14): warning C4244: 'initializing': conversion from 'type1' to 'type2', possible loss of data
client\CServerHandler.cpp(421,24): warning C4834: discarding return value of function with 'nodiscard' attribute (see https://bugs.vcmi.eu/view.php?id=3144)
client\CVideoHandler.cpp(130,25): warning C4996: 'AVStream::codec': was declared deprecated
2020-10-04 16:26:45 -07:00
John Bolton
a05ae78e67 Fixed lots of warnings.
Disabled the following (for MSVC only) that couldn't (or shouldn't) be fixed.

4003: not enough actual parameters for macro 'identifier'
4250: 'class1' : inherits 'class2::member' via dominance
4251: 'type' : class 'type1' needs to have dll-interface to be used by clients of class 'type2'
4275: non dll-interface class 'type1' used as base for dll-interface class 'type2'
2020-10-04 02:20:18 -07:00
elk aide
ff471af3de Add rules to fix debian build 2020-10-03 01:25:52 +03:00
Alexander Shishkin
0d0f1cea2b
Merge pull request #653 from jambolo/bug/fix_0003142
Fixed incorrect usage of const std::shared_ptr. Resolves 0003142.
2020-10-01 11:59:26 +03:00
John Bolton
6d8f1e4530 Fixed incorrect usage of const std::shared_ptr. Resolves 0003142.
Replaced const TBonusListPtr with TConstBonusListPtr where necessary
Replaced const std::shared_ptr<T> with std::shared_ptr<const T> where necessary.
Removed superfluous use of const.
Replaced const std::shared_ptr<T> with const std::shared_ptr<T> & in function parameters and ranged for-loops.
2020-09-30 22:56:28 -07:00
Alexander Shishkin
a54626459d
Merge pull request #651 from snizovtsev/develop
lib: fix CPathfinder build error on GCC 10.2
2020-09-30 16:53:20 +03:00