Ivan Savenko
a819c3fc29
Merge pull request #4482 from MichalZr6/mapeditor_fixes
...
Mapeditor refactor, fixes and additional validation checks
2024-08-24 16:18:53 +03:00
godric3
71ec25a4a5
make sonar happier
2024-08-24 13:34:22 +02:00
MichalZr6
0be5a1a2ad
Code review followup with additional refactor
...
Changes following review
2024-08-23 10:43:48 +02:00
MichalZr6
5684db1953
Addressed review feedback
...
Additional changes after incorporating PlayerColor in `Validator::Validate()`
2024-08-23 09:43:40 +02:00
MichalZr6
a82ce2f96a
Fix negative QColor values
2024-08-23 09:43:40 +02:00
godric3
cda66c4196
attempt to fix hero placeholder while reading h3m
2024-08-22 17:09:23 +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
SoundSSGood
58bb2b58e3
IMarket suggestions
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-08-20 18:49:48 +03:00
kdmcser
a0023e8cdd
update Chinese translation
2024-08-19 12:56:45 +08: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
Ivan Savenko
38311244a4
Merge pull request #4402 from Laserlicht/8th_creature
...
support for 8th creature (Factory)
2024-08-14 17:04:32 +03:00
Ivan Savenko
170330109f
Merge pull request #4415 from godric3/map-editor-validate-spells
...
map editor: check hero and town spells during mod assessment
2024-08-12 17:20:01 +03:00
godric3
78aa376d50
introduce getModScope
into AObjectTypeHandler
2024-08-12 13:58:03 +02:00
godric3
c34956e912
introduce getModScope
method toEntity
class and subclasses
2024-08-10 16:08:04 +02:00
godric3
18e96171de
map editor: check hero and town spells during mod assessment
2024-08-07 21:29:21 +02:00
Laserlicht
1a06a2cc44
basic 8th creature support
2024-08-05 21:15:47 +02:00
godric3
e782d3984f
fix some sonarcloud issues
2024-08-01 23:31:06 +02:00
godric3
27f83449f2
PR review fixes:
...
- change return of `getBuildingVariantsFromModel` to `QVariantList`
- change while to do-while where it makes sense
- moved constants outside of methods
- made building and resources name non editable
2024-08-01 22:36:01 +02:00
godric3
3fb3fef16b
use range constructor or QVariantList::fromStdList based on Qt version
2024-07-29 19:03:17 +02:00
godric3
2b9461ed6e
use custom roles instead of Qt::UserRole
2024-07-28 22:58:06 +02:00
godric3
d540ee1887
extract magic numbers to constants
2024-07-28 22:57:44 +02:00
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
Ivan Savenko
dc27e8eccb
Merge pull request #4097 from IvanSavenko/render_refactor_2
...
[1.6] Render refactor
2024-07-19 16:07:54 +03:00
Ivan Savenko
e2af6c0f92
Merge pull request #4295 from Alexander-Wilms/translation-error-messages
...
Less noise when switching languages in launcher
2024-07-19 15:44:54 +03:00
Ivan Savenko
fd726523a2
Remove creations of custom animations in runtime
2024-07-19 10:08:50 +00:00
Ivan Savenko
2020d96070
Merge pull request #4071 from IvanSavenko/fix_rng_syncronization
...
[1.6] Fix potential desync if client uses different stdlib with different random number generators
2024-07-19 13:08:09 +03: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
Ivan Savenko
d02251f6a8
Merge pull request #4263 from Alexander-Wilms/json-error
...
JsonParser::parse(): Print file name if there were errors while parsing
2024-07-18 21:28:44 +03:00
Ivan Savenko
662254155a
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-07-17 13:57:36 +00:00
Alexander Wilms
434371195d
JsonNode constructors: Take fileName as argument
...
* Don't print JSON in JsonParser::parse() in case of errors
2024-07-17 13:50:59 +02:00
Ivan Savenko
63bcf7d83c
Replaced most of usages of CRandomGenerator with vstd::RNG in library
2024-07-16 13:13:07 +00:00
Ivan Savenko
3134d8383c
Merge pull request #4207 from Laserlicht/map_format_additional
...
[1.6] Map format additional infos
2024-07-16 12:15:58 +03:00
altiereslima
39516b275e
Update Portuguese Translation
2024-07-11 19:11:54 -03:00
Ivan Savenko
6b8f94e6e7
Merge remote-tracking branch 'vcmi/master' into develop
2024-07-11 17:43:44 +00:00
Dydzio
0ce96269f2
Update polish translation for launcher and map editor
2024-07-09 21:53:55 +02:00
Ivan Savenko
a98787be43
Regenerated translations
2024-07-09 14:03:50 +00:00
Ivan Savenko
b1a902809e
Merge pull request #4232 from cewbdex/cz-work
...
Translate cz
2024-07-09 17:02:05 +03:00
Ivan Savenko
af54342792
Merge pull request #4194 from kdmcser/beta
...
update Chinese translation
2024-07-09 17:01:53 +03:00
Kryštof Černý
e5e5ccb61a
mapeditor cz translation work
2024-07-06 16:06:20 +02:00
Gigas002
b328a423a4
Update mapeditor/CMakeLists.txt
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-07-03 14:46:15 +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
018127b236
set values for map editor and rmg
2024-06-29 14:01:25 +02:00
Laserlicht
02bd52041b
extend map format
2024-06-29 13:13:59 +02:00
gigas002
71025f1aad
Remove renamed icons
2024-06-29 00:55:25 +09:00
gigas002
6dcb41ca98
Embed mapeditor resources
2024-06-29 00:53:01 +09:00
Alexander Wilms
31e1d39f92
Fix issues introduced by fixing typos
2024-06-27 08:38:04 +00:00
kdmcser
7cb6194462
update Chinese translation
2024-06-26 22:26:37 +08: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
3bea383b59
Merge branch 'vcmi/beta' into 'vcmi/develop'
2024-06-21 12:58:36 +00:00
altiereslima
edf10d8174
Update Portuguese Translation ( #4121 )
...
* Update Portuguese Translation
2024-06-19 20:00:25 +00:00
altiereslima
c8aeee764b
Update Portuguese Translation ( #4121 )
...
* Update Portuguese Translation
2024-06-19 21:28:46 +03:00
Andrey Filipenkov
b5cc3e8dc6
[editor] fix crash on quit with an opened map
2024-06-13 21:35:30 +03:00
Andrey Filipenkov
9438c5f9f7
code style
2024-06-13 21:35:30 +03:00
Ivan Savenko
3bb7e0fd84
Merge pull request #4091 from Gigas002/mapeditor-embed-resources
...
Embed translations and icons for mapeditor
2024-06-11 22:23:47 +03:00
Ivan Savenko
b4c6906471
Merge branch 'vcmi/beta' into 'vcmi/develop'
2024-06-11 19:22:23 +00:00
Laserlicht
a7d5f97a80
update german
2024-06-10 21:54:37 +02:00
Ivan Savenko
67a92cf332
Regenerated Qt translations for map editor and launcher
2024-06-10 15:24:53 +00:00
Ivan Savenko
b76c58c0b0
Changed settings location for Qt apps to be in line with main game
2024-06-08 15:31:40 +00:00
gigas002
410ef23a49
Make translation directory before building the mapeditor
2024-06-06 20:33:41 +09:00
gigas002
c8aa8bb18d
Fix qt5 mapeditor build
2024-06-06 07:24:49 +00:00
gigas002
2f19133638
Icons renaming refactoring
2024-06-06 02:04:36 +00:00
gigas002
958a2ef835
Fix missing translations
2024-06-05 21:46:42 +09:00
gigas002
de3dc929ac
Add missing icons to mapeditor
2024-06-05 08:56:35 +00:00
gigas002
1bc1755cf6
Install icons on linux in loop
2024-06-05 08:19:12 +00:00
gigas002
d8c4d3654f
Embed translations and icons for mapeditor
2024-06-05 04:52:17 +00:00
Ivan Savenko
b8beb4fb13
Fixes for various minor issues detected by Sonar Cloud
2024-06-01 11:48:30 +00:00
Ivan Savenko
df83fa33a1
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-05-31 09:34:21 +00:00
Ivan Savenko
5d6470e527
Merge pull request #4025 from IvanSavenko/shared_ptr_lib
...
[1.6] Use shared_ptr for library entities
2024-05-30 19:14:06 +03:00
mggk
167bce979e
feat(translations): update french translation for map editor
2024-05-30 08:45:08 +00:00
godric3
c69150f984
fix victory/loss conditions widget
2024-05-26 22:50:26 +02:00
mggk
c26aae0030
feat(translations): update french translation for map editor
2024-05-24 23:00:51 +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
0c5fb8125f
#2590 enable high dpi
2024-05-16 00:32:15 +02:00
Laserlicht
9628001f57
#3864 possibility to search in army setting
2024-05-16 00:24:58 +02:00
Laserlicht
284cc3460d
mapeditor: add extension and open vcmi folder
2024-05-16 00:01:02 +02:00
Ivan Savenko
2f70c530fa
Merge pull request #3969 from altiereslima/beta
...
Update portuguese.json
2024-05-15 13:24:23 +03:00
altiereslima
f872406a08
Update portuguese.ts
2024-05-14 18:34:06 -03: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
altiereslima
1486b0f9e6
Update Portuguese translation
2024-05-09 07:31:58 +00:00
Dydzio
9ba4667821
Update polish translations
2024-05-09 00:01:29 +02:00
Ivan Savenko
3ab8b609ed
Merge pull request #3884 from Laserlicht/german_update
...
update german translation
2024-05-06 19:15:06 +03:00
Laserlicht
090715f83c
update german translation
2024-05-03 21:27:34 +02:00
altiereslima
1399d6ae7e
Update portuguese.ts
2024-05-03 15:39:05 -03:00
altiereslima
335dabedff
Update portuguese.ts
2024-05-03 15:27:41 -03:00
Ivan Savenko
3e23a55c66
Fix build
2024-04-23 17:15:59 +03:00