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

147 Commits

Author SHA1 Message Date
Michał Zaremba
949b34a3cb Fix: deal with null map objects (reserved for heroes not on map) 2025-09-18 11:43:26 +02:00
Laserlicht
4552c1f562 map editor multi level support 2025-08-02 02:15:05 +02:00
Laserlicht
ecfe09f6b1 multilevel support 2025-08-01 02:21:44 +02:00
Laserlicht
5c20e2bec7 add to translation 2025-07-09 20:03:27 +02:00
Laserlicht
414712bb73 Merge branch 'develop' into template 2025-06-18 23:39:51 +02:00
Michał Zaremba
33c801f89d Fix PlayerSettings conflicting names 2025-06-15 23:47:12 +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
Laserlicht
ddd422a075 template editor 2025-06-08 15:20:49 +02:00
MichalZr6
f98155a785 Fixes following reviews 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
Ivan Savenko
204b13fc07 Merge pull request #5608 from Laserlicht/campaigneditor
campaign editor
2025-04-15 17:55:13 +03:00
Laserlicht
5b74f7f19e code review (first batch) 2025-04-10 21:04:24 +02:00
Laserlicht
28169b051e campaign editor 2025-04-05 22:30:31 +02:00
George King
b9ef9f64bb Forgotten setAcceptDrops 2025-04-05 11:12:37 +02:00
George King
6fba8a6a86 Drag and drop 2025-04-04 20:41:04 +02:00
Ivan Savenko
222b73bbcd Simplify library initialization 2025-03-12 13:33:12 +00:00
Ivan Savenko
06be6b909c Fix build, reduce includes of CConsoleHandler 2025-03-01 21:16:41 +00:00
Ivan Savenko
dd1b877449 Replace several more globals with locals 2025-03-01 21:16:41 +00:00
Ivan Savenko
782362e5ce Remove console global 2025-03-01 21:16:41 +00:00
Ivan Savenko
645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00:00
George King
7f09e22242 Improved Ground / Undergound menu text 2025-02-01 16:23:59 +01:00
Ivan Savenko
018503c5e8 Merge pull request #5191 from Laserlicht/translations
[1.6.x] mapeditor translations
2025-01-05 13:15:46 +02:00
Laserlicht
3e44dd6a88 move translation out of constructor 2025-01-04 16:26:57 +01:00
Laserlicht
bdf778a80a mapeditor new translatable strings 2025-01-04 16:26:57 +01:00
Laserlicht
a345517776 h3c converter implementation 2024-12-25 18:40:40 +01:00
Ivan Savenko
4d08ac92fb Merge pull request #5060 from Laserlicht/mapeditor_translation
translate strings for mapeditor
2024-12-10 13:14:21 +02:00
Laserlicht
e7b6962211 translate strings 2024-12-09 21:51:35 +01:00
Joakim Thorén
c66cf03a8c Adhere to coding guidelines https://github.com/vcmi/vcmi/blob/develop/docs/developers/Coding_Guidelines.md 2024-11-24 17:05:19 +01:00
Joakim Thorén
75ad171285 Remove redundant 'selectedFilePath'. This information is stored in the currently selected widget anyway. 2024-11-24 16:58:43 +01:00
Joakim Thorén
bdaaa0b584 RecentFileDialog widgets are pointers 2024-11-24 16:57:44 +01:00
Joakim Thorén
5747781dda Store "selectedFilePath" internally in RecentFileDialog instead of connecting to dialog internals from outside RecentFileDialog 2024-11-24 16:35:38 +01:00
Joakim Thorén
9b0e6763e7 Oops, accedentially undid reordering of parent argument. 2024-11-24 16:30:44 +01:00
Joakim Thorén
d1e40411dd Connect "actionOpenRecentMore" directly to "on_actionOpenRecent_triggered" 2024-11-24 16:29:34 +01:00
Joakim Thorén
02a656d16f Fix compilation error 2024-11-24 15:24:19 +01:00
Joakim Thorén
2678bf1e05 RecentFileDialog is class instead of struct 2024-11-24 15:23:30 +01:00
Joakim Thorén
e3b520a1f1 Header inclusion style consistency 2024-11-24 15:22:19 +01:00
Joakim Thorén
3304e55346 Rename "filename" to "filePath". Previous name was misleading at best.
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-11-24 15:16:17 +01:00
Joakim Thorén
1b9b925ab9 Localized string for "Recently Opened Files"'
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-11-24 15:15:38 +01:00
Joakim Thorén
5bff1ec2c1 Update mapeditor/mainwindow.cpp
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-11-24 15:14:21 +01:00
Joakim Thorén
2ed83e53b7 Prompt about unsaved changes when trying to load a map instead of prompting when opening the dialogue. 2024-11-18 23:09:08 +01:00
Joakim Thorén
5e898b9aa8 Fix bug where onSelect was triggered twice on double click in Recently Opened Files 2024-11-18 23:07:16 +01:00
Joakim Thorén
7d53150bdb Open Recent is a submenu with recently opened files and a "More..."-action. 2024-11-18 22:55:46 +01:00
Joakim Thorén
b892221b9f Replace "actionOpenRecent" with "menuOpenRecent". Add "actionOpenRecentMore" as an element in the "menuOpenRecent"-submenu. 2024-11-18 22:05:03 +01:00
Joakim Thorén
e9e129263a Add 'Open Recent' to mapeditor 2024-11-18 21:07:17 +01:00
Ivan Savenko
08fbcd5239 TerrainTile now uses identifiers instead of pointers to VLC 2024-10-30 16:22:11 +00:00
godric3
7e66bd4a90 Don't use separate versioning for map editor 2024-10-26 13:48:12 +02:00
godric3
786be6f253 map-editor: add hero placeholder with heroType defined to reservedCampaignHeroes on map save 2024-08-22 16:53:43 +02:00
Alexander Wilms
187b7b0517 Show debug message instead of warning if no .qm file for selected language exists 2024-07-18 20:44:24 +02:00
Alexander Wilms
6599db4461 Less noise when switching languages in launcher
* Check if .qm file exists
* Don't call installTranslator() for English

Fixes #4277
2024-07-18 20:44:24 +02:00