1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
Commit Graph

16871 Commits

Author SHA1 Message Date
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
Laserlicht
758617e2df
order 2024-08-06 09:39:16 +02:00
Laserlicht
0c3778feda
id 2024-08-06 09:35:06 +02:00
Laserlicht
abd1a1940a fix recruitment & icons 2024-08-06 01:02:38 +02:00
Laserlicht
ebeeff5aa3 abstraction layer 2024-08-05 23:51:07 +02:00
Laserlicht
3afddbbf29 replaced constant 2024-08-05 23:03:19 +02:00
Laserlicht
1a06a2cc44 basic 8th creature support 2024-08-05 21:15:47 +02:00
kdmcser
87eb026184 support 0 spellpower and knowledge 2024-08-06 01:26:39 +08: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
Laserlicht
a15cd05da3 gui stuff for bank 2024-08-04 18:25:21 +02:00
Laserlicht
47327e1642 backend 2024-08-04 17:52:40 +02: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
Laserlicht
072af5bd6d basic support for bank 2024-08-04 15:44:57 +02: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
7071647b72 add shortcut for list item moving 2024-08-04 14:11:10 +02: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
Ivan Savenko
a4e4ec565b Changelog for 1.5.6 2024-08-02 20:16:04 +00:00
Laserlicht
58bfd27aad add some stats 2024-08-02 20:40:24 +02:00
Ivan Savenko
7bcd6b1b0d
Merge pull request #4363 from IvanSavenko/fixes_156
Fixes for 1.5.6 release
2024-08-02 21:23:27 +03:00
Laserlicht
b3b7729a6c fix 2024-08-02 20:06:30 +02:00
Laserlicht
acf2e0eef1 fix 2024-08-02 20:01:00 +02:00
Ivan Savenko
13b2008f79 Enabled terminate handler and call stack writing on all platforms
Attempt to get a bit more debug info from crashes. VCMI will now:
- use c++ terminate handler on any platform in release builds
- attempt to write call stack to log file using boost::callstack

Since I use std::set_terminate this will only affect c++ exceptions, e.g.
std::runtime_error and will not affect OS signals, e.g. SIGSEGV. Handling
signals is OS-specific and has a lot of limitations that I don't want to
investigate. Besides - most of our crashes are now caused by c++
exceptions.

Haven't tested on other platforms, but should at the very least write
exception information (`e.what()`) for all exceptions and function names
for methods exported from dll's (libvcmi.so & AI's). Possibly more, if
debug information is present.
2024-08-02 17:59:56 +00:00
Laserlicht
80dd97364a add additional statistic 2024-08-02 19:38:33 +02:00
Laserlicht
9ceb1c567d highscore refactoring 2024-08-02 19:37:46 +02:00
kdmcser
4676817c3b not hardcore armageddon 2024-08-03 00:49:26 +08:00
Ivan Savenko
5023e08ae8 Fix crash on testing for hero faction before deserializing hero type 2024-08-02 16:00:17 +00:00