1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Commit Graph

2805 Commits

Author SHA1 Message Date
Laserlicht
d808bd6412 introduce toResourceType 2025-09-15 00:08:18 +02:00
Laserlicht
a54a1f8b8d replace RESOURCE_NAMES where possible 2025-09-14 20:43:53 +02:00
Laserlicht
75f965c93a remove allresources 2025-09-14 15:29:14 +02:00
Michał Zaremba
48a683ae49 Fix incrementing PlayerConnectionID 2025-09-02 22:37:32 +02:00
Michał Zaremba
44557c3558 Fix PlayerConnectionID regression 2025-08-31 05:54:03 +02:00
Ivan Savenko
9a66130c12 Merge pull request #5961 from Opuszek/rework_ballist_and_tower_target_acquisition
Rework ballist and tower target acquisition
2025-08-18 22:17:07 +03:00
Mircea TheHonestCTO
8861b8745d revert: back to 0.5% monthly monster chance 2025-08-15 16:15:16 +02:00
Mircea TheHonestCTO
39bd4a2d20 refactoring with guardingCreaturePosition 2025-08-15 00:19:51 +02:00
Mircea TheHonestCTO
423eb70e2e Merge branch 'develop' into fix/monthly-random-monsters-hiding-nearby-danger 2025-08-14 23:21:20 +02:00
Ivan Savenko
6328e4b4f8 Merge pull request #6002 from kdmcser/opening_battle_spells
Add addInfo support for OPENING_BATTLE_SPELL to set spell level
2025-08-14 11:19:53 +03:00
Opuszek
75f2b24b69 Fixes to tower rework 2025-08-13 21:58:54 +02:00
Mircea TheHonestCTO
77a8b0f8e6 fix: monthly monsters aren't linked with other map objects at creation, leaving Nullkiller unable to see the next danger after killing a monthly monster;
2 minor log trace renaming to make them easier to spot in logs when debugging
2025-08-11 21:02:27 +02:00
kdmcser
594ae27cb5 support setting spell master level in OPENING_BATTLE_SPELLS 2025-08-11 02:13:36 +08:00
Ivan Savenko
bc96515cec Simplify blukMoveArmy logic, fix army transfer bugs 2025-08-01 18:21:02 +03:00
Opuszek
64e4641702 Fixes lambda 2025-08-01 14:18:46 +02:00
Opuszek
f9d1d17663 Second attempt at reworking tower and ballista logic 2025-08-01 14:06:52 +02:00
Ivan Savenko
2ad75bbde7 Add check for victory condition on assembling artifact 2025-07-31 21:57:52 +03:00
Ivan Savenko
bfc7ca8c86 Fix regression - crash on attempt to load saved game 2025-07-31 21:55:46 +03:00
Opuszek
9f5b04c1b5 Rework ballist and tower target acquisition 2025-07-31 18:04:59 +02:00
Ivan Savenko
c737b8bea3 Merge pull request #5940 from Laserlicht/case_insensitive
case insensitive cheat identifier
2025-07-31 17:05:26 +03:00
Laserlicht
70c84910bd code review 2025-07-31 00:46:43 +02:00
Ivan Savenko
b4693a9d7f Merge pull request #5859 from IvanSavenko/antilag
Lag compensation for multiplayer
2025-07-30 12:02:36 +03:00
Ivan Savenko
00e0173f18 Merge pull request #5920 from Opuszek/fix_berserk
Implement berserk behavior if no unit in melee range or unit can shoot.
2025-07-30 12:01:58 +03:00
Ivan Savenko
1f9a1dbf37 Fix artifacts providing hero with banned spells
Tomes of X Spells and Spellbinder's Hat (and any other sources for such
bonuses from mods) will no longer provide spells that are banned on map.

Option is only active for random maps and for HotA h3m's. RoE-SoD .h3m's
work as before.

If needed, behavior can be changed in config
2025-07-26 19:44:00 +03:00
Opuszek
6b97fc306d fix berserk 2025-07-22 23:28:53 +02:00
Opuszek
ac3991b899 Rename a misleading method 2025-07-22 21:33:46 +02:00
Laserlicht
3975cc3ada case insensitive cheat identifier 2025-07-20 13:56:14 +02:00
Ivan Savenko
241da5937d First semi-working version of antilag for hero movement 2025-07-19 18:04:20 +03:00
Ivan Savenko
52da332640 GameHandler now uses GameConnectionID instead of connection pointers 2025-07-19 18:04:20 +03:00
Ivan Savenko
3576efc3f3 Initial version of antilag support 2025-07-19 18:04:20 +03:00
Ivan Savenko
58de180083 Split CConnection into GameConnection and IGameConnection classes 2025-07-19 18:04:20 +03:00
Ivan Savenko
3d63284c51 Extracted interface through which GameHandler interacts with VCMIServer 2025-07-19 18:04:20 +03:00
Ivan Savenko
6b382a979a Added PackageReceived message to show when server starts pack processing 2025-07-19 18:04:20 +03:00
Ivan Savenko
163c95ffb0 Merge pull request #5926 from IvanSavenko/commander_fixes
Fixes for commanders logic
2025-07-17 16:12:42 +03:00
Opuszek
c1ef3c42a9 fix formatting #3 2025-07-14 22:53:17 +02:00
Opuszek
3177d25042 fix formatting #2 2025-07-14 22:47:47 +02:00
Opuszek
fd1caf661f fix formatting 2025-07-14 22:39:28 +02:00
Ivan Savenko
1727bff1e6 Limit commander experience level to map limit 2025-07-14 21:05:49 +03:00
Opuszek
28e4e6c8cb Clean 2025-07-10 18:06:52 +02:00
Opuszek
e9f0ffed88 Make pass/force action spells take effect immediately after being reflected on an active unit 2025-07-10 18:02:39 +02:00
Opuszek
8e6af8ed78 refactor BattleFlowProcessor 2025-07-10 18:02:28 +02:00
Ivan Savenko
46072a1d60 Merge pull request #5896 from IvanSavenko/code_reorganize
Split large source files into smaller files per 1 class
2025-07-08 10:47:13 +03:00
Ivan Savenko
8721bdd728 Split CCreatureSet file on .h/.cpp per class basis 2025-07-07 19:12:31 +03:00
Ivan Savenko
2ad186130f Split MapDefines file on .h per class basis 2025-07-07 18:16:42 +03:00
Ivan Savenko
200850f56f Add COMBAT_MANA_BONUS for Skyship 2025-07-06 15:36:51 +03:00
Ivan Savenko
c15f628761 Merge pull request #5743 from SoundSSGood/num-of-charges-per-spell
Charge cost for charge based spells
2025-07-02 17:07:56 +03:00
SoundSSGood
1c0ef3bdf4 Captured artifacts msg fix 2025-07-02 12:57:57 +02:00
SoundSSGood
76debab846 HasChargesLimiter now works in "bonuses" json section 2025-06-30 18:41:22 +02:00
SoundSSGood
7f9936cf10 getSourcesForSpell 2025-06-30 18:41:20 +02:00
SoundSSGood
6752ab3a75 HAS_CHARGES_LIMITER 2025-06-30 18:39:57 +02:00