1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
Commit Graph

7752 Commits

Author SHA1 Message Date
Alexander Shishkin
094486eec1
Merge pull request #682 from vlad-yakovlev/macos-cpack-fix
[3148] [MacOS] Game always crash after end of the day button is pressed
2021-02-16 08:02:17 +03:00
Alexander Shishkin
5e707eee0f
Merge pull request #683 from vlad-yakovlev/fix-map-select-crahs
[3167] Crash when click single scenario in new game
2021-02-16 07:59:47 +03:00
Vladislav Yakovlev
8e57d36b8c [3167] Fix SDL_StopTextInput extra calls 2021-02-15 21:11:18 +03:00
Vladislav Yakovlev
6fa7b6e467 [3148] Fix macOS build 2021-02-15 20:45:12 +03:00
AlexVinS
a59e12ca5f tweaks 2021-02-15 15:03:32 +03:00
AlexVinS
ecaa9f5d0b Entities redesign and a few ERM features
* Made most Handlers derived from CHandlerBase and moved service API there.
* Declared existing Entity APIs.
* Added basic script context caching
* Started Lua script module
* Started Lua spell effect API
* Started script state persistence
* Started battle info callback binding
* CommitPackage removed
* Extracted spells::Caster to own header; Expanded Spell API.
* implemented !!MC:S, !!FU:E, !!FU:P, !!MA, !!VR:H, !!VR:C
* !!BU:C, !!BU:E, !!BU:G, !!BU:M implemented
* Allow use of "MC:S@varName@" to declare normal variable (technically v-variable with string key)
* Re-enabled VERM macros.
* !?GM0 added
* !?TM implemented
* Added !!MF:N
* Started !?OB, !!BM, !!HE, !!OW, !!UN
* Added basic support of w-variables
* Added support for ERM indirect variables
* Made !?FU regular trigger
* !!re (ERA loop receiver) implemented
* Fixed ERM receivers with zero args.
2021-02-14 19:05:43 +03:00
Alexander Shishkin
11bb46780a
Merge pull request #678 from MikeLodz/develop
Fixes mantis tickets 2899 and 2984 (bugged hero spell specialties)
2021-02-14 11:22:23 +03:00
MikeLodz
fe9412f845 hero specialty fixes continuation: changes requested during code review 2021-02-13 16:02:42 +01:00
Alexander Shishkin
6055747dc1
Merge pull request #681 from ShubusCorporation/do/fix/hero_classes_initial_values
Fix: Some map objects sometimes do not increment some primary skills of some heroes
2021-02-13 03:51:31 +03:00
Dmitry Orlov
55b3f0b24c Fix: Map objects sometimes do not increment primary skills for some heroes 2021-02-13 00:24:14 +03:00
Alexander Shishkin
8e1a3924e7
Merge pull request #679 from ShubusCorporation/do/fix/mod_resolving_typo
Fix: Error in mods resolving routine
2021-02-10 01:39:47 +03:00
Dmitry Orlov
2afdd4ed4c Fix: error in mods resolving routine 2021-02-09 23:14:42 +03:00
MikeLodz
38efbb345e Fixes mantis tickets 2899 and 2984 (bugged hero spell specialties)
- stoneskin/haste/prayer/weakness: didnt work because there were 2 bonus objects in buffer and they were filtered out as a possible duplicate (BattleInfo::addOrUpdateUnitBonus). it was fixed by making them a single bonus.
- disrupting-ray and weakness: had opposite effect, because of missing negation
- added a new specialty types: SPECIAL_ADD_VALUE_ENCHANT and SPECIAL_FIXED_VALUE_ENCHANT. this is to make possible specialties like Aenin (fixed specialty value added to spell value) and Melody (fixed value for spell regardless of anything). These specialties can be used in mods with any heroes.
- slayer spell effect calculations was fixed to include hero Coronius-style specialty.
- finally fixed description for Labetha Conflux hero, this is a OH3 bug described here https://heroes.thelazy.net/index.php/Labetha
Changes were tested and work as intended.
commit was made in cooperation with modder Misiokles
2021-02-08 23:58:12 +01:00
Alexander Shishkin
db1f9a15b0
Merge pull request #675 from ShubusCorporation/do/fix/mod_system_and_interface_bugs
Fixed: Mods dependency issues leading to hanging & 'Restart Scenario' button functionality
2021-02-08 07:32:09 +03:00
Alexander Shishkin
3b8d610091
Merge pull request #670 from nullkiller/fix-crash-battle-ai
found a bug in code where AI can change client gamestate directly
2021-01-31 04:38:29 +03:00
Andrii Danylchenko
ade84699b0 found a bug in code where AI can change client gamestate directly causing sorting crash 2021-01-30 17:29:49 +02:00
Alexander Shishkin
5dc6d782f7
Merge pull request #674 from ShubusCorporation/do/fix/game_interface/load_and_main_menu_buttons
Fix: 'Load' and 'Main Menu' in-game buttons should work properly
2021-01-20 21:52:51 +03:00
Dmitry Orlov
3add3156e2 Fix: 'Restart Scenario' button should work properly 2021-01-20 21:29:50 +03:00
Dmitry Orlov
98fdf909e8 Fix: Hanging on start up if mod dependency is not resolved' 2021-01-20 11:23:58 +03:00
Alexander Shishkin
2f5c8d7587
Merge pull request #673 from ShubusCorporation/do/fix/creature_not_a_shooter_siege_crashes
Fix: Siege crashes when creature on the archer's tower is not a shooter
2021-01-17 19:29:46 +03:00
Dmitry Orlov
c99b8b54e6 Fix: 'Load' and 'Main menu' in-game buttons should work properly 2021-01-17 19:18:26 +03:00
Dmitry Orlov
8cd1af6998 Fix: Siege crashes when creature on the archer's tower is not a shooter 2021-01-17 15:02:58 +03:00
Alexander Shishkin
925857d845
Merge pull request #672 from ShubusCorporation/do_feature_part3
Feature: Mods system improvement, Part III. Bonusing buildings customization.
2021-01-14 06:15:47 +03:00
Dmitry Orlov
854a2e6c39 Feature: Mods system improvement, Part III. Bunusing buildings customization. 2021-01-14 01:02:13 +03:00
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