1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-08 23:22:25 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
Laserlicht
dfd13fc498 Update mapeditor/mapcontroller.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2025-08-10 17:24:52 +02:00
Laserlicht
4552c1f562 map editor multi level support 2025-08-02 02:15:05 +02:00
Michał Zaremba
ebe746d0cf Integrate EditorCallback into mapeditor
EditorCallback being set up with std::unique_ptr stored in MapController.
2025-06-15 23:47:08 +02:00
MichalZr6
e1b79326de Fixes following review
Add missing mod to CMap in checkRequiredMods
2025-05-17 23:23:12 +02:00
MichalZr6
1021928c6b Fix CI builds 2025-05-13 12:51:40 +02:00
MichalZr6
8395557638 Add description for modAssessment* functions 2025-05-13 12:51:40 +02:00
MichalZr6
9964545e7a PlayerSelectionDialog implementation + code cleanup 2025-05-13 12:51:40 +02:00
MichalZr6
87326ce9d9 prompt user for adding required mod
- when object is placed to map and its mod is not in the map's required mod list -> show question messagebox
- fix code in modAssessmentAll function
2025-05-13 12:51:40 +02:00
Ivan Savenko
dda5c9f13a Map objects now use shared_ptr (editor) 2025-04-27 14:57:30 +03:00
Laserlicht
28169b051e campaign editor 2025-04-05 22:30:31 +02:00
godric3
c1413b9368 remove chains of parent()->parent() 2024-12-07 22:31:08 +01:00
Ivan Savenko
ba9e3dca9d Mod management rework, part 1
- Replaced CModInfo class with constant ModDescription class
- Simplified mod loading logic
- Extracted some functionality from ModHandler into separate classes for
future reuse by Launcher
2024-11-26 13:55:46 +00:00
Ivan Savenko
eb167d94a6 Mod compatibility check is now in a separate class and not part of
ModHandler
2023-11-08 21:27:05 +02:00
nordsoft
9c5725da66 Convertion finished 2023-10-01 13:32:35 +02:00
nordsoft
a05f8339ae Proper mod compatibility check system 2023-09-21 04:31:08 +02:00
Ivan Savenko
62fddca21e Split massive CModHandler class/file into multiple parts:
- IdentifierStorage is now a separate handler in VLC
- Renamed ModHandler::Incompatibility exception to ModIncompatibility
- Extracted ModScope namespace from ModHandler
- Extracted ModUtilities namespace from ModHandler
- Split CModHandler.cpp on per-class basis
- Replaced some direct members with unique_ptr to reduce header includes
2023-07-30 22:17:47 +03:00
Ivan Savenko
acac42291e Remove excessive CMap.h includes 2023-05-31 23:18:38 +03:00
Tomasz Zieliński
ccaece9d71 Refactor mapController to use precalculated obstacle set. 2023-05-20 10:57:05 +02:00
nordsoft
e4c147db16 Add mod management into map editor 2023-04-17 03:01:29 +04:00
Ivan Savenko
c6d62c6297 Added translatable strings for roads & rivers, for use in editor 2023-01-10 00:01:35 +02:00
Ivan Savenko
4f3ea0d1d9 Renamed Terrain.h/cpp -> TerrainHandler.h/cpp 2023-01-10 00:01:35 +02:00
nordsoft
aa120fa69f Implemented cut copy paste 2022-12-05 01:32:50 +04:00
nordsoft
b4a806d7fa Code polishing 2022-10-13 01:51:55 +04:00
nordsoft
2eb49315f5 Fix terrains/roads/rivers after code synch 2022-10-09 00:11:29 +04:00
nordsoft
6d92a66fea Fix compilation with latest develop 2022-10-08 23:54:45 +04:00
nordsoft
bc84ffe8d6 Code review changes 2022-09-25 00:55:05 +04:00
nordsoft
0b9f601d2c Squashing editor 2022-09-18 03:23:17 +04:00