1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-07 00:58:39 +02:00
Commit Graph

1838 Commits

Author SHA1 Message Date
f6f6f98580 Merge pull request #4699 from SoundSSGood/backpack-arts-sorting
Backpack artifacts sorting
2024-10-07 17:55:42 +03:00
a826b88641 Merge branch 'develop' into spell 2024-10-07 12:55:23 +02:00
371eac070f Fixes for player disconnection handling
- Fixed lack of notification if player disconnects via connection loss,
e.g. app crash / network going down
- Replaced notification via chat message with notification via info window
2024-10-04 12:48:50 +00:00
6c44354843 Update CGameHandler.cpp
Improve debugability with more helpful error-texts.
2024-10-04 11:49:20 +02:00
e6f4a63951 add sort buttons 2024-10-02 13:35:08 +03:00
e22d15b1d8 manageBackpackArtifacts 2024-10-02 12:45:50 +03:00
9c6bd20159 code review 2024-10-01 16:32:28 +02:00
cef7466c71 Merge pull request #4643 from SoundSSGood/CArtHandler-refactoring
CArtifactSet  tidy up
2024-10-01 16:26:32 +03:00
e2b49bbf79 fix condition 2024-09-30 02:46:45 +02:00
713fcd6543 research per day & seperate config 2024-09-30 02:40:28 +02:00
3bff68958e Change deleted objects format to use ObjectInstanceID 2024-09-28 22:58:05 +02:00
f94f0a3274 new dialog 2024-09-28 15:51:53 +02:00
d929bfb9d1 rename; introduce factor 2024-09-28 15:05:13 +02:00
2052a26031 code review 2024-09-28 14:25:11 +02:00
3559f9f923 HMI for spell research 2024-09-28 01:47:32 +02:00
7707adc44f checks on server 2024-09-28 01:18:10 +02:00
5b2aa4dc71 swapping spells 2024-09-28 00:34:25 +02:00
857b2e9a35 spell replacement works 2024-09-27 23:52:33 +02:00
a9327b3fa3 netpacks 2024-09-27 22:47:22 +02:00
f2c20b54d0 Unify rewardable map object and town building code 2024-09-27 15:41:24 +00:00
586a32a616 CArtifactSet cleanup 2024-09-23 23:39:19 +03:00
b9ae7f1138 CMap put move and remove artifact method 2024-09-23 23:30:38 +03:00
292f4c8ad2 Do not process pack if it was blocked by a queryReply
Regression from earlier PR
2024-09-19 16:45:13 +00:00
bff2e064fc Wait for queries generated by town building visit to end before visiting
next building
2024-09-16 19:32:39 +00:00
1d7a89c79b Only visiting heroes can now activate manual rewardable buildings
- This is more clear - in case if building generates queries
- Avoids some edge cases, like what to do if building is single-use and
town has 2 heroes
- In line with hota version of this feature
2024-09-15 10:36:31 +00:00
1e74216040 Merge pull request #4580 from IvanSavenko/crashfixes
Fixes for crashes caused by town building changes
2024-09-12 23:12:27 +03:00
39a2c29c97 Removed creatureBank flag from battle, battles now receive BattleLayout
struct that defines how units are placed in combat
2024-09-12 12:11:18 +00:00
76ee49f4ec Do not visit building on forced construction, e.g. from events 2024-09-11 16:08:49 +00:00
40dff8ac17 Fix town visit via Town Portal not generating town visit query 2024-09-11 16:08:26 +00:00
8225eb454e Added GameSettings to gamestate, potentially allowing to define game
settings per map (or in random map template)
2024-09-05 15:16:27 +00:00
6179521364 Merge pull request #4556 from IvanSavenko/town_building_visit
Implemented explicitly visitable town buildings, e.g. hota mana vortex
2024-09-05 17:21:21 +03:00
7466d7452d vcmiscrolls 2024-09-05 15:51:45 +03:00
30fa2846aa ArtifactUtils::createArtifact ArtifactUtils::createNewArtifactInstance unified 2024-09-04 21:25:55 +03:00
b09d9d501b Pass pointer to actual caller in showBlockingDialog callWith
Fixes activation of all rewardable buildings in town on blocking dialog
answer
2024-09-04 15:14:56 +00:00
d34b4a141e Split map object visit from town building visit. Removes side effects
from building visit
2024-09-04 14:54:09 +00:00
81af66d35b Move visit query to a separate class, remove no longer needed Cast.h 2024-09-04 14:32:36 +00:00
29f87d6407 pass object/hero parameters directly instead of passing query 2024-09-04 14:17:22 +00:00
327ff01471 Implemented explicitly visitable town buildings, e.g. hota mana vortex
Added flag `manualHeroVisit` flag to town building. If this flag is set,
then building will only be activated on click and will not give its
effect on hero recrutiment, hero visit, or new day.

This allows implementing changes to Mana Vortex from HotA
2024-09-03 16:31:07 +00:00
0a72a0a48e Merge pull request #4534 from SoundSSGood/BulkEraseArtifacts
BulkEraseArtifacts network pack
2024-08-31 13:52:26 +03:00
K
ca12750dc3 fix crash when computer player loses
Changing dwelling's owner to neutral accesses a PlayerState but neutrals
don't have a PlayerState and that leads to crash.
2024-08-30 11:28:56 +02:00
e15ea4fc75 BulkEraseArtifacts network pack 2024-08-29 20:22:08 +03:00
a1a194d904 Allow replacing war machine if hero has a different machine in the slot 2024-08-28 13:49:42 +00:00
8ef8ffa5c4 Implemented configurable blacksmith. Deprecated ballistaYard type 2024-08-28 13:49:42 +00:00
e90d057296 Tweaks to fow reveal on new turn 2024-08-28 13:03:45 +00:00
e5f1d60298 Add save compatibility 2024-08-28 13:03:44 +00:00
37658478fa Move timed events to NewTurnProcessor 2024-08-28 13:03:26 +00:00
ce1e0b8875 Moved NewTurn pack generation to NewTurnProcessor 2024-08-28 13:03:24 +00:00
10a9d777c7 Moved mana and movement points refresh to NewTurnProcessor 2024-08-28 13:03:15 +00:00
c09c414f5a Moved roll for week type to NewTurnProcessor 2024-08-28 13:03:15 +00:00
020f1d1f46 Moved rumors generation to NewTurnProcessor 2024-08-28 13:03:15 +00:00