Ivan Savenko
4e5d44bc9c
Merge pull request #5149 from vcmi/fix_visitablePos_calls
...
Fix visitable pos calls
2024-12-25 13:45:51 +02:00
Ivan Savenko
8402602e35
Merge pull request #5145 from IvanSavenko/spell_school_descr
...
Better spell school translation in bonuses
2024-12-25 13:44:48 +02:00
Ivan Savenko
8cde4f1434
Merge pull request #5143 from IvanSavenko/junkman_fix
...
Remove MetaString method that can't be used with modded objects
2024-12-25 13:42:44 +02:00
Ivan Savenko
8c4738c7b9
Better spell school translation in bonuses
...
Changed per-school bonus descriptions to be translateable for non-
English languages
2024-12-25 11:41:16 +00:00
Tomasz Zieliński
d631e3f604
Do not call visitablePos for non-visitable objects
2024-12-25 08:23:45 +01:00
Ivan Savenko
0620161287
Merge pull request #5127 from IvanSavenko/hotfix
...
[1.6.1] Fixes for 1.6.0 issues reported on Discord
2024-12-25 00:12:55 +02:00
Ivan Savenko
cd67ced178
Merge pull request #5110 from IvanSavenko/ai_optimize
...
[1.6.1] AI optimization
2024-12-25 00:12:38 +02:00
Ivan Savenko
101fd694b9
Remove MetaString method that can't be used with modded objects
2024-12-24 15:04:01 +00:00
Ivan Savenko
ec25eb557b
Merge pull request #5140 from IvanSavenko/crashfixes
...
Fixes for crashes discovered via Google Play
2024-12-24 15:53:23 +02:00
Laserlicht
e1b0a11c54
improve spell school translation
2024-12-24 14:05:21 +01:00
Ivan Savenko
6da58a6871
Fixes excessive logging causing RMG slowdown
...
- Do not apply formatting on log entries that will be discarded due to
high log level
- Do not log incorrect access to visitablePos due to its numerous use by
RMG
2024-12-23 21:24:00 +00:00
Ivan Savenko
8c6208be04
Fixes for crashes discovered via Google Play
...
- Fix crash on attempt to enable mod with recursive dependencies
- Fix crash on attempt to enable Chronicles after failed install
- Fixed crash on attempt to access non-installed mod when repository
checkout is off
- Show error message on failure to load filesystem instead of crash in
launcher
- Added workaround for crash on attempt to delete nonexisting save/map
- Added logging of mod settings to log file to simplify debugging
2024-12-23 18:00:35 +00:00
Laserlicht
c68db70405
fix text for spell school bonus
2024-12-22 19:11:16 +01:00
Ivan Savenko
e035cf9e63
Optimized getHeroStrength method
...
- replaced 4x access to bonus system with single access
- fixed formula for Diplomacy
- fxied formula for hero transfer in campaigns
- removed pointless sqrt(pow()) construct
2024-12-22 14:49:35 +00:00
Ivan Savenko
5caf12f22f
Few more fixes to bonus caching
2024-12-22 13:27:40 +00:00
Ivan Savenko
95a07ee5cb
Use bonus system cache whenever possible
2024-12-21 18:47:11 +00:00
Ivan Savenko
291c5e1027
Do not send empty packets changing primary skills by 0 points
2024-12-21 14:43:09 +00:00
Ivan Savenko
42b960417c
Reworked bonus caching locking scheme:
...
- use concurrent map from tbb for faster access to already cached values
- use std::shared_mutex instead of boost::mutex to access bonuses
- accessing to values existing in cache is now done without locking main
mutex
2024-12-21 14:43:09 +00:00
Ivan Savenko
4f80ccd648
Small micro-optimizations for code that gets called A LOT
2024-12-21 14:43:09 +00:00
Ivan Savenko
b8a04c6356
Avoid vector allocation when accessing game settings value
2024-12-21 14:43:09 +00:00
Ivan Savenko
9e2646898b
Add pre-computed vectors of owned objects for faster access
2024-12-21 14:43:09 +00:00
Ivan Savenko
0e1f8f99bc
Reduce excessive logging
2024-12-21 14:43:08 +00:00
Ivan Savenko
ab45c58e26
Use small_vector for bonus list to reduce allocations
2024-12-21 14:43:08 +00:00
Ivan Savenko
56d5911452
Optimized getMovementRange
method - caching, faster route for 0 turns
2024-12-21 14:43:08 +00:00
Ivan Savenko
94981076a2
Do not aquire pointer to Terrain type multiple times
2024-12-21 14:43:08 +00:00
Ivan Savenko
2272707175
Merge pull request #5117 from IvanSavenko/teleporter_ui
...
Added new right-click popup to teleporters
2024-12-21 16:17:15 +02:00
Ivan Savenko
5636b9076f
Disable terminate handler on Android to fix Google Play reporter
2024-12-21 14:14:04 +00:00
Ivan Savenko
c401eca7c4
Merge pull request #5105 from Xilmi/develop
...
AI is now able to deal with Coven and Factory special building-behavior's.
2024-12-21 15:57:50 +02:00
Ivan Savenko
e612fbb0c1
Merge pull request #5108 from IvanSavenko/preset_import
...
[1.6.1?] Mod preset import/export
2024-12-21 15:57:33 +02:00
Ivan Savenko
0797e571ab
Merge pull request #4996 from MichalZr6/hill_fort_fix_for_AI
...
Enable AI to use all Hill Fort upgrades, including alternative ones
2024-12-21 15:51:58 +02:00
Ivan Savenko
6d8e447ff3
Added new right-click popup to teleporters
...
Whirlpool, Subterranean Gates, and all Monoliths now show custom popup
on right-click that show all linked objects (exits and entrances).
Only revealed objects are visible, rest are hidden behind fow.
Exits, entrances, and bidirectional objects have different icon that
indicates direction.
2024-12-21 12:01:33 +00:00
Xilmi
371063c44e
Merge remote-tracking branch 'upstream/develop' into develop
2024-12-21 12:09:05 +01:00
MichalZr6
f893c80192
Move UpgradeInfo class to header and source files
2024-12-19 14:13:09 +01:00
Ivan Savenko
23f3936739
Correctly disable root mod if it conflicts with mod player is trying to
...
enable
2024-12-18 22:04:15 +00:00
MichalZr6
af9445c16f
Fixes following review
2024-12-17 22:34:06 +01:00
MichalZr6
bbc41fc1b9
fix typo, fix unused variable
2024-12-17 22:34:06 +01:00
MichalZr6
d8d3948ac3
Fix AI to use hillFort all available upgrades. UpgradeInfo refactor.
2024-12-17 22:34:06 +01:00
Ivan Savenko
ba5ed98da5
Automatically install missing mods from preset
2024-12-17 16:37:55 +00:00
Ivan Savenko
a983b5c7d7
It is now possible to export or import mod preset to/from clipboard
2024-12-17 14:38:50 +00:00
Xilmi
a2827bf6f0
Merge remote-tracking branch 'upstream/beta' into develop
2024-12-17 12:08:36 +01:00
Ivan Savenko
09163009e7
Merge pull request #5087 from Laserlicht/boost_update
...
fix boost 1.87
2024-12-17 12:30:14 +02:00
Xilmi
99fcf136ec
Nullkiller AI is now also capable of upgrading dwellings a second time if that's possible
2024-12-16 23:45:21 +01:00
Xilmi
9012560e38
Fix for AI not recognizing 2nd T7-building of Factory as dwelling
...
This lead to it being built dead-last in the build-order instead of the AI trying to go for it quite early.
2024-12-16 17:19:07 +01:00
Ivan Savenko
50838f24bf
Auto-recover from cases when active preset is invalid
2024-12-15 19:43:43 +00:00
Laserlicht
1517dcca6c
boost 1.87
2024-12-14 22:26:26 +01:00
Ivan Savenko
4682ae537d
Prefer local mod data, unless repository has newer mod
2024-12-10 13:53:49 +00:00
Ivan Savenko
b0d8068493
fix "transport artifact" victory condition triggering as
...
victory for human players even when artifact was transported by enemy AI
if "standard victory" is also enabled
2024-12-10 12:58:52 +00:00
Ivan Savenko
0fde7942d2
Implemented preset management for Start Game tab
2024-12-10 11:29:08 +00:00
Ivan Savenko
ee44c5d13f
Merge pull request #5054 from godric3/map-editor-fix-editing-hero-primary-skills
...
Editing hero primary skill in map editor should not be influenced by artifacts
2024-12-10 13:09:48 +02:00
godric3
31e4937a8c
Editing hero primary skill in map editor should not be influenced by artifacts
2024-12-08 17:49:41 +01:00