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

20483 Commits

Author SHA1 Message Date
Laserlicht
c928acfc25 remove not needed var 2025-07-20 03:09:04 +02:00
Laserlicht
2751ada585 fix sorting 2025-07-20 03:03:16 +02:00
Laserlicht
dea441899a searchbox color 2025-07-20 02:44:09 +02:00
Ivan Savenko
7fcb0246fb Merge pull request #5909 from Laserlicht/template_editor_object
Template editor - object & townHints selection
2025-07-18 23:08:53 +03:00
Ivan Savenko
2877fa3301 Merge pull request #5927 from Laserlicht/fps_draw
optimized fps/battery box drawing
2025-07-18 23:08:42 +03:00
Ivan Savenko
e82b92aa17 Merge pull request #5936 from Laserlicht/kingdom
fix kingdom overview rendering
2025-07-18 22:38:17 +03:00
Ivan Savenko
34f74fcec9 Merge pull request #5931 from Opuszek/fix_sanctuary
fixes sanctuary behavior
2025-07-18 22:37:53 +03:00
Laserlicht
380896c37f fix kingdom overview rendering 2025-07-18 01:30:37 +02:00
Laserlicht
e00668251d code review 2025-07-17 21:49:41 +02:00
Laserlicht
187d79bc7c code review 2025-07-17 20:42:27 +02:00
Opuszek
6a983e16df Update lib/pathfinder/PathfinderUtil.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-07-17 19:10:20 +02:00
Ivan Savenko
e02fc5ff3f Merge pull request #5934 from MichalZr6/fix_schemas
Fix JSON schemas
2025-07-17 16:17:35 +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
Ivan Savenko
abd43e77cf Merge pull request #5922 from IvanSavenko/simple_building_config
Simplify town buildings configuration
2025-07-17 16:12:29 +03:00
Ivan Savenko
afb71f72a7 Merge pull request #5910 from Opuszek/fix_mirror_shield
Make a blind/berserk spells activate immediately if reflected on an active unit
2025-07-17 16:12:20 +03:00
Ivan Savenko
6720289682 Merge pull request #5919 from IvanSavenko/rmg_banned_entities
Support for banned game entities in random map templates
2025-07-17 16:03:08 +03:00
Michał Zaremba
237a08cca6 Fix schemas 2025-07-16 16:11:13 +02:00
Michał Zaremba
d005a0ebd5 Add schema for highscoreCreatures 2025-07-16 16:11:13 +02:00
Michał Zaremba
917fefed56 Fix schemas trailing commas for json validator 2025-07-16 16:11:13 +02:00
Opuszek
69e3134c21 fixes sanctuary behavior 2025-07-15 10:28:23 +02:00
Laserlicht
3504d1ce38 optimized fps draw 2025-07-14 23:20:47 +02: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
Ivan Savenko
aeddeb2612 Fix loading of subtypes for HAS_ANOTHER_BONUS limiter 2025-07-14 21:04:46 +03:00
Ivan Savenko
c4cb794760 Add workaround for mods that use "true" (string) instead of real bool 2025-07-14 21:04:26 +03:00
Ivan Savenko
173b658ee5 Fix commander skill icon not updating on deselection 2025-07-14 21:03:46 +03:00
Ivan Savenko
ae284e9c16 Simplify town buildings configuration
Goal is to minimize amount of copy-pasted parts of town building
configuration and to reduce chance of modders accidentally breaking it.

For example, Grail in any town produces 5k gold and requires artifact to
be built. No need to copy-paste this in any town. And if modder wants to
more unique Grail, he provide custom parameters that will override
default properties.

As a bonus, since all building ID's are now in config, modders can use
it for reference instead of searching for examples

Changes:

- All H3 buildings now have entry in buildingsLibrary.json.
- Moved all common parameters of town buildings to buildingsLibrary.json
- Added all new building ID's to buildingsLibrary.json - level 8
dwelling, additional upgrades of dwellings & hordes
- Removed hardcoded mapping of strings to building ID's from code.

Should not break any existing mods, or cause them to fail validation
2025-07-14 15:31:01 +03:00
Ivan Savenko
2774502526 Merge pull request #5883 from IvanSavenko/opening_spell_freeze_fix
Fix freeze on battle opening spell & add debug logging
2025-07-14 13:32:29 +03:00
Ivan Savenko
3b36d74882 Merge pull request #5901 from IvanSavenko/adventure_spells
(somewhat) configurable adventure map spells
2025-07-14 13:31:19 +03:00
Ivan Savenko
8fbf9568d9 Merge pull request #5915 from Laserlicht/queue
fix glitch with small queue
2025-07-14 12:36:47 +03:00
Ivan Savenko
2199e90520 Merge pull request #5913 from Laserlicht/hd-settinh
Hd setting
2025-07-14 12:36:41 +03:00
Ivan Savenko
5aeb06c319 Try to fix freeze on battle opening spell 2025-07-14 12:34:55 +03:00
Ivan Savenko
87555c600d Json validation for battle effects 2025-07-14 12:30:50 +03:00
Ivan Savenko
18a0a5a4d6 Updated schema to validate adventure map spells 2025-07-14 12:01:42 +03:00
Ivan Savenko
51408cccd8 Update docs 2025-07-14 11:26:41 +03:00
Ivan Savenko
f58d08e563 Support for banned game entities in random map templates
The following entities can now be banned in a random map template
definition:
- Hero
- Artifact
- Spell
- Secondary skill

The ban follows the same rules as banning via the map settings in the
map editor.

It is also now possible to bypass dependencies and access identifiers
from mods that are not dependencies when defining:
- Banned entities in random map templates
- the chance of a hero class appearing in a tavern of a specific faction
- the chance of a spell appearing in a mage guild of a specific faction
- the chance of a hero class receiving a secondary skill

For this to work, the identifier must be specified in full, e.g.
`modName:objectName`. If the specified mod is not active, the game will
silently ignore this entry.

This behaviour is not affected by mod load order. It is possible to use
this format to access a mod that has not yet been loaded.
2025-07-14 00:18:11 +03:00
Ivan Savenko
a0a99d7311 Fix build, fix sonar 2025-07-13 23:03:45 +03:00
Laserlicht
5057609078 fix glitch with small queue 2025-07-11 20:24:47 +02:00
Laserlicht
a6f95433a2 fix 2025-07-11 20:05:16 +02:00
Ivan Savenko
246010c13e Update docs, fix inconsistencies between config & code 2025-07-11 19:20:53 +03:00
Ivan Savenko
b1aff17e82 Remove hardcoded checks for town portal from AI code 2025-07-11 18:03:18 +03:00
Ivan Savenko
f51c7c5c28 Removed hardcoded AI logic for Water Walk and Fly spell 2025-07-11 17:38:03 +03:00
Ivan Savenko
b0c511149d Removed hardcoded checks for Summon Boat spell 2025-07-11 17:11:01 +03:00
Ivan Savenko
7a1ede1e38 Adventure spell API refactoring to ease use by AI 2025-07-11 16:47:37 +03:00
Ivan Savenko
55bd4bc8bf Support for custom cursors for adventure map spells 2025-07-11 16:06:21 +03:00
Ivan Savenko
a53aadf53a Remove unused default cursor 2025-07-11 12:25:40 +03:00
Laserlicht
03870ee28a Hd setting 2025-07-11 11:11:50 +02:00
Ivan Savenko
5ada2d19e1 UI now shows spell range from config 2025-07-11 12:06:01 +03:00