nordsoft
0fffa846b4
Implemented object placement and filtering
2022-09-03 08:12:07 +04:00
nordsoft
c17b1f909d
Show objects preview
2022-09-03 01:04:28 +04:00
nordsoft
be6a7d1836
Randomly shuffle required objects to avoid patterns
2022-09-01 13:26:11 +03:00
nordsoft
f3caa3d7bb
Progress bar for random map loading
2022-08-31 01:24:12 +04:00
Andrey Filipenkov
d7650ce9c0
use Conan to make macOS CI builds for both Intel and ARM ( #782 )
...
* [CI] append platform to output artifact name if it's given
2022-08-30 17:29:00 +03:00
nordsoft
68b106fdc1
Generate random maps from map editor
2022-08-30 17:08:33 +04:00
Nordsoft91
4f1f9e3c5d
Fix start game button for rmg without templates ( #781 )
2022-08-30 08:30:21 +03:00
Nordsoft91
47d3539f41
Fix problems with water zone ( #784 )
2022-08-29 08:53:36 +03:00
Nordsoft91
f668c65eb2
Fix RMG bug with incorrect town placement ( #779 )
...
* Fix RMG bug with incorrect town placement
* Readability tweak
2022-08-29 08:53:36 +03:00
Nordsoft91
f3f1fb8033
Improve treasure placement logic ( #775 )
...
Improve treasure placement logic (#775 )
2022-08-29 08:53:36 +03:00
Nordsoft91
ae63e0c30e
Fix problem with empty areas ( #772 )
...
* Fixes for obstacles and treasures
2022-08-29 08:53:36 +03:00
Nordsoft91
9ec0ca332c
Fix for sealed-off treasures ( #771 )
...
Fix for sealer-off treasures
2022-08-29 08:53:36 +03:00
Nordsoft91
c0db4f1d96
Random map generator refactoring ( #762 )
...
random map generator refactoring and improvements
2022-08-29 08:53:36 +03:00
Andrii Danylchenko
a454edacea
Fix getting battlefield crash
2022-08-29 08:53:35 +03:00
Andrii Danylchenko
ac2bd4f79c
battlefields in VLC and custom bonuses for terrain patches
2022-08-29 08:53:35 +03:00
Andrii Danylchenko
2228a6f9bf
allow configurable battleground graphics
2022-08-29 08:53:35 +03:00
Nordsoft91
9241cd1e62
New battlegrounds ( #758 )
2022-08-29 08:53:35 +03:00
Nordsoft91
5151da59a7
New terrain support - part 1 ( #755 )
...
Initial support of new terrains
2022-08-29 08:53:35 +03:00
Nordsoft91
b664f9a128
Fix for #3218 ( #777 )
2022-08-28 12:55:37 +03:00
nordsoft
1bbb2f420c
Fix linker problem
2022-08-28 12:23:45 +04:00
nordsoft
4c8a2685f5
update cmakelists
2022-08-28 07:23:36 +04:00
nordsoft
108470471e
Minor fixes
2022-08-28 06:31:45 +04:00
nordsoft
c3276f2276
Obstacles works fine without regression
2022-08-28 06:31:39 +04:00
nordsoft
9bb8f2a971
Game runs without crash
2022-08-28 06:31:33 +04:00
nordsoft
756793992f
First compilable commit for obstacles
2022-08-28 06:31:26 +04:00
nordsoft
b0526ca51b
Refactoring
2022-08-27 21:25:24 +04:00
nordsoft
035857c190
Fix problems with water zone
2022-08-27 03:21:27 +04:00
nordsoft
92dc902748
Fix for #3228 and #3042
2022-08-24 14:58:56 +03:00
Nordsoft91
4458cdf6c9
Fix RMG bug with incorrect town placement ( #779 )
...
* Fix RMG bug with incorrect town placement
* Readability tweak
2022-08-22 14:32:54 +03:00
Nordsoft91
d79d788e6f
Improve treasure placement logic ( #775 )
...
Improve treasure placement logic (#775 )
2022-08-20 13:17:27 +03:00
Nordsoft91
3fa22ebcb0
Fix problem with empty areas ( #772 )
...
* Fixes for obstacles and treasures
2022-08-11 14:29:39 +03:00
Nordsoft91
457def94ae
Fix for sealed-off treasures ( #771 )
...
Fix for sealer-off treasures
2022-08-09 15:12:58 +03:00
Nordsoft91
6da7c9ccb5
Random map generator refactoring ( #762 )
...
random map generator refactoring and improvements
2022-08-09 08:54:32 +03:00
Andrii Danylchenko
25183142e6
Fix getting battlefield crash
2022-07-09 19:00:03 +03:00
Andrii Danylchenko
232010c5de
battlefields in VLC and custom bonuses for terrain patches
2022-07-02 14:47:40 +03:00
Andrii Danylchenko
8b8e837495
allow configurable battleground graphics
2022-06-26 10:21:05 +03:00
Nordsoft91
d8f552006a
New battlegrounds ( #758 )
2022-06-22 11:41:02 +03:00
Nordsoft91
5f1c5c6731
New terrain support - part 1 ( #755 )
...
Initial support of new terrains
2022-06-20 17:39:50 +03:00
Andrii Danylchenko
c4dec67acc
Fix movement freeze after battle in teleport
2022-06-20 09:05:05 +03:00
Soar Qin
188607b05f
Replace cotire with CMake builtin precompiled headers support (Requires CMake version >= 3.16)
2022-06-17 17:20:08 +03:00
Soar Qin
c87df8e704
Fix warnings/errors on MSVC ( #753 )
...
* Fix warnings/errors on MSVC
1. update googletest to tag release-1.11.0 to make googletest and
googlemock compile on MSVC2022.
2. set gtest_force_shared_crt to ON in test cmake project to make tests
compile on MSVC.
3. add /wd4251 and /wd4275 to MSVC compile flags to ignore DLL related
warnings for class exports.
4. fix some other warnings and errors while compiling on MSVC2022.
2022-06-11 18:45:34 +03:00
Nordsoft91
5054ee011a
Rmg water support ( #751 )
...
* Roads added to shipyard
* Load general rmg parameters from config
* Fix issue with default zone guard
* Move magic numbers related to balance to randomMap.json
2022-06-11 18:40:24 +03:00
Nordsoft91
5c1a66ab69
Rmg water support ( #745 )
...
* RMG: water support and refactoring
* Fix seers hut bug
2022-06-11 18:40:24 +03:00
Andrii Danylchenko
31c9d6e28d
Fix performance issue related to TurnInfo construction
2022-06-06 09:47:37 +03:00
Nordsoft91
9d06e51631
Place proper towns in underground ( #743 )
...
Implement feature of proper town selection in underground and surface
* Some minor refactoring of rmg
2022-05-28 16:03:50 +03:00
Konstantin
8fc14369a4
CMake presets. ( #744 )
...
* CI: use single build action
* CMake: use imported targets
* CI: do not build boost for linux
* CMake: add FORCE_BUNDLED_MINIZIP option
* linux: use external minizip and fuzzylite
* CMake: add presets
* .gitignore: ignore cmake build dirs
* github: use cmake presets
2022-05-26 08:55:20 +03:00
Nordsoft91
a8265c7052
[0002285] Implement feature with extra resources near mines ( #742 )
...
* RMG: clear start position
* [0002285] some heaps of resources are placed nearby mines
* Fix leak in case of inability to place resource
* Fix indentation according to vcmi style
* Add constant for random amount of resources
* Code review fixes
2022-05-23 13:08:36 +03:00
Konstantin
c6b198ce14
Warning fix (I moved C++17 and CI to another branch) ( #739 )
...
* clang warning fixes
* use CMake 3.10 due to MXE CI does not have 3.13 yet
Co-authored-by: Konstantin <rilian@niisi.ras.ru>
2022-05-19 15:14:50 +03:00
Andrii Danylchenko
e220918230
full crash dump
2022-05-14 13:23:09 +03:00
Andrii Danylchenko
0d15089dd4
Do not remove hero if left only with commander
2022-05-01 09:30:30 +03:00
Andrii Danylchenko
e0e3787748
When the battle is won with only summoned creatures - defeat
2022-05-01 09:30:30 +03:00
Andrii Danylchenko
fa9a420f99
Fix a few crashes
2022-04-17 09:10:53 +03:00
Andrii Danylchenko
8b11b42aaf
Fix RMG to place special dwellings like elemental conflux
2022-04-09 10:57:24 +03:00
Dmitry Orlov
d98f240164
Fix: Crash on startup when mod dependency is not found
2022-03-21 09:43:06 +02:00
Agoston Szepessy
5080f26235
Fix 3184
...
Taken from !684 . This fixes a bug with primary skills that results in
heroes not being able to interact with objects, or skills being
incorrect when moving from mission to mission.
2022-03-14 09:18:57 +02:00
Dmitry Orlov
ea2931c6ea
Fix: Get rid of 'Tile is not visible' error message
2022-01-30 12:31:07 +02:00
Andrii Danylchenko
84948820b2
exchange window move single stacks buttons
2022-01-03 15:13:46 +02:00
Andrii Danylchenko
2ce73fd4e1
Army exchange implementation
2022-01-03 15:13:46 +02:00
Arseniy Lartsev
222a0e40c7
Added code to display some HD mod buttons in hero exchange window
2022-01-03 15:13:46 +02:00
Dmitry Orlov
9e3c4b69c4
Minor fixes
2021-12-22 21:37:56 +02:00
Dmitry Orlov
8cae3398ba
Feature: Army Management Shortcuts should work as in HD+ Mod
2021-11-28 20:00:43 +02:00
Dmitry Orlov
a65feb29f5
Fixed: Advanced options window issues
2021-11-13 17:02:11 +02:00
Dmitry Orlov
0427fa45dd
Fix: Terrain description should be shown correctly
2021-11-08 21:01:30 +02:00
Dmitry Orlov
e4c2f0c822
Fix: Skyship Grail should work immediately after capturing without battle
2021-10-31 09:01:49 +02:00
Andrii Danylchenko
e219e1febf
3187 - fix whirlpool crash when exits are blocked
2021-10-23 21:40:52 +03:00
Andrii Danylchenko
4da8341024
Android: allow run without scripting
2021-10-15 09:51:32 +03:00
Andrii Danylchenko
11e6e0d6f7
Fix pathfinding issues when hero has expert navigation
2021-10-06 08:45:48 +03:00
Andrii Danylchenko
98c6215ab6
fix negative tile cost from pathfinding skill
2021-10-06 08:45:06 +03:00
Dmitry Orlov
30b879ae5d
Fixed: duplicated bonusing building. Improved: opposite bonus propagation
2021-09-12 14:30:54 +03:00
Dmitry Orlov
2a39c401b8
Feature: Opposite Side Limiter. Added: Old saves support.
2021-09-04 14:15:38 +03:00
Dmitry Orlov
25d9ea1ddf
Feature: Opposite Side Limiter
2021-09-04 14:15:38 +03:00
Dmitry Orlov
f861d3a509
Fix: Visiting hero should receive town bonuses during town siege
2021-09-04 14:15:37 +03:00
Dmitry Orlov
6f0864b47c
Feature: Town Negative Bonuses. Fix: Negative bonus bearers should not be affected
2021-09-04 14:15:37 +03:00
Dmitry Orlov
3cb88b6964
Feature: Magic Well should work in the fan towns
2021-09-04 14:15:37 +03:00
Dmitry Orlov
b1db6e26d1
Fix: nextPrimarySkill crash in case when probability values are incorrect
2021-07-30 12:10:33 +03:00
Andrii Danylchenko
d47564955e
Nullkiller: fix/refactor temporary bonus nodes, fix gather army quest completion
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
70ed3f55a5
Nullkiller: replace a hack with temporary bonus node concept
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
3fa7e0976f
Nullkiller: update / fix build, core changes required for Nullkiller AI
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
b4241670ba
Nullkiller: rename VCAI to AIGateway
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
9c8d776398
Merge branch 'develop' into handlersAbstraction
...
# Conflicts:
# CI/linux/before_install.sh
# CI/mac/before_install.sh
# CI/mxe/before_install.sh
# lib/CModHandler.cpp
# lib/mapObjects/CObjectClassesHandler.cpp
# lib/mapObjects/CObjectClassesHandler.h
# lib/mapObjects/CommonConstructors.cpp
# server/CGameHandler.cpp
# test/CMakeLists.txt
# test/spells/effects/TeleportTest.cpp
2021-07-16 00:32:13 +03:00
Andrii Danylchenko
6d8373a473
Configure github actions
2021-07-13 14:56:35 +01:00
Andrii Danylchenko
4a1e676399
3095 - fix campaign transition
2021-06-18 20:57:07 +03:00
Dmitry Orlov
8b08973283
Fix: ID-collisions when processing large mods collections
2021-04-25 15:07:06 +03:00
kdmcser
10dc6922de
refactor code: change code style and add some comments
2021-04-10 23:23:58 +08:00
kdmcser
3049c4b70e
fix bug: may load mod before dependeny
2021-04-04 21:54:00 +08:00
Andrey Filipenkov
bc1d99431d
fix boost.locale crash on macOS-arm64
2021-03-05 21:00:33 +00:00
AlexVinS
483a4689ce
Fixes for code review issues
2021-02-20 04:57:50 +03:00
Alexander Shishkin
784f6b973b
Apply suggestions from code review
...
Co-authored-by: Andrii Danylchenko <danilchenko.andrij@gmail.com>
2021-02-20 02:31:00 +03:00
Alexander Shishkin
d74127cb84
Update lib/ScriptHandler.cpp
...
Co-authored-by: Andrii Danylchenko <danilchenko.andrij@gmail.com>
2021-02-20 02:04:10 +03:00
AlexVinS
ec6f7b88fe
!?OB WIP
2021-02-16 13:32:18 +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
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
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