1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

8714 Commits

Author SHA1 Message Date
Ivan Savenko
729357824b Added common method for secondary skill availability checks 2022-11-14 19:08:49 +02:00
Ivan Savenko
e06db2365d Fixes #1096 - do not propose banned skills on levelup
Remove possibility to get banned skill on levelup as "obligatory skill"
if all other such skills have been learned before.

May happen under some conditions, e.g. if hero quickly learns other
magic schools - in witch hut/university, leading to case where banned
skill is the only obligatory skill that can be offered on levelup
2022-11-14 17:16:49 +02:00
Andrii Danylchenko
e4f3d2a685
Merge pull request #1121 from vcmi/nk-fix-hung
#1102 - NKAI: one more freeze - no mains with strong army
2022-11-13 09:56:39 +02:00
Andrii Danylchenko
41825e8c92
Merge pull request #1125 from GermanAizek/fix-3144
Fix [3144]
2022-11-13 09:00:03 +02:00
lainon
79bc82af63 Fix [3144] 2022-11-13 05:35:16 +03:00
Andrii Danylchenko
3676152644 #1102 - NKAI: one more freeze - no mains with strong army 2022-11-10 21:12:08 +02:00
Andrii Danylchenko
c5cf0e4086
Merge pull request #1103 from Nordsoft91/autobattle-bugfix
Preventing multiple AI from being created
2022-11-10 15:18:24 +02:00
Andrii Danylchenko
1ca2283a90
Merge pull request #1105 from krs0/feature/#1071__In_latest_night_builds_there_are_problems_with_schema_obstacle.json_and_file_obstacles.json
Problems with schema obstacle.json and file obstacles.json #1071
2022-11-10 11:53:08 +02:00
Andrii Danylchenko
5f92a0760f
Merge pull request #1113 from vcmi/nk-fix-hung
NKAI: a few crash/hang fixes
2022-11-10 11:48:17 +02:00
Andrii Danylchenko
5222ea8c25
Merge pull request #1110 from Nordsoft91/whereshouldbeattached
#1754 Fix crash with objects belonging players without state
2022-11-10 11:43:50 +02:00
Andrii Danylchenko
502ad59169
Merge pull request #1117 from vcmi/readme-patch
Add downloads badge
2022-11-10 11:42:22 +02:00
Nordsoft91
e5809ac9f7
Add downloads badge 2022-11-08 18:31:09 +04:00
Andrii Danylchenko
55914290ca
Merge pull request #1109 from trofi/fix-format-string
mapeditor/mainwindow.cpp: use '%s' (not '%b') for string formatter
2022-11-07 14:06:56 +02:00
Andrii Danylchenko
233b850daf NKAI: a few crash/hang fixes 2022-11-07 13:58:20 +02:00
nordsoft
0f35082024 Fix crash with objects belonging players without state 2022-11-06 03:26:13 +04:00
Sergei Trofimovich
560c528ec8 mapeditor/mainwindow.cpp: use '%s' (not '%b') for string formatter
mapeditor/mainwindow.cpp: In member function
      'void MainWindow::onSelectionMade(int, bool)':
    mapeditor/mainwindow.cpp:1014:47:
      warning: format '%b' expects argument of type 'unsigned int',
      but argument 3 has type 'const char*' [-Wformat=]
     1014 |                 auto info = QString::asprintf(
         "Selection on layer %d: %b", level, anythingSelected ? "true" : "false");
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                                    |
         |                                                    const char*
2022-11-05 20:25:51 +00:00
nordsoft
dffd7c0f24 Fix crash related to V hotkey during AI turn 2022-11-04 18:29:45 +04:00
krs
aab394ff93 #1071 - In latest night builds there are problems with schema obstacle.json and file obstacles.json 2022-11-04 00:06:15 +02:00
nordsoft
6995911d6e Preventing multiple AI from being created 2022-11-03 22:01:20 +04:00
Andrii Danylchenko
ae1d2c50e2
Merge pull request #1099 from kambala-decapitator/disable-tests
disable tests by default
2022-11-03 14:01:25 +02:00
Andrey Filipenkov
c20ae90973 disable tests by default 2022-11-03 11:33:17 +03:00
Andrii Danylchenko
6c31b50e73
Merge pull request #1094 from Nordsoft91/autobattle-bugfix
[965] Fix for auto-battle crash
2022-11-03 08:17:30 +02:00
nordsoft
a7d11856ec Merge remote-tracking branch 'upstream/develop' into autobattle-bugfix 2022-11-02 18:32:53 +04:00
Andrii Danylchenko
418aabcd94
Merge pull request #1095 from kambala-decapitator/ci-fix-running-conan
[CI] fix running Conan
2022-11-02 12:34:22 +02:00
Andrey Filipenkov
a5ad4893a7 [CI] use setup-python action
fixes running pip-installed packages without `python3 -m`
2022-11-02 11:07:20 +03:00
nordsoft
52b3b329a4 Fix [965] 2022-11-01 19:16:45 +04:00
Andrii Danylchenko
80ce205d94
Merge pull request #1093 from Nordsoft91/port-override
Write port override
2022-10-31 07:21:01 +02:00
nordsoft
27bff89e66 Write port override 2022-10-30 19:59:43 +04:00
Andrii Danylchenko
8fc38c617f
Merge pull request #1086 from vcmi/fix-mantis-2934
Mantis-2934: fix conditions to upgrade town in h3m format parser
2022-10-25 11:52:22 +03:00
Andrii Danylchenko
7618bc7425 Mantis-2934: fix conditions to upgrade town in h3m format parser 2022-10-23 16:40:07 +03:00
Andrii Danylchenko
afc0cc1c15
Merge pull request #1067 from vcmi/battle-ai-improvements
Battle ai improvements
2022-10-23 11:41:29 +03:00
Andrii Danylchenko
ebf4854801 Battle AI: add some comments + refactoring 2022-10-23 11:41:03 +03:00
Andrii Danylchenko
601ced3749 BattleAI: rework movement when no targtes 2022-10-23 11:41:03 +03:00
Andrii Danylchenko
033a585e4b Battle AI 2 turns attacks recalculation 2022-10-23 11:41:03 +03:00
Andrii Danylchenko
a2380ebd37
Merge pull request #1082 from kambala-decapitator/linux-mapeditor-icon
[Linux] add proper desktop entry for the map editor
2022-10-23 11:40:41 +03:00
Andrii Danylchenko
11790c7c02
Merge pull request #1083 from vcmi/fix-android
Move version definition into a separate cmake file
2022-10-23 10:39:25 +03:00
Andrii Danylchenko
3a9493130c
Merge pull request #1081 from kambala-decapitator/macos-bundle-ID
[macOS] improve Info.plist
2022-10-23 10:39:05 +03:00
Andrey Filipenkov
7dcd910877 add Linux icons for the map editor
Co-authored-by: SoundSSGood <87084363+SoundSSGood@users.noreply.github.com>
2022-10-22 23:03:01 +03:00
Andrii Danylchenko
6ef480971d Move version definition into a separate cmake file 2022-10-22 20:48:38 +03:00
Andrey Filipenkov
278e6bedeb [Linux] add proper desktop entry for the map editor 2022-10-22 17:08:55 +03:00
Andrey Filipenkov
e0e075df77 [Conan] save install folder to CMake variable 2022-10-22 16:59:45 +03:00
Andrey Filipenkov
d1ab611b4f [macOS] don't use macdeployqt together with Conan 2022-10-22 16:59:45 +03:00
Andrey Filipenkov
35a6a24204 [macOS] sign executables with bundle identifier 2022-10-22 16:59:45 +03:00
Andrey Filipenkov
8e8323a3d5 [macOS] build properly ordered list of executables that needs to be signed 2022-10-22 16:59:45 +03:00
Andrey Filipenkov
9865578faa [macOS] remove deprecated entries from Info.plist 2022-10-22 16:53:08 +03:00
Andrey Filipenkov
002e09fa2d [macOS] set copyright to Info.plist 2022-10-22 16:52:47 +03:00
Andrey Filipenkov
c9198311a1 [macOS] set bundle identifier to Info.plist 2022-10-22 16:52:27 +03:00
Andrii Danylchenko
b43e0ff9e4
Merge pull request #972 from vcmi/cpp-map-editor
Cpp map editor
2022-10-22 12:42:27 +03:00
Andrii Danylchenko
c2cc801f60
Merge pull request #1073 from kambala-decapitator/ios-conan
[Conan] add iOS support, bump dependencies, improvements
2022-10-22 12:40:48 +03:00
Andrii Danylchenko
bae4750e93
Merge pull request #1078 from Nordsoft91/advspell-mech-fix
[1072] Fix advmap spell mechanics
2022-10-22 12:30:34 +03:00