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

387 Commits

Author SHA1 Message Date
Laserlicht
120213509d netpacks for renaming 2025-10-05 02:46:19 +02:00
Laserlicht
7314bb2d06 remove todo 2025-09-29 01:15:04 +02:00
Laserlicht
5da8a7a4dc use resolveidentifier 2025-09-28 19:17:39 +02:00
Laserlicht
8ef97abc7d replace hardcoded 2025-09-16 10:34:38 +02:00
Laserlicht
3ec731ef6e json validation & mithril remove 2025-09-16 01:52:47 +02:00
Laserlicht
d808bd6412 introduce toResourceType 2025-09-15 00:08:18 +02:00
Laserlicht
f034584dfa replace RESOURCE_QUANTITY where possible 2025-09-14 21:12:51 +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
Opuszek
2ce985ffa0 Fixes crashes caused by CREATURE_TERRAIN_LIMITER 2025-08-23 18:40:16 +02:00
Ivan Savenko
118029b2ba Merge pull request #5964 from Laserlicht/levels
multilevel support
2025-08-14 11:03:42 +03:00
Laserlicht
ecfe09f6b1 multilevel support 2025-08-01 02:21:44 +02:00
Ivan Savenko
800ccf2651 Fix Solmyr/Yog receiving spellbook on transferring to next scenario 2025-07-31 21:54:56 +03: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
3d63284c51 Extracted interface through which GameHandler interacts with VCMIServer 2025-07-19 18:04:20 +03: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
fb8535d1cf Merge pull request #5882 from Laserlicht/save_stat
Statistics in highscore screen
2025-07-08 10:21:02 +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
9070db4a96 Garrisoned hero is now attached to townAndVis node, not to town itself 2025-07-06 14:39:57 +03:00
Laserlicht
15a1373911 make configurable 2025-07-05 16:27:20 +02:00
Laserlicht
5fcb64911d limit entries 2025-07-05 15:48:00 +02:00
Laserlicht
1e79c28c1a show in highscore screen 2025-07-05 15:02:16 +02:00
Laserlicht
068aee409a add statistic json serializer 2025-07-05 13:51:27 +02: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
Ivan Savenko
24ad703f86 Fix possible crash on re-recruiting hero that transferred in campaign 2025-07-01 17:49:25 +03:00
Ivan Savenko
8fcbc09b8e Fix crash on removing town with garrisoned hero from map 2025-07-01 13:34:15 +03:00
SoundSSGood
6752ab3a75 HAS_CHARGES_LIMITER 2025-06-30 18:39:57 +02:00
Ivan Savenko
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
Ivan Savenko
6ac57a7cfc Improvements to bonus system node types / propagators
- Node type is now set on construction and never changes
- Added army propagator that also checks for TOWN and HERO
- Renamed existing propagators to be in sync with enumeration
2025-06-25 17:34:20 +03:00
Ivan Savenko
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
Ivan Savenko
c041a035c8 Fix removal of towns from map via event 2025-06-21 13:38:33 +03:00
Ivan Savenko
0ad4e80c7d Rework and simplify logic of attaching heroes to bonus system 2025-06-17 14:37:25 +03:00
Ivan Savenko
6d359e4112 Create heroes in pool via handler to properly initialize appearance 2025-06-17 14:36:17 +03:00
Ivan Savenko
899701a87d Update docs, fix sonar 2025-06-15 17:01:29 +03:00
Ivan Savenko
0fa83c0478 Implemented mod-friendly loading of town building icons for campaigns 2025-06-15 17:01:29 +03:00
Ivan Savenko
ba0188ca7f Bring hero strength for campaigns in line with h3 2025-06-15 17:01:29 +03:00
Ivan Savenko
2cd29c1893 Rework campaign bonuses storage in type-safe form
Replaced campaign bonuses from using 3 integers to store anything with
type-safe version that uses std::variant that ensures that all bonuses
are in correct state.

Also removed "interesting" solutions like storing primary skills using
bit shifts.

Prerequirement for HotA campaign support
2025-06-15 17:01:14 +03:00
Ivan Savenko
ae22de3ccf Implemented configurable FEAR ability 2025-06-15 14:36:29 +03:00
Ivan Savenko
f71db8af07 Configurable Conflux University 2025-06-15 14:36:29 +03:00
Ivan Savenko
aa17f258e9 Merge pull request #5764 from IvanSavenko/stack_experience_bonus
Implement STACK_EXPERIENCE_GAIN_PERCENT bonus
2025-06-04 21:09:38 +03:00
Ivan Savenko
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
Ivan Savenko
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
Laserlicht
043075a719 Merge branch 'vcmi:develop' into cheats 2025-05-23 20:38:11 +02:00
Ivan Savenko
aa9b13b66a Statistics is now managed as part of CGameHandler 2025-05-23 14:17:42 +03:00
Ivan Savenko
af20b39fe6 Reduce non-const access to gamestate on server 2025-05-23 14:17:25 +03:00
Ivan Savenko
8255a4b9ae CGameHandler no longer inherits CGameInfoCallback, reduce direct access
to gamestate
2025-05-23 14:17:25 +03:00
Laserlicht
263ba46da6 Merge branch 'develop' into cheats 2025-05-22 21:33:29 +02:00