1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
Commit Graph

16527 Commits

Author SHA1 Message Date
Tomasz Zieliński
85ee859b6e First version that works - banning objects is possible 2024-08-21 20:16:41 +02:00
Ivan Savenko
7fe9c473b4
Merge pull request #4339 from IvanSavenko/artifact_crash_fix
Fixed crash on deserialization of new artifacts (and possibly some other objects)
2024-07-30 13:16:31 +03:00
Ivan Savenko
48c92711f2 Fixed deserialization of new artifacts (and possibly some other objects)
Was broken in my previous PR, since pointer graph serialization was
enabled by default, leading to deserializationFix triggering on netpack
apply.

Cleaned up / clarified code
2024-07-29 18:19:15 +00:00
Ivan Savenko
dac18ae35a
Merge pull request #4315 from IvanSavenko/map_overlay
Add overlay that shows map objects and their name & status
2024-07-29 18:56:53 +03: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
44f516d2fc Add overlay that shows map objects and their name & status 2024-07-20 18:47:20 +00: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
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
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