1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00
Commit Graph

76 Commits

Author SHA1 Message Date
2fdf40e7a9 Remove connection pointer from CPack 2025-03-03 10:46:00 +00:00
2362c6da21 Fixes for multiple new issues from Sonar 2025-02-21 15:57:39 +00:00
f9fe8fc312 Cleanup hota object loading code 2025-02-13 19:10:29 +00:00
d996726fe7 Support for parsing HotA 1.7.0 maps 2025-02-13 19:10:29 +00:00
baa9b1e312 Load unknown objects as "Nothing" object 2025-01-24 19:26:40 +00:00
8468469976 Fixes for AI town building logic
- Fixes AI not considering non-built dwellings
- AI will now skip evaluation of towns in which construction today is no
longer possible
2025-01-06 16:20:53 +00:00
65fc50d33b Simplified building ID logic
- Replaced overcomplicated and broken math on dwelling ID's with fixed
enum
- Fixed broken 2nd upgrades and 8th dwelling
- Removed no longer used enumeration values from building ID's
2024-12-25 19:16:21 +00:00
e035cf9e63 Optimized getHeroStrength method
- replaced 4x access to bonus system with single access
- fixed formula for Diplomacy
- fxied formula for hero transfer in campaigns
- removed pointless sqrt(pow()) construct
2024-12-22 14:49:35 +00:00
99fcf136ec Nullkiller AI is now also capable of upgrading dwellings a second time if that's possible 2024-12-16 23:45:21 +01:00
9012560e38 Fix for AI not recognizing 2nd T7-building of Factory as dwelling
This lead to it being built dead-last in the build-order instead of the AI trying to go for it quite early.
2024-12-16 17:19:07 +01:00
b29d7e8cfd third upgrade for 8th dwelling 2024-11-24 17:57:49 +01:00
43fc741a15 cleaner 2024-08-21 21:24:06 +02:00
170f375179 code review 2024-08-10 00:29:30 +02:00
475b769eef fix ToW 2024-08-07 01:35:50 +02:00
14bcfad7b0 fix upgrade 2024-08-06 23:28:45 +02:00
758617e2df order 2024-08-06 09:39:16 +02:00
0c3778feda id 2024-08-06 09:35:06 +02:00
abd1a1940a fix recruitment & icons 2024-08-06 01:02:38 +02:00
ebeeff5aa3 abstraction layer 2024-08-05 23:51:07 +02:00
3afddbbf29 replaced constant 2024-08-05 23:03:19 +02:00
1a06a2cc44 basic 8th creature support 2024-08-05 21:15:47 +02:00
3e3959d360 Move all OH3 objects and obstacle sets to a mod 2024-04-08 12:50:41 +02:00
b1a5693612 Proof of concept with OH3 obstacles 2024-04-04 21:39:01 +02:00
fc252bb9eb Random town names are now guaranteed to be unique on the map 2024-02-19 00:36:08 +02:00
342e6daebd Fix copy-paste error 2024-02-05 21:07:50 +02:00
7247038458 Merge pull request #3574 from SoundSSGood/altar-fixes
Artifacts altar related fixes
2024-02-01 22:27:41 +02:00
a42b60feb9 suggested changes 2024-02-01 13:28:08 +02:00
709d05205d Yog will now receive Angelic Alliance in his campaign 2024-01-31 12:42:02 +02:00
3abc26e789 Moved checks for campaign heroes to CGHeroInstance class 2024-01-30 23:33:58 +02:00
c6ca6ad835 sacrifice routine 2024-01-27 23:01:57 +02:00
652f009181 arts altar - arts holder 2024-01-27 15:28:21 +02:00
0c07384293 Refactoring of serialization versioning handling
- Removed 'version' field from serialize() method
- Handler classes - Binary(De)Serializer now have 'version' field
- Serialization versioning now uses named enum

Save compatibility with 1.4.X saves should be intact
2024-01-20 20:34:51 +02:00
d5c4478816 Remove most of non-const access to VLC entities 2024-01-19 13:54:49 +02:00
54480c6209 Fixed Building ID serialization to use string 2023-11-17 22:12:11 +02:00
c872f8418f Implemented serialization of MapObjectSubID, refactoring of related code 2023-11-17 21:18:34 +02:00
843e97349a Identifiers that can be added by mods are now serialized as string 2023-11-17 00:48:55 +02:00
59b2cbe4d2 Fix regressions 2023-11-15 15:57:03 +02:00
52050d0ef1 Fix build 2023-11-15 15:55:19 +02:00
96c81be68e Win/loss conditions now use VariantIdentifier. Removed non-implemented
options
2023-11-15 15:55:19 +02:00
34338f4eaa Remove few more implicit conversions 2023-11-15 15:55:19 +02:00
abad4b01ce Remove explicit convesion to int in operators 2023-11-15 15:55:19 +02:00
0842f5afee Removed remaining usages of std::vector<bool> 2023-11-15 15:55:18 +02:00
c6f9434c8e Merge pull request #3170 from gamestales/gamestales/2903-morale-description-1442
#2903-morale-description-#1442
2023-11-13 01:53:29 +02:00
a574f18e69 #2903-morale-description-#1442 2023-11-10 15:58:19 +01:00
c7676bde53 Serialize Enitity classes by their ID 2023-11-08 21:27:05 +02:00
86a3806bec MetaString refactor to eliminate integer usage for identifiers
- entity names are now stored and serialized as text ID's
- added helper methods for convenience to get entities names to
metastring
2023-11-07 22:47:10 +02:00
5487f07d3b added toEntity overload that accepts generic Services class 2023-11-04 17:04:53 +02:00
184f5a72cc Use toEntity/toXXX methods in Identifier instead VLC objects access 2023-11-03 16:03:29 +02:00
8d5fa41a19 Minor fixes 2023-11-03 16:03:29 +02:00
10e50548e7 Converted Component class to use VariantIdentifier instead of int 2023-11-02 12:00:04 +02:00