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
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
Ivan Savenko
970d7d795f
Remove object from owned objects before resetting owner
2024-12-08 11:26:21 +00:00
Ivan Savenko
ade46d5ffb
Merge branch 'develop' into timed_events_objects_removal
2024-12-06 15:33:33 +02:00
Ivan Savenko
fe51194e22
Merge pull request #5008 from Laserlicht/sprites_test
...
Tile animation for rivers with xbrz
2024-12-06 14:54:18 +02:00
Laserlicht
4b103fd63b
code review
2024-12-05 23:31:03 +01:00
Dydzio
16d25e903c
Remove flaggable bonus on object deletion
2024-12-05 21:55:32 +01:00
Dydzio
7be31c94f2
Fixes from code review
2024-12-05 21:16:06 +01:00
Ivan Savenko
865a6c1aa0
Merge pull request #5018 from Laserlicht/translate
...
Added missing translation strings
2024-12-05 16:32:20 +02:00
DjWarmonger
9e07b5c5de
Merge pull request #4954 from vcmi/curved_roads
...
Curved roads
2024-12-04 07:54:41 +01:00
Dydzio
f7b0c7405b
Fix "padding variables" for object deletion
2024-12-03 17:40:35 +01:00
Dydzio
e9be46af98
Merge branch 'develop' into timed_events_objects_removal
2024-12-03 17:27:24 +01:00
Laserlicht
a8709731c4
unify time (without seconds)
2024-12-02 20:37:51 +01:00
DjWarmonger
82501dc553
Update lib/rmg/RmgPath.h
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-12-02 13:15:27 +01:00
Ivan Savenko
fcb4dfa985
Merge pull request #4964 from vcmi/connections_rework
...
Connections rework
2024-12-02 13:21:32 +02:00
Ivan Savenko
306ee95496
Merge pull request #4965 from vcmi/sealed_zone
...
New type of zone - "sealed"
2024-12-02 13:21:02 +02:00
Ivan Savenko
1fde3e3f09
Merge pull request #5014 from Laserlicht/fix_INVINCIBLE
...
fix INVINCIBLE
2024-12-02 13:14:18 +02:00
Ivan Savenko
fb7091e51a
Merge pull request #5010 from Laserlicht/fix_warning
...
fix some warnings
2024-12-02 13:13:53 +02:00
Ivan Savenko
90fb5ac9c4
Merge pull request #5004 from IvanSavenko/int64_fix
...
Fix deserialization of int64 values
2024-12-02 13:06:34 +02:00
Laserlicht
81328e2588
fixme & seconds in time (more usual)
2024-12-01 19:00:24 +01:00
Ivan Savenko
21f6815187
Fix loading of 1.5 and older 1.6 saves
2024-12-01 16:00:09 +00:00