Dydzio
7a701b39fb
Update mapeditor/mapsettings/timedevent.h
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-12-05 21:02:54 +01:00
Dydzio
e9be46af98
Merge branch 'develop' into timed_events_objects_removal
2024-12-03 17:27:24 +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
60fe8a05b9
Merge pull request #4775 from dydzio0614/map-editor-event-day-fix
...
Count days from 1 instead of 0 in map editor timed event UI
2024-10-15 18:00:23 +03:00
Dydzio
69b6e9c167
Count days from 1 instead of 0 in map editor timed event UI
2024-10-14 17:19:34 +02: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
Ivan Savenko
a8f8c3f4b1
Replaced most of accesses to CGObjectInstance::pos with anchorPoint()
2024-10-09 15:43:46 +00:00
godric3
d3db673df2
Fic build
2024-10-01 07:12:27 +02:00
godric3
d078c5ff2d
store ObjectInstanceID of objects to remove instead of their position
2024-09-30 20:44:40 +02:00
godric3
e50ba14bbe
Use exact position of object to remove + add object name to list of objects to remove
2024-09-30 19:17:21 +02:00
godric3
253af651cc
Add map editor ui to set objects to remove on timed event
2024-09-29 13:37:24 +02:00
Dydzio
cf5ce96aeb
Backend implementation of object removal possibility by timed map events
2024-09-23 21:45:50 +02:00
godric3
514e81406d
extract PlayerColor to QString conversion to helper function
2024-09-17 20:57:05 +02:00
godric3
9baccdeeae
map editor: fix event players after conversion to std::set
2024-09-16 20:25:19 +02:00
Ivan Savenko
5523e08cb7
Players affected by event is now stored as std::set instead of bitmask
2024-08-14 14:13:49 +00:00
godric3
5578346dac
map editor: Allow to customize town events
2024-07-28 16:28:21 +02:00
Ivan Savenko
4aa73b40c9
Split CTownHandler into smaller chunks
2024-07-21 18:21:48 +00:00
Ivan Savenko
1aa391fdf8
Split CGeneralTextHandler file into 1 file per class form
...
All text processing code is now located in lib/texts.
No changes other than code being moved around and adjustment of includes
Moved without changes:
Languages.h -> texts/Languages.h
MetaString.* -> texts/MetaString.*
TextOperations.* -> texts/TextOperations.*
Split into parts:
CGeneralTextHandler.* -> texts/CGeneralTextHandler.*
-> texts/CLegacyConfigParser.*
-> texts/TextLocalizationContainer.*
-> texts/TextIdentifier.h
2024-07-20 12:55:17 +00:00
Laserlicht
0dd36d3c4b
replace deprecated functions
2024-06-29 14:55:56 +02:00
Laserlicht
aa506e33b9
calendar
2024-06-29 14:24:40 +02:00
Laserlicht
caaec71b9f
fix
2024-06-29 14:14:21 +02:00
Laserlicht
02bd52041b
extend map format
2024-06-29 13:13:59 +02:00
Alexander Wilms
02e429e973
Fix typos using https://github.com/crate-ci/typos
...
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
Ivan Savenko
df83fa33a1
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-05-31 09:34:21 +00:00
godric3
c69150f984
fix victory/loss conditions widget
2024-05-26 22:50:26 +02:00
Ivan Savenko
7461df161c
lib now uses shared_ptr for entities. Removed manual memory management.
2024-05-17 15:04:05 +00:00
Evgeny Malygin
25125f96da
Fix: licenses, pragma guards, StdInc
2024-03-29 07:48:52 +02:00
Ivan Savenko
08a27663f9
Reworked JsonNode constructors to more logical form
2024-02-26 12:55:49 +02:00
Ivan Savenko
fd17133da3
Fix editor build
2024-02-06 00:40:26 +02:00
godric3
b2cd92d937
Fix initializing map editor mod settings with more than one level of submods
2024-02-03 10:36:47 +01:00
Ivan Savenko
e67e4430ba
Removed most of non-const static fields in lib. Reduced header includes.
2024-01-19 13:55:22 +02:00
godric3
78b73961d1
Fix saving map settings (allowed abilities, spells, arts and heroes)
2024-01-09 21:52:11 +01:00
Ivan Savenko
52050d0ef1
Fix build
2023-11-15 15:55:19 +02:00
Ivan Savenko
96c81be68e
Win/loss conditions now use VariantIdentifier. Removed non-implemented
...
options
2023-11-15 15:55:19 +02:00
Ivan Savenko
10e110320b
Remove std::vector<boo> from Json Serializer, simplify affected code
2023-11-15 15:55:18 +02:00
nordsoft
043f54698b
Fix translations in map editor / fix crash on game end
2023-10-05 23:34:29 +02:00
nordsoft
766f9cf19f
Mistake fix
2023-10-05 22:55:24 +02:00
nordsoft
189f790b44
Translations bugfixes
2023-10-05 22:54:28 +02:00
nordsoft
65e63bdf69
Fix text duplicating
2023-10-01 14:04:46 +02:00
nordsoft
f6093a84f0
Add newline symbol
2023-10-01 14:00:08 +02:00
nordsoft
70796d232b
Full support of maps translations
2023-09-29 00:24:45 +02:00
nordsoft
ae073ee35d
Remove unused identifiers
2023-09-28 23:15:36 +02:00
nordsoft
38d12bbe8c
Final changes for map editor translations
2023-09-28 22:48:52 +02:00
nordsoft
ab85e724eb
Read-only UI logic for translations
2023-09-28 16:20:21 +02:00
nordsoft
db93b8eaa1
UI draft for map translations
2023-09-28 15:29:43 +02:00
nordsoft
dbf3cad796
Register all text IDs in map editor
2023-09-28 14:49:47 +02:00
nordsoft
232b3e8cf6
Compile map editor
2023-09-28 13:28:37 +02:00
nordsoft
a05f8339ae
Proper mod compatibility check system
2023-09-21 04:31:08 +02:00
nordsoft
6a0b26d402
Object picker for victory/loss conditions
2023-09-11 20:37:26 +02:00
nordsoft
1ac886ca71
Refactor abstract settings to have map controller
2023-09-11 20:37:26 +02:00