Ivan Savenko
2a05fbdd50
Unified handling of battle sides ID's
...
- Replaced BattleSide namespace-enum with enum class
- Merged two different BattleSide enum's into one
- Merged BattlePerspective enum into BattleSide enum
- Changed all places that use integers to represent battle side to use
BattleSide enum
- Added BattleSideArray convenience wrapper for std::array that is
always 2-elements in size and allows access to its elements using
BattleSide enum
2024-08-11 20:54:44 +00:00
Andrii Danylchenko
9b914bb4db
Merge pull request #4407 from vcmi/visual-logger
...
Visual logger
2024-08-10 21:28:01 +03:00
Andrii Danylchenko
78dea24017
Visual logger colored text
2024-08-10 19:13:09 +03:00
Andrii Danylchenko
47c77826c3
Visual logger map texts
2024-08-10 13:04:35 +03:00
Andrii Danylchenko
9ffd6368d4
Add visual logger for battle interface
2024-08-10 10:54:20 +03:00
Andrii Danylchenko
8e79263b21
Merge pull request #4323 from vcmi/battle-ai-fixes
...
Battle ai fixes
2024-08-10 10:48:35 +03:00
Ivan Savenko
85cf33e5a8
Merge pull request #4422 from MichalZr6/fix_unsigned_to_signed
...
blockingDialog functions: the `answer` parameter can be negative
2024-08-09 15:31:45 +03:00
Ivan Savenko
7d30b660ea
Merge pull request #4359 from Laserlicht/statistic
...
Writing some statistics and make it possible to export via csv
2024-08-09 15:31:13 +03:00
Ivan Savenko
ffb8efc415
Merge pull request #4225 from godric3/map-editor-town-configuration-improvements
...
Map editor town configuration improvements (buildings, spells, events)
2024-08-09 15:26:33 +03:00
Ivan Savenko
1b6fd45aa7
Merge pull request #4421 from SoundSSGood/endBattleConfirm-fix
...
endBattleConfirm crash fix
2024-08-09 15:22:58 +03:00
Ivan Savenko
9f489b306c
Merge pull request #4414 from Laserlicht/focus
...
scroll adventure map only if window in focus
2024-08-09 15:21:36 +03:00
MichalZr6
ffaaa7da15
blockingDialog functions: the answer
parameter can be negative
2024-08-09 00:28:28 +02:00
SoundSSGood
5903b3b42c
endBattleConfirm crash fix
2024-08-08 13:57:06 +03:00
Laserlicht
e0ab760a2f
code review
2024-08-07 21:26:22 +02:00
Laserlicht
0e28791075
scroll only if in focus
2024-08-07 20:47:29 +02:00
Ivan Savenko
3f9e57d3f3
Merge pull request #4334 from Laserlicht/quickspell_improve
...
quickspell improvements
2024-08-07 13:08:13 +03:00
Ivan Savenko
65af198fbf
Merge pull request #4341 from vcmi/force_portal_connection
...
Add RMG connection option "forcePortal"
2024-08-07 13:07:45 +03:00
Ivan Savenko
a4dd510735
Merge pull request #4358 from IvanSavenko/integer_divide
...
Add helper functions for integer division rounding
2024-08-06 18:10:03 +03:00
Ivan Savenko
3b6ff46d2b
Merge pull request #4360 from IvanSavenko/terminate_handler
...
Enabled terminate handler and call stack writing on all platforms
2024-08-06 18:09:51 +03:00
Ivan Savenko
97357071b0
Merge pull request #4380 from SoundSSGood/moveChildForeground
...
Fixed graphical artifacts
2024-08-06 18:09:38 +03:00
Ivan Savenko
75cc5dbed9
Merge pull request #4387 from altiereslima/develop
...
Update Portuguese Translation
2024-08-06 18:09:19 +03:00
Andrii Danylchenko
d751c3e1a3
Merge pull request #4362 from Alexander-Wilms/googletest-update
...
Update googletest submodule
2024-08-06 18:05:54 +03:00
Andrii Danylchenko
f34ffcc727
Merge pull request #4388 from kaja47/fix-crash-defense
...
fix crash when my city without hero is attacked
2024-08-06 17:50:04 +03:00
Ivan Savenko
c1c04b3eb4
Merge pull request #4401 from vcmi/dydzio0614-patch-1
...
Fix github download counters
2024-08-05 20:12:17 +03:00
Dydzio
78542ebe31
Fix github download counters
2024-08-05 18:40:56 +02:00
Ivan Savenko
b7391f49f6
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-08-05 10:36:10 +00:00
Ivan Savenko
5313b5c82c
Merge pull request #4392 from IvanSavenko/fix_regression
...
Fix regressions in 1.5.6
2024-08-04 22:07:25 +03:00
altiereslima
2813f5cccc
Update portuguese.json
2024-08-04 12:13:11 -03:00
Andrii Danylchenko
51b8bc9fc3
BattleAI: fix shhoters waiting and reduce strength of our loss affecting decissions
2024-08-04 17:50:19 +03:00
K
70f3397a35
fix crash when my city without hero is attacked
2024-08-04 16:49:53 +02:00
altiereslima
ae652f8e59
Update portuguese.json
2024-08-04 11:16:17 -03:00
Ivan Savenko
edad888915
Fixed non-scrollable invite to private room widget
2024-08-04 13:58:20 +00:00
Ivan Savenko
dde5cea601
Fix activation of world view on end turn in multiplayer
2024-08-04 13:19:12 +00:00
Ivan Savenko
e8c3252214
Do not auto-remove dialogs such as new week
2024-08-04 13:14:28 +00:00
Ivan Savenko
d36f90e6b6
Fixed heading in 1.5.6 changelog
2024-08-04 13:12:41 +00:00
Ivan Savenko
500e9a8645
Added downloads counter for 1.5.6
2024-08-04 13:12:30 +00:00
Laserlicht
611d5daa0f
fix missing code + movement points used
2024-08-03 20:47:20 +02:00
Laserlicht
eca04cbc54
added 5 values
2024-08-03 19:53:05 +02:00
Andrii Danylchenko
801e919e7e
BattleAI: fix ap calculation in exchange variant
2024-08-03 20:35:20 +03:00
Laserlicht
de128eb471
add dwellings & expirience
2024-08-03 18:48:45 +02:00
Laserlicht
9d64059496
code review
2024-08-03 17:55:43 +02:00
Laserlicht
f0c0beb9e0
date according to iso8601
2024-08-03 16:39:46 +02:00
SoundSSGood
34b824f9ea
moveChildForeground
2024-08-03 17:04:27 +03:00
Ivan Savenko
81e6207df0
Add helper functions for integer division rounding
...
Added set of functions that perform integer division with different
rounding modes:
- divideAndCeil - rounds up to next integer
- divideAndRound - rounds to nearest integer
- divideAndFloor - rounds to previous integer (equivalent to default
division)
Intended for use in library, where usage of floating point might lead to
desync in multiplayer games.
Replaced some cases that I knew of, including recent handicap PR
2024-08-03 13:52:14 +00:00
Ivan Savenko
6af0edcf90
Merge pull request #4366 from vcmi/beta
...
Merge beta -> master
2024-08-03 16:35:04 +03:00
Ivan Savenko
c8b48318b7
Merge pull request #4365 from Laserlicht/docs_dev
...
changelog - hint for newest version
2024-08-03 16:16:05 +03:00
Laserlicht
68f8566082
headings fix
2024-08-03 12:27:24 +02:00
Laserlicht
55fd873a44
hint for newest version
2024-08-03 12:24:01 +02:00
Andrii Danylchenko
3d856bfa9d
Merge remote-tracking branch 'origin/develop' into battle-ai-fixes
2024-08-03 12:54:25 +03:00
Ivan Savenko
1ccfa6072f
Merge pull request #4357 from IvanSavenko/changelog_156
...
Changelog for 1.5.6
2024-08-03 12:49:06 +03:00