1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
Commit Graph

17367 Commits

Author SHA1 Message Date
Evgeniy Meshcheryakov
152f1e0a65 Add editor forms to target_sources, so they become visible in Qt Creator's project tree 2024-09-16 13:31:17 +03:00
altiereslima
34e1a6c198 Map Editor 2024-09-15 20:11:31 -03:00
altiereslima
9c36aabd26 Update portuguese.json 2024-09-15 20:01:05 -03:00
altiereslima
86c43565c0 Update portuguese.json 2024-09-15 19:32:12 -03:00
Ivan Savenko
e09fbe5ea4 Implement detection of typos in json using Levenshtein Distance 2024-09-15 20:14:08 +00:00
Simeon Manolov
cbac4d7ea7
fix error during ios build
`onetbb/2021.10.0` adds a transitive dependency for `hwloc/2.9.1`

The problem is that `hwloc` does not support mobile OS.

```
checking which OS support to include... Unsupported! (aarch64-apple-ios)
configure: WARNING: ***********************************************************
configure: WARNING: *** hwloc does not support this system.
configure: WARNING: *** hwloc will *attempt* to build (but it may not work).
configure: WARNING: *** hwloc run-time results may be reduced to showing just one processor,
configure: WARNING: *** and binding will not be supported.
configure: WARNING: *** You have been warned.
configure: WARNING: *** Pausing to give you time to read this message...
configure: WARNING: ***********************************************************
checking which CPU support to include... unknown
```

...which eventually leads to:

```
ninja: error: '/Users/simo/.conan/data/hwloc/2.9.3/_/_/package/81c684be1f19b5b5aefe294dd826377be1235f07/lib/libhwloc.so', needed by 'appleclang_15.0_cxx17_64_release/libtbbbind_2_5.3.12.dylib', missing and no known rule to make it
onetbb/2021.12.0:
onetbb/2021.12.0: ERROR: Package '9fcc0a90f088a5fd6ea9bf93b3534713b5635296' build failed
```
2024-09-15 17:37:11 +03:00
Ivan Savenko
1d7a89c79b Only visiting heroes can now activate manual rewardable buildings
- This is more clear - in case if building generates queries
- Avoids some edge cases, like what to do if building is single-use and
town has 2 heroes
- In line with hota version of this feature
2024-09-15 10:36:31 +00:00
Ivan Savenko
c2dc88bf06 Fix refusing a reward, for example from Tree of Knowledge 2024-09-15 10:32:29 +00:00
MichalZr6
cb9070fb5b Fix unnecesarry error log in console from CBattleInfoEssentials::battleGetFightingHero 2024-09-15 08:51:05 +02:00
Laserlicht
743cee7470 simplify usage of ttf font 2024-09-14 21:34:39 +02:00
Laserlicht
0aaafc4c8a cast without skip 2024-09-14 15:10:24 +02:00
SoundSSGood
7eda885390 client icons path fixed 2024-09-14 16:03:26 +03:00
Ivan Savenko
7209969d9d
Merge pull request #4593 from IvanSavenko/bugfixing
Fixes for issues reported on Discord
2024-09-14 15:46:04 +03:00
Ivan Savenko
45e000c395 Revert "MSVC CI script: Don't run vswhere to find dumpbin.exe, since it is not used"
This reverts commit 8bca2fa643.
2024-09-14 11:03:44 +00:00
Ivan Savenko
90733cfe0e Do not place obstacles during sieges 2024-09-14 11:02:23 +00:00
Ivan Savenko
95df330843 Remove unused files 2024-09-14 10:47:43 +00:00
Ivan Savenko
ba99aa49fc
Merge pull request #4591 from wb180/mapeditor_fix
Placeholders fix in map validation
2024-09-14 13:45:19 +03:00
Ivan Savenko
500d17a4a4
Merge pull request #4590 from Laserlicht/fix_kingdom
fix kingdom overview
2024-09-14 13:45:07 +03:00
Ivan Savenko
bc6bfbc85c
Merge pull request #4589 from Laserlicht/long_ger_strings
fix long strings
2024-09-14 13:44:55 +03:00
Ivan Savenko
37d03bd9eb
Merge pull request #4587 from IvanSavenko/fix_hero_preview
Fix crash on accessing hero preview in map setup
2024-09-14 13:44:40 +03:00
Ivan Savenko
0b0f4a72c6
Merge pull request #4584 from IvanSavenko/xbrz_fixes
Improvements for xbrz support
2024-09-14 13:44:28 +03:00
Ivan Savenko
85a1acc4de
Merge pull request #4586 from IvanSavenko/fix_stack_count
Fix positioning of defender units in non-bank battles
2024-09-14 13:43:54 +03:00
Ivan Savenko
bc9937e72c Fix corrupted shadow on ship image in shipyard 2024-09-13 13:42:27 +00:00
Ivan Savenko
626c34a105 Fix colorization of Fortress and Inferno adventure map image from hota 2024-09-13 12:45:51 +00:00
Ivan Savenko
4abd96dba4 Add debug code to save every loaded image to a file 2024-09-13 12:26:31 +00:00
Evgeniy Meshcheryakov
ecf83757ff Placeholders fix in map validation 2024-09-13 15:02:09 +03:00
Laserlicht
789dec0c82 fix kingdom overview 2024-09-13 01:44:11 +02:00
Laserlicht
24d4e5e283 fix long strings 2024-09-13 01:03:21 +02:00
Laserlicht
e963550431 fix and no shadow 2024-09-13 00:03:25 +02:00
Laserlicht
16ae854f17 fix shadow 2024-09-12 23:49:57 +02:00
Laserlicht
21c3cf0960 rename and move window class 2024-09-12 23:35:21 +02:00
Laserlicht
2fbdeb3a5d skippable video intro 2024-09-12 23:23:00 +02:00
Ivan Savenko
612490712e Fix cursor pivot/tip offset for xbrz mode 2024-09-12 21:22:41 +00:00
Ivan Savenko
66a2c8dc37 add ImageLocator::toString 2024-09-12 21:22:41 +00:00
Ivan Savenko
2d08e18f6a Implemented generation of combat unit number window for xbrz mode 2024-09-12 21:22:41 +00:00
Ivan Savenko
915533ed2e Implemented generation of player-colored version of DiBoxBck 2024-09-12 21:22:41 +00:00
Ivan Savenko
6f6b20b716 Fix fps indicator when xbrz is in use 2024-09-12 21:22:41 +00:00
Ivan Savenko
dfd3f0c1a6 Fixed generation of upscaled spellbook 2024-09-12 21:22:41 +00:00
Laserlicht
8fc3fe3cc3 scaling 2024-09-12 23:06:33 +02:00
Laserlicht
822fa61bf2 intro rework 2024-09-12 22:28:45 +02:00
Ivan Savenko
4772311160 Fix positioning of defender war machines 2024-09-12 20:27:32 +00:00
Ivan Savenko
e086ff12b8 Fix crash on accessing hero preview in map setup 2024-09-12 20:13:02 +00:00
Ivan Savenko
1e74216040
Merge pull request #4580 from IvanSavenko/crashfixes
Fixes for crashes caused by town building changes
2024-09-12 23:12:27 +03:00
Ivan Savenko
6c0b9415c0 Fix positioning of defender units in non-bank battles 2024-09-12 20:11:26 +00:00
Ivan Savenko
75f8614f26
Merge pull request #4540 from IvanSavenko/rewardable_banks
Convert creature banks to rewardable objects
2024-09-12 15:39:22 +03:00
Ivan Savenko
45c8553ecb Remove old code 2024-09-12 12:11:18 +00:00
Ivan Savenko
29f393e024 Removed hardcoded checks for map objects in favor of analyzing
rewardable object content
2024-09-12 12:11:18 +00:00
Ivan Savenko
84c82a807d Fix texts in shipwreck 2024-09-12 12:11:18 +00:00
Ivan Savenko
d20d9bd96b Fix generation of placeholders for banks 2024-09-12 12:11:18 +00:00
Ivan Savenko
ca13fe04df Use alphabetic ordering for game settings 2024-09-12 12:11:18 +00:00