1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00
Commit Graph

18299 Commits

Author SHA1 Message Date
Laserlicht
07aa7bac3c search for texts 2024-10-01 21:19:42 +02:00
Laserlicht
e85e938865 use subid 2024-10-01 20:44:08 +02:00
Laserlicht
bd58caac13 search feature working 2024-10-01 20:20:19 +02:00
Laserlicht
5ea9063a3b search with CObjectListWindow 2024-10-01 19:47:10 +02:00
Laserlicht
d04f369d85 search basic implementation 2024-10-01 18:15:32 +02:00
Ivan Savenko
e497a51373 Use swresample (part of FFmpeg) to de-planarize audio into format that
can be consumed by SDL
2024-10-01 15:38:15 +00:00
Xilmi
f2b8b40925 Being less dismissive
Reduced the amount of circumstances under which the AI dismisses heroes. Among others to prevent a loop through all passes where it repeatedly hires and dismisses heroes.
2024-10-01 17:20:54 +02:00
Laserlicht
9c6bd20159 code review 2024-10-01 16:32:28 +02:00
Ivan Savenko
f816c3306b Merge pull request #4694 from Laserlicht/spell_cast_only_self
cast only on self
2024-10-01 17:20:20 +03:00
Laserlicht
be31041a48 "general" -> "interface" 2024-10-01 16:09:22 +02:00
Xilmi
3d9892f6b3 Merge remote-tracking branch 'upstream/develop' into develop 2024-10-01 16:08:57 +02:00
Ivan Savenko
cef7466c71 Merge pull request #4643 from SoundSSGood/CArtHandler-refactoring
CArtifactSet  tidy up
2024-10-01 16:26:32 +03:00
DjWarmonger
ffed9480e0 Merge pull request #4483 from vcmi/custom_objects_per_zone
Customizable objects in RMG zones
2024-10-01 14:58:35 +02:00
Ivan Savenko
e738378938 Merge pull request #4700 from altiereslima/develop
Update Portuguese Translation
2024-10-01 15:30:27 +03:00
Ivan Savenko
ee06e206f2 Merge pull request #4698 from XCOM-HUB/patch-4
Update mod.json
2024-10-01 15:30:02 +03:00
Ivan Savenko
32af41ac11 Merge pull request #4697 from XCOM-HUB/patch-3
Create swedish.json
2024-10-01 15:29:51 +03:00
Ivan Savenko
46ed052714 Merge pull request #4692 from dydzio0614/change-default-ai
Change default neutral creatures AI to BattleAI
2024-10-01 15:28:43 +03:00
Ivan Savenko
654f5a9100 Merge pull request #4691 from PolishUser/hero-recruitment-sound
Add 'newBuilding' sound upon hero recruitment in towns
2024-10-01 15:28:33 +03:00
Ivan Savenko
6b72549078 Merge pull request #4690 from IvanSavenko/ttf_tweaks
Tweaks for scalable / true type fonts
2024-10-01 15:28:11 +03:00
Ivan Savenko
b2f391e290 Merge pull request #4688 from dydzio0614/conflux-idle-animations
Remove block of conflux creatures idle animations
2024-10-01 15:27:28 +03:00
Ivan Savenko
f39d515d54 Merge pull request #4687 from dydzio0614/chain-lightning-magic-immunity
Fix chain lightning wasting effect on creatures immune to magic
2024-10-01 15:27:15 +03:00
Ivan Savenko
a4c3dd622f Merge pull request #4685 from Laserlicht/turn_timer_load_change
turn timer and simturn change on load
2024-10-01 15:27:04 +03:00
Ivan Savenko
9c91559414 Merge pull request #4677 from IvanSavenko/rewardable_fixes
Unify rewardable map object and town building code
2024-10-01 15:26:50 +03:00
altiereslima
be20469dc1 Update Portuguese Translation 2024-09-30 22:35:19 -03:00
Xilmi
2d783211ce Fixed a crash
Fixed a crash from trying to access nonexisting map-element.
2024-10-01 01:11:17 +02:00
Xilmi
9c52e3a0b2 Fix for inconsistency in planned and performed army-merge.
Removed the usage of BonusModifiers because depending on the case the function was sometimes called with and sometimes without an actual hero as first parameter.
This lead to inconsistencies between planned and performed army-merge and got the AI stuck in a loop where it ordered an army-merge over and over that then would not conclude.
The inclusion of bonuses of the hero for determining which army is better on them is unnecessarily convoluted and just causes issues. It took me like 4 hours to figure out why the AI didn't act.
2024-10-01 00:42:01 +02:00
Maurycy
05d7b55209 Update mod.json
Added code for the Swedish language.
2024-09-30 21:07:45 +02:00
Xilmi
a01e84214f Fixed errors
AI no longer tries to access tiles it cannot see while clusterizing objects.
2024-09-30 21:00:50 +02:00
Maurycy
265e9a69e4 Update Mods/vcmi/config/vcmi/swedish.json
Co-authored-by: Laserlicht <13953785+Laserlicht@users.noreply.github.com>
2024-09-30 20:38:39 +02:00
Maurycy
c1b1685cc1 Update Mods/vcmi/config/vcmi/swedish.json
Co-authored-by: Laserlicht <13953785+Laserlicht@users.noreply.github.com>
2024-09-30 20:34:38 +02:00
Maurycy
7a3ff4a433 Create swedish.json
I have finally translated swedish.json 🥳
2024-09-30 19:51:40 +02:00
Laserlicht
844b078482 color shift parameter to config 2024-09-30 19:46:53 +02:00
Xilmi
73e7d3f5bb Another reason not to try to town-portal
Even if the hero blocking a town is from the own faction, the town must not become a target if the city has stashed armies because in that case the hero ontop of it won't be able to go into garrison for the TP.
2024-09-30 19:41:39 +02:00
Xilmi
74f3aedcc9 TP onto friend attempt
Fixed an issue that caused the AI to think it can townportal onto heroes of other factions, for example their allies.
2024-09-30 19:32:27 +02:00
Laserlicht
31f87cb6ed improve ui 2024-09-30 18:15:13 +02:00
Xilmi
d59a1fe9e9 Fix case of "Got false in applying struct CastAdvSpell"
Heroes now leave the garrison before trying (and failing) to cast adventure-map-spells.
2024-09-30 17:57:41 +02:00
Laserlicht
e2b49bbf79 fix condition 2024-09-30 02:46:45 +02:00
Laserlicht
713fcd6543 research per day & seperate config 2024-09-30 02:40:28 +02:00
Dydzio
3c9ec0c30e Change neutral AI to BattleAI 2024-09-29 15:44:24 +02:00
Xilmi
58eeccd119 Merge remote-tracking branch 'upstream/develop' into develop 2024-09-29 12:35:44 +02:00
Xilmi
cfe4d7592a Update DefenceBehavior.cpp
Heroes will no longer rush to defend towns that have a standing garrison that they can't merge their armies with.
2024-09-29 03:13:21 +02:00
Xilmi
a2904584d3 Update Nullkiller.cpp
Build and hire-tasks no longer eat into the pass-depth.
2024-09-29 02:01:09 +02:00
Xilmi
f7a961793a Update PriorityEvaluator.cpp
AI is more careful when gathering stuff near enemies.

The wasted movement-points are no longer considered when calculating which own city to fall back to when there's nothing better to do.
2024-09-29 01:23:13 +02:00
Xilmi
4a5ecdf25e Update Nullkiller.h
Removed pointless default-parameter.
2024-09-29 01:15:53 +02:00
Xilmi
769268cfe3 Eternal Garrison
Fixed an issue that caused heroes to stay garrisoned for ever when hero-cap was reached.
2024-09-29 01:15:09 +02:00
PolishUser
c2ddf8e06a Add 'newBuilding' sound upon hero recruitment in towns 2024-09-28 23:54:51 +02:00
Ivan Savenko
4ed478b6e5 Improve font mode auto-selection for languages like Chinese 2024-09-28 19:31:16 +00:00
Ivan Savenko
fecfdd7056 Fix centering of multi-line labels 2024-09-28 19:30:50 +00:00
Ivan Savenko
51848ced3b Add font loading tracking to log 2024-09-28 19:30:26 +00:00
Ivan Savenko
532ed9b12c Adjusted ttf font sizes to better match H3 fonts 2024-09-28 19:29:49 +00:00