c250ca6e49
Merge pull request #5847 from IvanSavenko/movement_fix
...
Fix incorrect movement gain from objects like Rally Flag
2025-06-30 11:59:04 +03:00
3817e1002b
Merge pull request #5819 from Laserlicht/battle_anim
...
Using attack sprite
2025-06-30 11:56:54 +03:00
4181514c3f
Fix incorrect movement gain from objects like Rally Flag
...
Checked all possible places that can change move points - looks like all
of them expect absolute values
2025-06-24 16:25:15 +03:00
d0d3b96fa9
add battle animation
2025-06-20 01:51:10 +02:00
0ad4e80c7d
Rework and simplify logic of attaching heroes to bonus system
2025-06-17 14:37:25 +03:00
aed832a99d
Fixes following review
2025-06-15 23:47:12 +02:00
9e474422fd
Fix map saving
2025-06-15 23:47:12 +02:00
ebe746d0cf
Integrate EditorCallback into mapeditor
...
EditorCallback being set up with std::unique_ptr stored in MapController.
2025-06-15 23:47:08 +02:00
b2e51a5fb1
Add MapInfoCallback and EditorCallback
2025-06-15 23:40:59 +02:00
e0de65d56c
Reworked & fixed DARKNESS bonuses and lookout tower / skyship logic
2025-06-15 14:36:29 +03:00
aa17f258e9
Merge pull request #5764 from IvanSavenko/stack_experience_bonus
...
Implement STACK_EXPERIENCE_GAIN_PERCENT bonus
2025-06-04 21:09:38 +03:00
139f41c9b2
Implement STACK_EXPERIENCE_GAIN_PERCENT bonus
...
Suggested on Discord
- implements STACK_EXPERIENCE_GAIN_PERCENT that modifies stack
experience received by units after combat
- removed "EXPERIENCE" primary skill. Changes to experience are now
applied through separate netpack
2025-06-02 21:21:20 +03:00
24def2ed16
Icons for heroes on minimap
...
VCMI will now show icons for all heroes on visible part of minimap to
help with readability on large maps
Old behavior can be enable via toggle in game settings menu
2025-05-27 18:38:44 +03:00
043075a719
Merge branch 'vcmi:develop' into cheats
2025-05-23 20:38:11 +02:00
1666a5a7e5
Prefer dynamic_cast to unsafe static_cast, fix Sonar
2025-05-23 14:17:43 +03:00
af20b39fe6
Reduce non-const access to gamestate on server
2025-05-23 14:17:25 +03:00
263ba46da6
Merge branch 'develop' into cheats
2025-05-22 21:33:29 +02:00
550d4d76eb
Merge pull request #5730 from IvanSavenko/rewardable_creature_fix
...
Fix handling of creatures in configurable town buildings
2025-05-21 13:51:43 +03:00
95ce9ce509
Fix handling of creatures in configurable town buildings
...
- Fixed removal of partial stacks of creatures
- It is now possible to give units via town building, but only if
visitor has slots to take them
2025-05-20 22:36:20 +03:00
a6cf671a68
Fix sonar & json
2025-05-19 21:09:41 +03:00
131b59e6cd
Fix serialization, add new game settings
2025-05-19 19:06:14 +03:00
38f7c04471
Fix formatting, remove unused code
2025-05-19 18:51:42 +03:00
157b4fea74
Random with history for combat abilities
2025-05-19 18:51:42 +03:00
87323f08d9
Random-with-history for luck & morale rolls
2025-05-19 18:51:42 +03:00
cc274c4d34
GameRandomizer is now in lib, add implementation
2025-05-19 18:51:42 +03:00
54a46b77a9
Extract library entity randomization logic to separate class
2025-05-19 18:51:42 +03:00
c0850f41b3
Pathfinder now uses IGameInfoCallback instead of CGameState
2025-05-19 17:53:15 +03:00
e79c8b9fe1
Remove unnecessary access to gamestate
2025-05-19 17:53:15 +03:00
d102f660a0
color filter cheats
2025-05-19 02:48:13 +02:00
456525109e
Replaced undescriptive bool true/false with more clear enum for
...
absolute/relative change via netpacks
2025-05-16 17:21:39 +03:00
a13806a0df
Fix build
2025-05-15 16:58:16 +03:00
6aadcf43d3
Fix tests
2025-05-15 13:04:47 +03:00
4d4da0454f
map objects hierarchy now uses IGameInfoCallback
2025-05-14 18:33:20 +03:00
6f20235d07
Merge CPrivilegedInfoCallback into CGameInfoCallback
2025-05-14 13:42:20 +03:00
716da918f8
Completely remove IGameCallback class
...
- CClient now inherits directly from CPrivilegedInfoCallback, like
IGameCallback did before. However CClient no longer needs dummy
implementation of IGameEventCallback
- CGObjectInstance hierarchy now uses CPrivilegedInfoCallback for
callback. Actual events can only be emitted in calls that receive
IGameEventCallback pointer, e.g. heroVisit
- CGameHandler now inherits directly from both CPrivilegedInfoCallback
and IGameEventCallback as it did before via IGameCallback
2025-05-14 13:39:41 +03:00
2c17c2d5b7
Rework CCallback <-> CClient interaction
...
- callback is now part of lib instead of weird class that is shared by
client and AI while being part of client
- callback interacts with client class via minimal interface class
- removed no longer used unlockGsWhileWaiting field
2025-05-12 22:07:10 +03:00
35644da2b7
Reogranize callback-related classes on 1 file = 1 class basis
2025-05-12 22:07:09 +03:00