1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-08 22:26:51 +02:00
Commit Graph

19001 Commits

Author SHA1 Message Date
3d384b2ec3 Merge pull request #5229 from IvanSavenko/ai_optimize_test
[1.6.3] AI performance-related changes
2025-01-09 12:57:37 +02:00
420bc24430 Vietnamese translation by Hunter8x from Discord 2025-01-09 01:01:55 +01:00
ec9dbfd667 Remove excessive recomputations of tile owners 2025-01-08 20:07:42 +00:00
82e8db3037 Do not compute threats that are too far away to be useful 2025-01-08 20:07:42 +00:00
9f56c00336 Reduce excessive FoW updates 2025-01-08 20:07:42 +00:00
566249a10f Switch NKAI back to non-graph mode 2025-01-08 20:07:42 +00:00
f8312737bb Merge pull request #5224 from IvanSavenko/misc_fixes
Fixes for 1.6.3
2025-01-08 22:06:57 +02:00
eb4b8fdddd Replace random hero info in scenario info window with generated hero data 2025-01-08 21:01:15 +01:00
e27ca391b1 Fix counter-attack counting 2025-01-08 16:06:31 +00:00
9fe8ee9380 Fix size of tiny popup windows, such as terrain right-click 2025-01-08 14:33:30 +00:00
b95128bea5 Update polish.ts files 2025-01-08 15:25:47 +01:00
3839b2cc06 [cmake] improvements 2025-01-08 15:37:20 +03:00
ea30496472 [cmake] install() vcmiqt target only when it's shared 2025-01-08 15:37:20 +03:00
249c6d4d09 [macOS] ignore ad-hoc codesigning for Intel builds 2025-01-08 15:37:19 +03:00
2ec518fdf0 [cmake] link NKAI to TBB 2025-01-08 15:37:17 +03:00
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
4e4684cedf [cmake] set some policies 2025-01-08 15:22:21 +03:00
6323e7b4da [macOS] run hdiutil under sudo only on CI 2025-01-08 15:22:21 +03:00
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
b8ab3b3101 Update mainmenu.json 2025-01-08 01:38:32 +01:00
f3d48ecc3a Ability to use random progress bar 2025-01-08 00:16:55 +01:00
905eac24ae Multiplayer menu improvements 2025-01-07 19:30:26 +01:00
8357bdd37f Update mainmenu.json 2025-01-07 19:28:55 +01:00
68335f51d3 map editor: extract setting display and tooltip text method to base delegate class 2025-01-07 18:53:49 +01:00
ca4227ba9d Add debug information for crash on object randomization 2025-01-07 15:06:49 +00:00
2ca77ed6ec Fix possible crash on invalid upscaling filter set in config 2025-01-07 15:06:26 +00:00
cfac768b6e Fix possible crash on corrupted h3 data / vcmi config 2025-01-07 15:05:57 +00:00
ed2825d4f2 Fix possible crash on corrupted video file 2025-01-07 15:05:25 +00:00
228b585527 Fix validation of game settings 2025-01-07 14:07:16 +00:00
9f1cd69480 Fix visualization of AI object graph 2025-01-07 14:06:09 +00:00
3db1a01080 use TTF_Font from SDL_ttf directly 2025-01-07 12:09:11 +03:00
4031006317 Drop battle elapsed time measurement, restore avHexes.
Github validation report fixes.
2025-01-06 23:28:47 +01:00
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
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
44a645b5e0 use bitset for presenceFlags and steady_clock for measurments 2025-01-06 23:28:45 +01:00
794595184e use class scope static instead of function scope 2025-01-06 23:28:45 +01:00
7a8edff419 minor fixes 2025-01-06 23:28:44 +01:00
fb9a3da651 Unit.cpp refactor and some other minor changes 2025-01-06 23:28:44 +01:00
e3516120d8 Refactor destructibleEnemyTurns 2025-01-06 23:18:20 +01:00
8c3a417527 Cleanup 2025-01-06 23:18:20 +01:00
78845706c9 GetClosestTile refactor 2025-01-06 23:18:19 +01:00
5f799d41b3 Use cached neighbouring tiles where possible 2025-01-06 23:18:19 +01:00
a99274d72e BattleHexArray - new container for BattleHexes 2025-01-06 23:18:18 +01:00
f792eb2da5 Add time measurement for auto-battle 2025-01-06 23:13:55 +01:00
8406840f76 Merge pull request #5221 from IvanSavenko/fix_tests
Fix tests
2025-01-07 00:03:31 +02:00
ef8408fa5a Fix tests
Regression from #5158
2025-01-06 21:18:28 +00:00
046b59cf77 Merge pull request #5219 from IvanSavenko/ai_building_fix
Fixes for AI town building logic
2025-01-06 21:55:24 +02:00
08b513a7cd Merge pull request #5216 from GeorgeK1ng/random_menu_background
Ability to use random main menu background
2025-01-06 21:52:58 +02:00
0de62e0b96 Merge pull request #5211 from godric3/map-editor-town-same-as-player
Map editor: random town same as player faction
2025-01-06 21:52:48 +02:00
094a037096 Merge pull request #5212 from IvanSavenko/keymaster_popup
Added popup for keymasters/border guards similar to teleporters
2025-01-06 21:52:23 +02:00