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
3d3dd70a11
Simplify code, fix AI not building dwelling upgrades
2025-01-06 18:59:37 +00:00
494777987d
map editor: improve building inspector texts
2025-01-06 19:47:23 +01:00
5cfd4c9fff
map editor: remove no longer needed check - getTown() return also randomTown
2025-01-06 19:44:25 +01:00
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
19c981fc56
Added similar screen for Obelisk, moved assets to dedicated folder
2025-01-06 13:05:45 +00:00
542538bdf6
Merge pull request #5210 from IvanSavenko/version_bump_163
...
Version bump to 1.6.3
2025-01-06 14:39:27 +02:00
6c72aa4cbe
Improved "Create new map" dialog for map editor ( #5187 )
...
* Improve "Create new map" dialog
* Tweaks
* Tweaks
* Final tweaking
Optimized UI to look more consistent. Removed help button.
* Add files via upload
* Reworked dialog
* Formatting fix
* Add files via upload
* Add files via upload
* Add files via upload
* Fix seed condition
* Remove help button
* Remove help button
* Fixed labels
* Fix for Humans vs Computers combo
* Removed not needed connections + better radio names
* Update mapeditor/windownewmap.cpp
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com >
* Improve map size selection grabbing
* Remove QRegularExpression
* Reformat mapSizes
---------
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com >
2025-01-06 14:39:14 +02:00