Xilmi
6f9309696d
Merge remote-tracking branch 'upstream/develop' into develop
2024-07-21 19:06:14 +02:00
Ivan Savenko
550540f8ab
Merge pull request #4316 from IvanSavenko/crashfixes
...
Crashfixes
2024-07-21 16:15:28 +03:00
Ivan Savenko
4533271692
Merge pull request #4312 from IvanSavenko/texthandler_split
...
Split CGeneralTextHandler file into 1 file per class form
2024-07-21 13:49:14 +03:00
Ivan Savenko
398111f8d7
Merge pull request #4212 from alkazandzhiev/alkazandzhiev/saveMultiPlayerNames
...
Save all human player names in the configuration
2024-07-21 11:20:25 +03:00
Xilmi
388d6e297f
Merge remote-tracking branch 'upstream/develop' into develop
2024-07-20 22:26:32 +02:00
Ivan Savenko
8a67a08bb9
Merge pull request #4308 from Alexander-Wilms/msvc-ci-remove-dumpbin-search
...
MSVC CI script: Don't run vswhere to find dumpbin.exe, since it is no…
2024-07-20 22:22:18 +03:00
Ivan Savenko
22e2450650
Merge pull request #4310 from SoundSSGood/endBattleConfirm-fix
...
Fixed regression from https://github.com/vcmi/vcmi/pull/4186
2024-07-20 22:20:46 +03:00
Xilmi
945de7c369
More warnings
...
Removed unused code
2024-07-20 21:12:43 +02:00
Xilmi
ed82e2bf4a
Warnings
...
Removed unused variable.
2024-07-20 21:02:39 +02:00
Ivan Savenko
31738e8f90
Always track already serialized pointers to avoid infinite recursion on
...
sending complex objects
2024-07-20 18:29:41 +00:00
Ivan Savenko
5b9130c288
Fixes broken player-coloring on animations (e.g. hero in battle)
2024-07-20 18:28:47 +00:00
Ivan Savenko
1c522c49b6
Fix possible crash on trying to move to invalid battlefield hexes
2024-07-20 18:28:13 +00:00
Xilmi
809163b705
Update SDLImage.cpp
...
Fixed crash
2024-07-20 16:10:29 +02:00
Ivan Savenko
1aa391fdf8
Split CGeneralTextHandler file into 1 file per class form
...
All text processing code is now located in lib/texts.
No changes other than code being moved around and adjustment of includes
Moved without changes:
Languages.h -> texts/Languages.h
MetaString.* -> texts/MetaString.*
TextOperations.* -> texts/TextOperations.*
Split into parts:
CGeneralTextHandler.* -> texts/CGeneralTextHandler.*
-> texts/CLegacyConfigParser.*
-> texts/TextLocalizationContainer.*
-> texts/TextIdentifier.h
2024-07-20 12:55:17 +00:00
SoundSSGood
186c6098e8
Fix endBattleConfirm
2024-07-20 15:07:34 +03:00
Ivan Savenko
3c611ffa5b
Merge pull request #4307 from IvanSavenko/misc_fixes
...
Miscellaneous fixes
2024-07-20 12:56:10 +03:00
Ivan Savenko
08a6b859d2
Merge pull request #4304 from Laserlicht/quickspell-option
...
option to enable quickspell
2024-07-20 12:53:36 +03:00
Ivan Savenko
58c7afefd8
Merge pull request #4298 from Alexander-Wilms/vcmilauncher-forward-stdout-stderr
...
startExecutable(): Forward executable's output, so vcmiclient's stdou…
2024-07-20 12:51:32 +03:00
Ivan Savenko
d59a5dad7d
Merge pull request #4299 from Laserlicht/input_modi_detection
...
input mode detection
2024-07-20 12:51:08 +03:00
Ivan Savenko
34204d5898
Merge pull request #4305 from Laserlicht/fix_search
...
fix search in quick spell spellbook
2024-07-20 12:50:43 +03:00
Aleksandar Kazandzhiev
cde9bed5a6
Use std::vector::empty for non-zero size checking.
...
Use auto type for ocontainers iterations.
2024-07-20 12:16:13 +03:00
Ivan Savenko
2796931259
Fix credits scrolling
2024-07-20 08:28:35 +00:00
Alexander Wilms
8bca2fa643
MSVC CI script: Don't run vswhere to find dumpbin.exe, since it is not used
...
Just the search took 3 to 15 min
2024-07-20 00:04:28 +02:00
Xilmi
2bf7b3200b
Merge remote-tracking branch 'upstream/develop' into develop
2024-07-19 22:05:58 +02:00
Ivan Savenko
8d4f8dcf9c
Add unassigned by default hotkeys to show visitable or blocked tiles
2024-07-19 19:38:40 +00:00
Ivan Savenko
e862b9c868
Fix crash on opening creature window with bonuses that don't have icon
2024-07-19 19:37:22 +00:00
Ivan Savenko
75fd67a921
Fix mouse scroll not working in right-click popups
2024-07-19 19:36:05 +00:00
Ivan Savenko
1dec5e56a9
Fix cursor shadow option in battles
2024-07-19 19:35:39 +00:00
Andrii Danylchenko
3502e30fe5
Merge pull request #4296 from vcmi/build-take-into-account-7lvl-creatures
...
NKAI: take into account 7lvl creature cost when we consider what reso…
2024-07-19 21:34:25 +03:00
Laserlicht
598f1b0738
fix search in quick spell spellbook
2024-07-19 19:49:21 +02:00
Laserlicht
ee0cf58395
option to enable quickspell
2024-07-19 19:43:22 +02:00
Laserlicht
0e207e7f64
change naming
2024-07-19 17:58:23 +02:00
Laserlicht
994a065e29
change naming
2024-07-19 17:58:06 +02:00
Ivan Savenko
5ad1c35354
Merge pull request #4303 from IvanSavenko/savecompat_fix
...
Fix crash on loading saves made in 1.4/1.5
2024-07-19 17:17:54 +03:00
Xilmi
f0f40660c4
reverse getTotalArmyLoss()-change
...
Due to a recent fix in army-loss calculations this method should now work correctly the way it was.
2024-07-19 15:59:57 +02:00
Ivan Savenko
e0c6b6e3d0
Fix crash on loading saves made in 1.4/1.5
2024-07-19 13:57:06 +00:00
Xilmi
fa2f883361
Merge remote-tracking branch 'upstream/develop' into develop
2024-07-19 15:26:31 +02:00
Xilmi
eb26b16823
Trace level
...
Increased AI-trace-level because I need it for debugging.
2024-07-19 15:26:14 +02:00
Xilmi
e374f24016
complete Building-costs as evaluation-context
...
Added building-cost including all resoruces as evaluation-context for more sophisticated building-selection and also as a countermeasure to softlocking a build-order by having no ways to obtain certain resources.
For example, if the AI would drop below 5 wood, while having no market-place and no wood-income it will avoid building any buildings that neither allow trading nor produce wood.
2024-07-19 15:25:24 +02:00
Xilmi
2d715f4d7e
Trading logic
...
Added trading-logic to Nullkiller-AI.
The AI can now identify which resources it is lacking the most and buy them to fix softlocks in their build-order. It can also sell excess resources that it doesn't have a need for.
2024-07-19 15:21:56 +02:00
Xilmi
f094bf9602
Added marketplace to buildable buildings
...
Before marketplaces could only be built as part of a requirement for other buildings but not on their own when that other building already existed like it is the case in certain campaign-missions.
2024-07-19 15:19:27 +02:00
Xilmi
9c6d8762c5
Lowered restrictions from hero-hiring.
...
Removed two restrictions from hero-hiring, that prevented AI from hiring heros in certain scenarios.
2024-07-19 15:18:02 +02:00
Xilmi
37c0972a50
New and restored functionality
...
Added a new div-function to resource-sets. It allows to calculate the amount of times one resource set, for example income, has to be accumulated in order to reach another resource-set, for example required resource. It will return INT_MAX if it's impossible.
Restored the "<" operator-function and made it actually work like it's supposed to.
2024-07-19 15:16:05 +02:00
Ivan Savenko
dc27e8eccb
Merge pull request #4097 from IvanSavenko/render_refactor_2
...
[1.6] Render refactor
2024-07-19 16:07:54 +03:00
Ivan Savenko
e2af6c0f92
Merge pull request #4295 from Alexander-Wilms/translation-error-messages
...
Less noise when switching languages in launcher
2024-07-19 15:44:54 +03:00
Ivan Savenko
1cbfa43b6d
Merge pull request #4297 from Alexander-Wilms/mod-assertion
...
CModListView::loadScreenshots(): Ensure a mod is selected in allModsView
2024-07-19 15:44:30 +03:00
Ivan Savenko
4b67994dab
Merge pull request #4302 from runlevel5/patch-1
...
Add notes for Fedora
2024-07-19 15:43:09 +03:00
Ivan Savenko
0d44bf1506
Fix build
2024-07-19 12:30:10 +00:00
Ivan Savenko
2d3734656d
Fix test
2024-07-19 12:17:06 +00:00
Ivan Savenko
b256919dab
Implemented per-surface alpha for images that have palettes with alpha
2024-07-19 12:03:29 +00:00