godric3
67ab43526f
reduce code duplication
2024-07-28 16:28:21 +02:00
godric3
3d3f388fb8
rename TownEvent to TownEventDialog
2024-07-28 16:28:21 +02:00
godric3
fa3fef8a0f
change town events to vector + use getDefaultAllowed for spells
2024-07-28 16:28:21 +02:00
godric3
c212b1bf36
map editor: update translation + polish translation
2024-07-28 16:28:21 +02:00
godric3
5578346dac
map editor: Allow to customize town events
2024-07-28 16:28:21 +02:00
godric3
7aca2efb35
map editor: Allow to customize town spells
2024-07-28 16:28:21 +02:00
godric3
db1a780030
map editor: fix unchecking when there is more then one child biulding
2024-07-28 16:28:21 +02:00
godric3
5c3c6d4baa
map editor: Add bulk actions for buildings in TownBulidingsWidget
2024-07-28 16:28:21 +02:00
godric3
4d1c8bb1b7
map editor: auto update checkboxes of base/upgrade buildings in TownBulidingsWidget
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
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
7461df161c
lib now uses shared_ptr for entities. Removed manual memory management.
2024-05-17 15:04:05 +00:00
Laserlicht
9628001f57
#3864 possibility to search in army setting
2024-05-16 00:24:58 +02:00
godric3
ddb641c0ef
map editor: fix seer visit mode input initialization
2024-05-13 23:00:13 +02:00
godric3
e7c03e3387
map editor: block remove visit info button if no info to remove
2024-05-13 22:40:26 +02:00
godric3
578800b3e3
map editor: fix prison hero selection
2024-05-11 21:54:24 +02:00
Ivan Savenko
1ef8452370
Merge pull request #3679 from godric3/map-editor-customize-hero-spells
...
map editor: Allow to customize hero spells
2024-03-28 13:17:27 +02:00
godric3
353435047f
use GameConstants::SPELL_LEVELS
2024-03-24 19:02:39 +01:00
godric3
acceca0139
map editor: Allow to customize hero spells
2024-03-24 10:01:20 +01:00
Tomasz Zieliński
43a1e691e4
Trying to satisfy Sonarcloud
2024-03-09 10:17:30 +01:00
godric3
da91e90a7b
map editor: dont suggest neutral owner for hero
2024-02-29 23:08:21 +01:00
godric3
51386db347
map editor: fix owner selection
2024-02-29 22:11:28 +01:00
godric3
ec735aa959
Fix mine resource and productivity on map load, also made them non editable
2024-02-03 11:30:09 +01:00
godric3
dd004f0f6e
Fix inspector using wrong editor for some values
2024-01-21 21:07:06 +01:00
Ivan Savenko
d5c4478816
Remove most of non-const access to VLC entities
2024-01-19 13:54:49 +02:00
Ivan Savenko
10e110320b
Remove std::vector<boo> from Json Serializer, simplify affected code
2023-11-15 15:55:18 +02:00
Ivan Savenko
6b81012f31
Use variant identifier in netpacks where applicable
2023-11-08 14:00:23 +02:00
Ivan Savenko
b42f073f0c
Stabilization
2023-11-01 18:26:57 +02:00
Ivan Savenko
7a09646009
Cleaned up dwelling randomization
2023-11-01 14:43:20 +02:00
Alexander Wilms
a6db82f6f1
mapeditor/inspector/inspector.cpp: Directly assign to the "std::optional", without dereferencing it.
...
Assigning to an optional should directly target the optiona
2023-10-28 10:16:33 +00:00
nordsoft
b6b75beb29
Fixes for map editor
...
1) fix owner serialization for hero placeholder
2) fix roads/rivers layout
3) fix lasso
2023-10-24 23:58:26 +02:00
Ivan Savenko
4f47555977
Split OBJECT bonus source into OBJECT_TYPE and OBJECT_INSTANCE
2023-10-22 16:55:19 +03:00
Ivan Savenko
ac925bb786
Renamed new types for consistency with code style
2023-10-22 16:55:19 +03:00
Ivan Savenko
b394158dc9
Bonus Source ID now uses metaidentifier
2023-10-22 16:55:18 +03:00
Nordsoft91
d03b75696a
Merge pull request #3067 from Nordsoft91/editor-improvements-1.4
...
Add hero placeholder properties
2023-10-19 22:23:58 +02:00
Alexandre Detiste
15e45f966c
typos found by lintian
2023-10-17 22:06:08 +02:00
nordsoft
f6d7755c6a
Add hero placeholder properties
2023-10-16 22:24:12 +02:00
Nordsoft91
02c1425939
Merge pull request #3046 from Nordsoft91/editor-improvements-1.4
...
Add map editor zoom and objects lock functionality
2023-10-16 01:22:18 +02:00
nordsoft
55900ceb66
Add portraits delegate
2023-10-13 20:15:29 +02:00
nordsoft
3199b7261f
Cosmetic fixes for map editor
2023-10-11 23:28:10 +02:00
nordsoft
7b7aaa36b2
fix compiling
2023-10-11 01:44:58 +02:00
nordsoft
5b10b457cf
Fix code review suggestions
2023-10-11 00:47:19 +02:00
nordsoft
5eeda3cd25
Quests mostly work
2023-10-10 23:44:29 +02:00
nordsoft
d2d64dbddd
Bugfixes
2023-10-10 23:44:29 +02:00
nordsoft
bb238f9b72
New quests work
2023-10-10 23:44:29 +02:00
nordsoft
63bdfb8ff6
New quests implemented
2023-10-10 23:44:29 +02:00
nordsoft
3a17eeb330
Fix typos in rewards widget
2023-10-10 23:44:29 +02:00
nordsoft
335585bd11
Remove unused variable
2023-10-09 19:21:27 +02:00
nordsoft
e2b8c2e9f8
PickObject delegate for random dwellings
2023-10-09 01:24:00 +02:00