1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-04 20:45:35 +02:00
Commit Graph

202 Commits

Author SHA1 Message Date
Ivan Savenko b9368f8406 Merge branch 'beta' into fix_levelup_queries2 2026-01-27 20:09:04 +02:00
Ivan Savenko fa2ab0e024 Merge pull request #6783 from Laserlicht/tactics
[1.7.2] implement disabling of tactics
2026-01-27 17:13:20 +02:00
Ivan Savenko b619190440 Merge pull request #6786 from Laserlicht/save_successful
[1.7.2] save successful message
2026-01-27 17:12:00 +02:00
Laserlicht 7e7ced8ec1 save successful 2026-01-25 15:27:54 +01:00
Laserlicht 1a5eaee157 implement disabling of tactics 2026-01-25 14:18:20 +01:00
Laserlicht e23a65048a notification for sent resources 2026-01-24 19:14:56 +01:00
Michał Zaremba 24b987174a Fix level up dialogs (queries) on the very first turn 2026-01-24 13:18:00 +01:00
Laserlicht afb045ef14 show statistics ingame 2025-11-22 16:46:10 +01:00
Laserlicht a4d840f60f code review 2025-10-28 13:30:51 +01:00
Laserlicht 120213509d netpacks for renaming 2025-10-05 02:46:19 +02:00
Ivan Savenko cc6f65d8da Resolve Sonar issues in server code 2025-05-27 22:02:13 +03:00
Ivan Savenko 8255a4b9ae CGameHandler no longer inherits CGameInfoCallback, reduce direct access
to gamestate
2025-05-23 14:17:25 +03:00
Ivan Savenko f7d08a7288 Merge pull request #5700 from IvanSavenko/gamestate_pack_visitor
Remove CPack::applyGs method in favor of GameStatePackVisitor class
2025-05-14 11:53:15 +03:00
Ivan Savenko 35644da2b7 Reogranize callback-related classes on 1 file = 1 class basis 2025-05-12 22:07:09 +03:00
Ivan Savenko 86b832be67 Remove CPack::applyGs method in favor of GameStatePackVisitor class 2025-05-10 17:51:35 +03:00
Ivan Savenko 283adc37d7 Unit stack rebalancing rework
- CStackInstance::count is now private with accessor methods
- CStackInstance::experience renamed to totalExperience and now stores
total stack experience (multiplied by stack size) to reduce rounding
errors
- CStackInstance::totalExperience is now private with accessors methods
- stack experience is now automatically reallocated on stack management
- Removed buggy BulkSmartRebalanceStacks pack, that mostly duplicates
BulkRebalanceStacks
- Renamed BulkSmartSplitStack to BulkSplitAndRebalanceStack to drop
unclear "smart" in name
- Reworked split-and-rebalance logic to correctly reallocate stack
experience
2025-05-01 18:18:30 +03:00
Ivan Savenko 4d57a8ed36 Prefer to pass CGameState as reference instead of pointer 2025-04-27 14:57:31 +03:00
Ivan Savenko 417ea6451a Remove ConstTransitivePtr from hero and town instances 2025-04-27 14:57:30 +03:00
Ivan Savenko 975d9aedc9 Merge branch 'vcmi/beta' into 'vcmi/develop' 2025-04-13 18:53:54 +03:00
Ivan Savenko cbfaefd805 Fix rare crash if player selects maximum movement speed and moves hero
across event that grants enough XP to level up
2025-04-06 18:43:55 +03:00
Ivan Savenko 2fdf40e7a9 Remove connection pointer from CPack 2025-03-03 10:46:00 +00:00
Ivan Savenko 81f0222c68 Merge pull request #4741 from IvanSavenko/serialize_local_state
Serialize local state of player interface
2024-10-10 15:03:14 +03:00
Ivan Savenko a8f8c3f4b1 Replaced most of accesses to CGObjectInstance::pos with anchorPoint() 2024-10-09 15:43:46 +00:00
Ivan Savenko 679181c103 Implemented serialization of local player state in json form 2024-10-08 20:04:32 +00:00
Ivan Savenko f6f6f98580 Merge pull request #4699 from SoundSSGood/backpack-arts-sorting
Backpack artifacts sorting
2024-10-07 17:55:42 +03:00
SoundSSGood e22d15b1d8 manageBackpackArtifacts 2024-10-02 12:45:50 +03:00
Laserlicht d929bfb9d1 rename; introduce factor 2024-09-28 15:05:13 +02:00
Laserlicht 7707adc44f checks on server 2024-09-28 01:18:10 +02:00
Laserlicht 5b2aa4dc71 swapping spells 2024-09-28 00:34:25 +02:00
Laserlicht a9327b3fa3 netpacks 2024-09-27 22:47:22 +02:00
Ivan Savenko 81af66d35b Move visit query to a separate class, remove no longer needed Cast.h 2024-09-04 14:32:36 +00:00
Ivan Savenko 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
SoundSSGood 2e3e6b1553 market->getObjInstanceID() 2024-08-21 01:01:23 +03:00
SoundSSGood 58bb2b58e3 IMarket suggestions
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-08-20 18:49:48 +03:00
SoundSSGood cd7ebea9e3 cleanup unused code 2024-08-20 18:49:47 +03:00
Laserlicht 072af5bd6d basic support for bank 2024-08-04 15:44:57 +02:00
Ivan Savenko 8b861fc58f Do not check for guards when teleporting using means other than DD 2024-05-07 20:05:23 +00:00
Ivan Savenko ac11a0e639 Blocked most of incoming network packs during turns of other players 2024-04-30 17:51:31 +03:00
SoundSSGood ce9d2d8ab8 Switching costume 2024-04-27 21:35:37 +03:00
SoundSSGood 25dea7e364 Saving costume 2024-04-27 21:35:37 +03:00
Ivan Savenko d5a2ad1be8 Allow sending requests to move across multiple tiles at once 2024-04-20 12:28:50 +03:00
SoundSSGood 9f688e6fb7 MoveArtifact, BulkMoveArtifacts PlayerColor player field 2024-03-07 22:28:56 +02:00
SoundSSGood b1f52eec41 ManageBackpackArtifacts 2024-03-07 18:16:22 +02:00
Ivan Savenko c23953eac5 Remove custom casts 2024-02-14 12:56:37 +02:00
Ivan Savenko 80fc2bb695 Merge remote-tracking branch 'vcmi/develop' into lobby 2024-02-03 21:11:34 +02:00
SoundSSGood a42b60feb9 suggested changes 2024-02-01 13:28:08 +02:00
SoundSSGood c6ca6ad835 sacrifice routine 2024-01-27 23:01:57 +02:00
SoundSSGood 652f009181 arts altar - arts holder 2024-01-27 15:28:21 +02:00
Ivan Savenko 322c5faf63 Merge remote-tracking branch 'vcmi/develop' into lobby 2024-01-26 16:52:23 +02:00
Ivan Savenko 4d0c0f10a9 Merge pull request #3530 from Laserlicht/tavern
Invite hero
2024-01-26 13:12:55 +02:00