1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-29 21:56:54 +02:00

18945 Commits

Author SHA1 Message Date
Ivan Savenko
f8312737bb
Merge pull request from IvanSavenko/misc_fixes
Fixes for 1.6.3
2025-01-08 22:06:57 +02:00
Dydzio
eb4b8fdddd Replace random hero info in scenario info window with generated hero data 2025-01-08 21:01:15 +01:00
Ivan Savenko
e27ca391b1 Fix counter-attack counting 2025-01-08 16:06:31 +00:00
Ivan Savenko
9fe8ee9380 Fix size of tiny popup windows, such as terrain right-click 2025-01-08 14:33:30 +00:00
MichalZr6
b95128bea5 Update polish.ts files 2025-01-08 15:25:47 +01:00
Andrey Filipenkov
3839b2cc06 [cmake] improvements 2025-01-08 15:37:20 +03:00
Andrey Filipenkov
ea30496472 [cmake] install() vcmiqt target only when it's shared 2025-01-08 15:37:20 +03:00
Andrey Filipenkov
249c6d4d09 [macOS] ignore ad-hoc codesigning for Intel builds 2025-01-08 15:37:19 +03:00
Andrey Filipenkov
2ec518fdf0 [cmake] link NKAI to TBB 2025-01-08 15:37:17 +03:00
Andrey Filipenkov
db5d77362a [fuzzylite] force C++14 standard
doesn't build under C++17 due to using removed symbols
2025-01-08 15:22:21 +03:00
Andrey Filipenkov
4e4684cedf [cmake] set some policies 2025-01-08 15:22:21 +03:00
Andrey Filipenkov
6323e7b4da [macOS] run hdiutil under sudo only on CI 2025-01-08 15:22:21 +03:00
MichalZr6
dbe82b94f6 Changes following review:
- shared_ptr for destructibleEnemyTurns instead of raw pointer
- drop implicit int conversion for BattleHex class
  and implement toInt() instead
- implement necessary operators in BattleHex
- adjust code to work properly with JSON serializer
2025-01-08 07:24:43 +01:00
George King
b8ab3b3101
Update mainmenu.json 2025-01-08 01:38:32 +01:00
George King
f3d48ecc3a
Ability to use random progress bar 2025-01-08 00:16:55 +01:00
George King
905eac24ae
Multiplayer menu improvements 2025-01-07 19:30:26 +01:00
George King
8357bdd37f
Update mainmenu.json 2025-01-07 19:28:55 +01:00
godric3
68335f51d3 map editor: extract setting display and tooltip text method to base delegate class 2025-01-07 18:53:49 +01:00
Ivan Savenko
ca4227ba9d Add debug information for crash on object randomization 2025-01-07 15:06:49 +00:00
Ivan Savenko
2ca77ed6ec Fix possible crash on invalid upscaling filter set in config 2025-01-07 15:06:26 +00:00
Ivan Savenko
cfac768b6e Fix possible crash on corrupted h3 data / vcmi config 2025-01-07 15:05:57 +00:00
Ivan Savenko
ed2825d4f2 Fix possible crash on corrupted video file 2025-01-07 15:05:25 +00:00
Ivan Savenko
228b585527 Fix validation of game settings 2025-01-07 14:07:16 +00:00
Ivan Savenko
9f1cd69480 Fix visualization of AI object graph 2025-01-07 14:06:09 +00:00
Andrey Filipenkov
3db1a01080 use TTF_Font from SDL_ttf directly 2025-01-07 12:09:11 +03:00
MichalZr6
4031006317 Drop battle elapsed time measurement, restore avHexes.
Github validation report fixes.
2025-01-06 23:28:47 +01:00
MichalZr6
dad6437661 Refactor BattleHex, remake the use of precomputed neighbouring tiles containers.
- Moved short, frequently used functions to the BattleHex header for inlining
- Made BattleHex a class with a private hex value
- Moved getClosestTile implementation back to BattleHex
- Enabled access to static precomputed data in BattleHexArray via BattleHex
(note: circular dependency prevented static precomputed containers being directly placed in BattleHex)
2025-01-06 23:28:46 +01:00
MichalZr6
ac8104d56d SonarCloud recomendations.
Code review follow-up:
- Replace std::vector with boost::small_vector
- Rename function merge to insert
2025-01-06 23:28:45 +01:00
MichalZr6
44a645b5e0 use bitset for presenceFlags and steady_clock for measurments 2025-01-06 23:28:45 +01:00
MichalZr6
794595184e use class scope static instead of function scope 2025-01-06 23:28:45 +01:00
MichalZr6
7a8edff419 minor fixes 2025-01-06 23:28:44 +01:00
MichalZr6
fb9a3da651 Unit.cpp refactor and some other minor changes 2025-01-06 23:28:44 +01:00
MichalZr6
e3516120d8 Refactor destructibleEnemyTurns 2025-01-06 23:18:20 +01:00
MichalZr6
8c3a417527 Cleanup 2025-01-06 23:18:20 +01:00
MichalZr6
78845706c9 GetClosestTile refactor 2025-01-06 23:18:19 +01:00
MichalZr6
5f799d41b3 Use cached neighbouring tiles where possible 2025-01-06 23:18:19 +01:00
MichalZr6
a99274d72e BattleHexArray - new container for BattleHexes 2025-01-06 23:18:18 +01:00
MichalZr6
f792eb2da5 Add time measurement for auto-battle 2025-01-06 23:13:55 +01:00
Ivan Savenko
8406840f76
Merge pull request from IvanSavenko/fix_tests
Fix tests
2025-01-07 00:03:31 +02:00
Ivan Savenko
ef8408fa5a Fix tests
Regression from 
2025-01-06 21:18:28 +00:00
Ivan Savenko
046b59cf77
Merge pull request from IvanSavenko/ai_building_fix
Fixes for AI town building logic
2025-01-06 21:55:24 +02:00
Ivan Savenko
08b513a7cd
Merge pull request from GeorgeK1ng/random_menu_background
Ability to use random main menu background
2025-01-06 21:52:58 +02:00
Ivan Savenko
0de62e0b96
Merge pull request from godric3/map-editor-town-same-as-player
Map editor: random town same as player faction
2025-01-06 21:52:48 +02:00
Ivan Savenko
094a037096
Merge pull request from IvanSavenko/keymaster_popup
Added popup for keymasters/border guards similar to teleporters
2025-01-06 21:52:23 +02:00
Ivan Savenko
3d3dd70a11 Simplify code, fix AI not building dwelling upgrades 2025-01-06 18:59:37 +00:00
godric3
494777987d map editor: improve building inspector texts 2025-01-06 19:47:23 +01:00
godric3
5cfd4c9fff map editor: remove no longer needed check - getTown() return also randomTown 2025-01-06 19:44:25 +01:00
Ivan Savenko
8468469976 Fixes for AI town building logic
- Fixes AI not considering non-built dwellings
- AI will now skip evaluation of towns in which construction today is no
longer possible
2025-01-06 16:20:53 +00:00
Ivan Savenko
19c981fc56 Added similar screen for Obelisk, moved assets to dedicated folder 2025-01-06 13:05:45 +00:00
Ivan Savenko
542538bdf6
Merge pull request from IvanSavenko/version_bump_163
Version bump to 1.6.3
2025-01-06 14:39:27 +02:00