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

8963 Commits

Author SHA1 Message Date
Ivan Savenko
908e6892f3 Removed CGHeroInstance::getPosition pseudo-override
Now access to hero visible position is always done via visitablePos
2022-12-07 22:10:08 +02:00
Ivan Savenko
2855606a88 Enabled & fixed -Woverloaded-virtual warning from gcc/cland
- fixed almost all instances of overloaded-virtual warning
- cleared up inheritance & method overrides in code affected by warning
2022-12-07 21:50:45 +02:00
Ivan Savenko
65802d958b Integrated valid fixes from PR #1143 2022-12-07 18:13:54 +02:00
Ivan Savenko
111ac36417 Cleared up warning settings, enabled -werror for gcc/clang 2022-12-07 18:08:13 +02:00
Ivan Savenko
fb6b3c31e8 Renamed UNUSED -> MAYBE_UNUSED macro to match c++17 attribute name 2022-12-07 18:06:47 +02:00
Ivan Savenko
3219e322ae Fixed all non-silenced gcc/clang warnings 2022-12-07 18:05:47 +02:00
Andrii Danylchenko
fb1a6b734f
Merge pull request #1208 from Nordsoft91/battle-retreat-euristic
Absolute threshold for retreat decision
2022-12-07 09:17:02 +02:00
Andrii Danylchenko
4b19d37988
Merge pull request #1214 from IvanSavenko/enlightenment_fix
Library of Enlightenment fix
2022-12-07 09:14:06 +02:00
Ivan Savenko
17f9c3af23 Library of Enlightenment fix
Do not offer choice between multiple identical option if hero is qualified
to receive multiple of them due to diplomacy skill
2022-12-06 18:08:10 +02:00
Andrii Danylchenko
cb1ef1490c
Merge pull request #1207 from Nordsoft91/fix-1206
Throw an exception if empty zone is generated
2022-12-06 14:36:56 +02:00
nordsoft
d4c9b8f6b5 Absolute threshold for retreat decision 2022-12-06 16:11:52 +04:00
nordsoft
5d1b5b6c9c Throw an exception if empty zone is generated 2022-12-06 15:07:16 +04:00
Andrii Danylchenko
34cd856f53
Merge pull request #1197 from IvanSavenko/hero_positioning_fix
Adjust positions of heroes in towns earlier
2022-12-05 14:47:44 +02:00
Ivan Savenko
46b8709712 Adjust positions of heroes in towns earlier
fixes crash due to accessing tile that is outside of map bonds
2022-12-05 13:02:55 +02:00
Andrii Danylchenko
40e55e2788
Merge pull request #1196 from IvanSavenko/hero_positioning_fix
Fixes incorrect positioning of heroes on spawn/release from prison
2022-12-05 10:35:24 +02:00
Ivan Savenko
2cc4f59699 Update map properly on hero position change 2022-12-04 22:03:25 +02:00
Ivan Savenko
b6b6063505 Fix positioning of heroes after release from prisons 2022-12-04 22:00:33 +02:00
Ivan Savenko
fa3a05a074 Removed hardcoded constants in hero placement code for more robust
solution
2022-12-04 21:23:47 +02:00
Andrii Danylchenko
35e8b794cd
Merge pull request #1194 from Nordsoft91/editor-crash
Fix hero-related problems in editor [1.1]
2022-12-04 18:19:41 +02:00
nordsoft
bbe51bfaf4 Fix hero experience deserialization 2022-12-04 16:58:46 +04:00
nordsoft
fb9711186b Hero experinece set property 2022-12-04 16:58:30 +04:00
nordsoft
bd32bd66b3 Fix hero serialization 2022-12-04 16:58:03 +04:00
nordsoft
9d054f0bd5 Fix editor crash 2022-12-04 16:57:46 +04:00
Andrii Danylchenko
b26c874446
Merge pull request #1185 from Nordsoft91/editor-crash
Fix editor crashes [1.1]
2022-12-04 09:39:28 +02:00
Andrii Danylchenko
f8165bfceb
Merge pull request #1191 from vcmi/fix-1186
#1186 - disable status bar with other advmap controls
2022-12-04 08:57:24 +02:00
Andrii Danylchenko
a72d1270cd #1186 - disable status bar with other advmap controls 2022-12-03 21:32:47 +02:00
nordsoft
8d1024fcfc Clear error message 2022-12-03 20:56:05 +04:00
nordsoft
2f2c980a0c Fix crash on map destroying 2022-12-03 20:56:05 +04:00
nordsoft
fc6026969f Fix town building inspector 2022-12-03 20:56:05 +04:00
nordsoft
00789cb0d7 Cleanup undo stack for new map 2022-12-03 20:56:05 +04:00
nordsoft
40300972bc Add undo/redo icons 2022-12-03 20:56:05 +04:00
nordsoft
c290153cd0 Fix crash related to unblocked menu item 2022-12-03 20:56:05 +04:00
nordsoft
522cb00edd Fix crash related to zeros stored in settings 2022-12-03 20:56:05 +04:00
Andrii Danylchenko
3a30d8fb13
Merge pull request #1182 from IvanSavenko/ragdoll_fix
HoMM3 bug workaround: fixes missing slot on artifact merchant background image
2022-12-03 13:25:00 +02:00
Andrii Danylchenko
b50b86ca55
Merge pull request #1183 from IvanSavenko/artifact_fix
Fixed access violation in artifacts code and potentially non-finisheable battles
2022-12-03 13:21:48 +02:00
Ivan Savenko
848454d48a Check for end-of-battle after opening spells are cast, fixes potentially
infinite battle
2022-12-02 21:38:59 +02:00
Ivan Savenko
1248292503 Fixed access violation - do NOT return address to temporary created on
stack
2022-12-02 21:37:58 +02:00
Ivan Savenko
397371b969 HoMM3 bug workaround: fixes missing slot on artifact merchant background
image
2022-12-02 18:52:05 +02:00
Andrii Danylchenko
47b7c618a9
Merge pull request #1181 from IvanSavenko/version_bump1.1.0
[beta] Version bump of Linux packaging to 1.1.0
2022-12-02 14:51:51 +02:00
Andrii Danylchenko
162b3017ce allow building beta branch 2022-12-02 13:16:22 +02:00
Ivan Savenko
d7cf5a0479
Version bump for Appstream metadata 2022-12-02 12:57:36 +02:00
Ivan Savenko
0fcfb95d6b
Version bump to 1.1.0 for .deb packages 2022-12-02 12:55:48 +02:00
Andrii Danylchenko
fd21f9ead2
Merge pull request #1180 from vcmi/beta
allow uploading beta to build server
2022-12-02 11:47:19 +02:00
Andrii Danylchenko
c7510cb8ae allow uploading beta to build server 2022-12-02 09:23:06 +02:00
Andrii Danylchenko
d9c4b28ccc
Merge pull request #1177 from IvanSavenko/fix_mod_identifiers
Fix mod identifiers registration & incorrect mod validation
2022-12-02 09:20:49 +02:00
Nordsoft91
2a857cf0b9
Merge pull request #1179 from Nordsoft91/ios-files-browser 2022-12-01 16:43:42 +04:00
nordsoft
632ffb4462 Alphabetical order for parameters 2022-12-01 14:56:42 +04:00
Andrii Danylchenko
82179a9cdb
Merge pull request #1176 from IvanSavenko/tower_shooter_icons
Tower shooter icons fix
2022-12-01 12:30:24 +02:00
Andrii Danylchenko
ab365fdaef
Merge pull request #1175 from SoundSSGood/refactoring-art
Refactoring of artifacts code
2022-12-01 11:13:31 +02:00
nordsoft
09c681ca64 Implement browsing data 2022-12-01 00:24:09 +04:00