Laserlicht
3ec731ef6e
json validation & mithril remove
2025-09-16 01:52:47 +02:00
Laserlicht
f034584dfa
replace RESOURCE_QUANTITY where possible
2025-09-14 21:12:51 +02:00
Ivan Savenko
463c404a83
Use bonus only as shared_ptr to avoid memory corruption
2025-06-16 16:22:21 +03:00
Ivan Savenko
bc48337445
Implement async requests for bonus types
2025-06-15 14:36:29 +03:00
Ivan Savenko
022b0f731c
Fix configs, update docs, resolve discovered regressions
2025-06-15 14:36:29 +03:00
Ivan Savenko
51832c4fb9
Preparation for user-defined bonus types
2025-06-15 14:36:29 +03:00
Ivan Savenko
4b77140f4a
Implemented playerGlobal visit mode for objects like cartographer
2025-05-06 18:53:43 +03:00
Ivan Savenko
62e774c91e
Add new rewards for configurable objects
2025-05-06 17:28:11 +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
f70ad2c15b
Reorganized artifact-related classes
...
- files now generally contain only 1 class (except for tightly coupled
classes)
- files are now located in lib/entities/artifact directory
- removed excessive includes
No changes to functionality
2025-04-29 13:29:08 +03:00
Ivan Savenko
645b95ba02
Renamed LibClasses * VLC to GameLibrary * LIBRARY
2025-02-21 16:54:56 +00:00
godric3
68335f51d3
map editor: extract setting display and tooltip text method to base delegate class
2025-01-07 18:53:49 +01:00
godric3
494777987d
map editor: improve building inspector texts
2025-01-06 19:47:23 +01:00
godric3
15175a267c
map editor: show edited values in inspector
2025-01-05 17:19:51 +01:00
Laserlicht
4aed816b05
resource and playername translation
2025-01-04 16:26:57 +01:00
Ivan Savenko
d3af9f1c67
Removed pointer to VLC entity from CStackBasicDescriptor
2024-10-30 16:47:02 +00:00
Ivan Savenko
10ad0fc760
Split CHeroHandler.cpp/.h into 1 file per class
...
All parts of CHeroHandler.cpp are now in lib/entities/hero
Adjusted includes to use new paths
No functionality changes
2024-10-13 14:01:09 +00:00
godric3
ddb641c0ef
map editor: fix seer visit mode input initialization
2024-05-13 23:00:13 +02:00
godric3
e7c03e3387
map editor: block remove visit info button if no info to remove
2024-05-13 22:40:26 +02:00
Tomasz Zieliński
43a1e691e4
Trying to satisfy Sonarcloud
2024-03-09 10:17:30 +01:00
Ivan Savenko
10e110320b
Remove std::vector<boo> from Json Serializer, simplify affected code
2023-11-15 15:55:18 +02:00
Ivan Savenko
4f47555977
Split OBJECT bonus source into OBJECT_TYPE and OBJECT_INSTANCE
2023-10-22 16:55:19 +03:00
Ivan Savenko
ac925bb786
Renamed new types for consistency with code style
2023-10-22 16:55:19 +03:00
Ivan Savenko
b394158dc9
Bonus Source ID now uses metaidentifier
2023-10-22 16:55:18 +03:00
nordsoft
d2d64dbddd
Bugfixes
2023-10-10 23:44:29 +02:00
nordsoft
63bdfb8ff6
New quests implemented
2023-10-10 23:44:29 +02:00
nordsoft
3a17eeb330
Fix typos in rewards widget
2023-10-10 23:44:29 +02:00
nordsoft
70796d232b
Full support of maps translations
2023-09-29 00:24:45 +02:00
nordsoft
98fde9ab1d
Add string IDs in map editor
2023-09-28 14:38:31 +02:00
Ivan Savenko
a16d47037e
Fix build
2023-09-19 19:24:35 +03:00
nordsoft
2960895041
Issues fixed
2023-09-17 22:19:45 +02:00
nordsoft
a517e6ad8e
Message split for pandora box
2023-09-17 18:02:24 +02:00
nordsoft
7b22aefb12
Some minor fixes
2023-09-17 13:03:42 +02:00
nordsoft
10d783d8ee
Undefined behavior fix
2023-09-16 05:59:16 +02:00
nordsoft
033e7010ca
Fix for empty primary skills array
2023-09-16 05:52:23 +02:00
nordsoft
991a755a1f
Added new rewardable widget
2023-09-16 05:34:27 +02:00
nordsoft
06f01c3b82
Seerhut works as rewardable object
2023-09-15 10:06:06 +02:00
nordsoft
574047c55c
Start making new serialization for rewardables
2023-09-13 09:18:46 +02:00
nordsoft
445e39ad20
Improved inspector
2023-09-11 20:37:25 +02:00
Ivan Savenko
e54287ea5d
Converted remaining identifier to new system
2023-08-25 13:38:02 +03:00
Ivan Savenko
62cd8b12d4
Converted several namespace enums to enum class
2023-08-25 13:38:02 +03:00
Ivan Savenko
e57f8742cd
Rename ambiguos 'clear' to 'clearSlots'
...
A lot of map objects inherit from CCreatureSet and as result - get
clean() method that resets object army
2023-08-07 19:13:02 +03:00
Tomasz Zieliński
025b0814c8
+ Handled banning spells and artifacts
...
+ Rename allowedSpell => allowedSpells
2023-07-17 17:21:28 +02:00
Ivan Savenko
acac42291e
Remove excessive CMap.h includes
2023-05-31 23:18:38 +03:00
Konstantin
11b237a23c
vcmi: massive refactoring v1
2023-04-05 22:33:12 +03:00
Konstantin
22dd97ad18
vcmi: use entilites when possible part 1
2023-04-04 23:02:54 +03:00
Konstantin
6d17b9342d
ResourceSet: resolve .at troubles
2023-03-31 14:12:38 +03:00
Ivan Savenko
47c1803c42
Finalization of refactoring:
...
- Entity interface now has getNameTranslated & getNameTextID methods
- Entity interface no longer has getName method
- removed (most) usages of normalizeIndentifier workaround method
- all moddable objects have identifier in form of mod:name
- all moddable object register strings in form of mod.type.name
2023-01-20 15:18:36 +02:00
Ivan Savenko
388ed88b5d
All artifact strings now pass through translator
2023-01-20 15:18:36 +02:00
Ivan Savenko
d2b837b116
All creature-related texts go through translator
2023-01-20 15:18:36 +02:00