godric3
3fb3fef16b
use range constructor or QVariantList::fromStdList based on Qt version
2024-07-29 19:03:17 +02:00
godric3
2b9461ed6e
use custom roles instead of Qt::UserRole
2024-07-28 22:58:06 +02:00
godric3
d540ee1887
extract magic numbers to constants
2024-07-28 22:57:44 +02:00
godric3
67ab43526f
reduce code duplication
2024-07-28 16:28:21 +02:00
godric3
3d3f388fb8
rename TownEvent to TownEventDialog
2024-07-28 16:28:21 +02:00
godric3
fa3fef8a0f
change town events to vector + use getDefaultAllowed for spells
2024-07-28 16:28:21 +02:00
godric3
c212b1bf36
map editor: update translation + polish translation
2024-07-28 16:28:21 +02:00
godric3
5578346dac
map editor: Allow to customize town events
2024-07-28 16:28:21 +02:00
godric3
7aca2efb35
map editor: Allow to customize town spells
2024-07-28 16:28:21 +02:00
godric3
db1a780030
map editor: fix unchecking when there is more then one child biulding
2024-07-28 16:28:21 +02:00
godric3
5c3c6d4baa
map editor: Add bulk actions for buildings in TownBulidingsWidget
2024-07-28 16:28:21 +02:00
godric3
4d1c8bb1b7
map editor: auto update checkboxes of base/upgrade buildings in TownBulidingsWidget
2024-07-28 16:28:21 +02:00
Ivan Savenko
6ac3752325
Merge pull request #4330 from Laserlicht/spellbook
...
check spellbook
2024-07-27 19:34:50 +03:00
Laserlicht
e46f5f705b
better approach
2024-07-26 20:34:47 +02:00
Ivan Savenko
9ee25ae850
Merge pull request #4311 from altiereslima/develop
...
Update Portuguese Translation
2024-07-26 14:22:24 +03:00
Ivan Savenko
ec63f3eeac
Merge pull request #4314 from IvanSavenko/tower_target_selection
...
Implemented simple target selection logic for arrow towers
2024-07-26 14:22:13 +03:00
Ivan Savenko
aab84b2974
Merge pull request #4320 from Alexander-Wilms/relative-test-data-url
...
CI: Use URL relative to repo's owner for test data
2024-07-26 14:21:57 +03:00
Ivan Savenko
b89b5d3d82
Merge pull request #4324 from utzuro/docs/add-nixos-build-instructions
...
docs: add building instruction for the NixOS
2024-07-26 14:21:41 +03:00
Laserlicht
2d100b00cd
check spellbook
2024-07-26 01:06:54 +02:00
Andrii Danylchenko
dbcd7677ac
Merge pull request #4313 from vcmi/nkai-whirlpool
...
NKAI: whirlpool
2024-07-24 00:03:11 +03:00
Alexander Wilms
e2396d2a27
CI: Use URL relative to repo's owner for test data
...
This allows to easily run tests in forks
2024-07-23 01:43:26 +02:00
void
f0568e2195
docs: add building instruction for the NixOS
2024-07-23 07:28:45 +09:00
Ivan Savenko
37cf788079
Merge pull request #4317 from IvanSavenko/split_townhandler
...
Split CTownHandler into smaller chunks
2024-07-22 17:42:48 +03:00
Ivan Savenko
e99fb539c6
Merge pull request #4256 from IvanSavenko/changelog_initial
...
Initial version of 1.6 changelog
2024-07-22 17:42:02 +03:00
Ivan Savenko
e8aa6efbb9
Merge pull request #4261 from kaja47/shrinkage
...
Reduce size of Bonus struct from 320 bytes to 296 bytes.
2024-07-22 17:12:08 +03:00
K
c1e6bbddfe
Reduce size of Bonus struct from 320 bytes to 296 bytes.
...
- Internal enums were resized to occupy single byte.
- Duration bitmask uses 16 bit integer directly instead of std::bitset<11> which consumed 8 bytes.
- Fields shuffled to minimise padding and keep the most useful data on first 2 cache lines.
2024-07-22 14:59:31 +02:00
Ivan Savenko
69c3a6afd5
Merge pull request #4319 from Laserlicht/patch-4
...
fix exiting when bluetooth mouse is connected while running
2024-07-22 12:58:25 +03:00
Laserlicht
3f4368e3de
fix exiting when bluetooth mouse is connected while running
2024-07-22 02:02:30 +02:00
Ivan Savenko
71f0f86226
Initial version of 1.6 changelog, with all changes so far
2024-07-21 18:48:01 +00:00
Ivan Savenko
4aa73b40c9
Split CTownHandler into smaller chunks
2024-07-21 18:21:48 +00:00
Andrii Danylchenko
683c363946
NKAI: whirlpool
2024-07-21 17:20:54 +03:00
Ivan Savenko
5bd9a32d97
Implemented simple target selection logic for arrow towers
2024-07-21 13:16:33 +00: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
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
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
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
altiereslima
27adc78d6c
Update portuguese.json
2024-07-20 09:28:50 -03: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