Commit Graph
10 Commits
Author SHA1 Message Date
Ivan Savenko 0fa83c0478 Implemented mod-friendly loading of town building icons for campaigns 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 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 745040def3 Access to heroes storage in CMap is now done via public methods 2025-04-27 14:57:30 +03:00
Laserlicht 100f3606db code review 2025-04-12 13:39:08 +02:00
Laserlicht 47cfe01141 seperate identifier 2025-04-11 00:49:26 +02:00
Laserlicht 562b3f777d code review (second batch) 2025-04-10 21:41:22 +02:00
Laserlicht 5b74f7f19e code review (first batch) 2025-04-10 21:04:24 +02:00
Laserlicht 42673c1bab fix error 2025-04-05 23:11:30 +02:00
Laserlicht 28169b051e campaign editor 2025-04-05 22:30:31 +02:00