godric3
9e9f118b09
another attempt of using CGHeroInstance::NO_PATROLLING
in map editor
2024-10-29 21:41:42 +01:00
godric3
37f7ce0ad6
improve translation for patrol radius
2024-10-29 21:22:10 +01:00
godric3
ed087b7a5b
Use max ui32 value instead of -1 for NO_PATROLLING
2024-10-29 18:34:02 +01:00
godric3
da5bae301a
try to fix build, use plain -1
in place of CGHeroInstance::NO_PATROLLING
2024-10-28 22:46:48 +01:00
godric3
911961da46
try to fix build
2024-10-28 19:59:03 +01:00
godric3
a9e04428c8
Possibility to set hero patrol radius in map editor
2024-10-28 18:30:30 +01:00
Ivan Savenko
c2e49bd10a
Merge pull request #4821 from IvanSavenko/flaggable
...
Basic support for configurable flaggable objects
2024-10-27 21:19:22 +02:00
Ivan Savenko
2fa0021c28
Merge pull request #4825 from godric3/map-editor-fix-copying-town
...
Map editor: fix duplicated spells in copy-pasted town
2024-10-27 21:16:23 +02:00
godric3
7e66bd4a90
Don't use separate versioning for map editor
2024-10-26 13:48:12 +02:00
godric3
152962354d
Don't paste objects that cannot be placed, show warning only if error occurred
2024-10-26 12:20:13 +02:00
godric3
1246333350
Initialize town's possibleSpells
only if hasn't been initialized already(for example when copying existing town)
2024-10-26 12:15:40 +02:00
Ivan Savenko
8a5ac73438
Basic support for configurable flaggable objects
...
Converted CGLighthouse class into FlaggableMapObject
Bonus provided by Lighthouse/Flaggable is now defined in config and is
accessible to mods.
2024-10-25 16:48:10 +00:00
George King
10332547ac
Updated Czech translation
2024-10-17 09:42:46 +02: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
Ivan Savenko
604e3b5c67
Merge pull request #4763 from IvanSavenko/herohandler_split
...
Split CHeroHandler.cpp/.h into 1 file per class
2024-10-14 19:05:48 +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
31095248ab
Removed typeName and subtypeName properties from CGObjectInstance
2024-10-13 13:05:50 +00:00
Ivan Savenko
4bdc503186
Workaround for prison hero reset on loading map in editor
2024-10-13 08:28:37 +00:00
Ivan Savenko
e221cdccab
Fix initialization of hero type in map editor
2024-10-11 15:01:55 +00:00
Ivan Savenko
3dd4fa2528
Reduce usage of pointers to VLC entities
...
Final goal (of multiple PR's) is to remove all remaining pointers from
serializeable game state, and replace them with either identifiers or
with shared/unique pointers.
CGTownInstance::town and CGHeroInstance::type members have been removed.
Now this data is computed dynamically using subID member.
VLC entity of a town can now be accessed via following methods:
- getFactionID() returns ID of a faction
- getFaction() returns pointer to a faction
- getTown() returns pointer to a town
VLC entity of a hero can now be accessed via following methods:
- getHeroTypeID() returns ID of a hero
- getHeroClassID() returns ID of a hero class
- getHeroType() returns pointer to a hero
- getHeroClass() returns pointer to a hero class
2024-10-10 12:28:08 +00:00
Ivan Savenko
5aebf287b9
Merge pull request #4735 from IvanSavenko/private_pos
...
Reduce usages of ambiguos CGObjectInstance::pos
2024-10-10 15:00:50 +03:00
Ivan Savenko
51481210c4
Merge pull request #4744 from wb180/vcmiqt_lib
...
Fix static linking
2024-10-10 14:56:40 +03:00
Ivan Savenko
a8f8c3f4b1
Replaced most of accesses to CGObjectInstance::pos with anchorPoint()
2024-10-09 15:43:46 +00:00
Evgeniy Meshcheryakov
7847fc4bba
Fix static linking
2024-10-09 11:27:43 +03:00
Ivan Savenko
13712a5da9
Merge pull request #4717 from wb180/mapeditor_fix
...
Map editor: Transparency fix
2024-10-07 17:38:30 +03:00
Ivan Savenko
1687606a4b
Merge pull request #4726 from wb180/vcmiqt_lib
...
Separate vcmiqt static lib
2024-10-07 17:37:51 +03:00
Evgeniy Meshcheryakov
40576e9bb9
Separate vcmiqt lib
2024-10-07 08:47:00 +03:00
Evgeniy Meshcheryakov
d9d7d0ea0d
Map editor: Transparency fix
2024-10-03 11:55:58 +03:00
altiereslima
be20469dc1
Update Portuguese Translation
2024-09-30 22:35:19 -03:00
kdmcser
ceb2426c30
do lupdate and update Chinese tranlation
2024-09-24 22:08:31 +08:00
godric3
1b4a8db4c5
Fix build
2024-09-22 00:11:21 +02:00
godric3
f51ef2de4c
remove unused item data for artifact/spell/skill items and fix code style
2024-09-21 22:35:04 +02:00
godric3
e61ef459c6
Add all artifacts/spells/skills to quest widget lists and disable banned
...
Previous code added at most as many items as were in allowed lists, which caused to skip last items if some were banned.
2024-09-21 21:54:29 +02:00
Ivan Savenko
7669f6524b
Merge pull request #4606 from wb180/mapeditor_fix
...
Added ability to choose road types in editor RMG options
2024-09-18 15:07:55 +03:00
Evgeniy Meshcheryakov
70ef1d76fd
Update editor/jsonutils with launcher/jsonutils
2024-09-18 14:52:37 +03:00
Ivan Savenko
72819d5fe3
Merge pull request #4608 from godric3/map-editor-fix-event-regressions
...
Map editor fix event regressions
2024-09-18 14:15:58 +03: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
godric3
8917c753bd
adjust town event handling after introducing 8th creature in town
2024-09-16 20:16:36 +02:00
Evgeniy Meshcheryakov
28fea2e552
Map editor: Add road types to RMG options
2024-09-16 17:35:42 +03:00
Evgeniy Meshcheryakov
152f1e0a65
Add editor forms to target_sources, so they become visible in Qt Creator's project tree
2024-09-16 13:31:17 +03:00
altiereslima
34e1a6c198
Map Editor
2024-09-15 20:11:31 -03:00
Evgeniy Meshcheryakov
ecf83757ff
Placeholders fix in map validation
2024-09-13 15:02:09 +03:00
Ivan Savenko
d98c6f2e28
Merge pull request #4572 from Fabrice-TIERCELIN/french_update
...
Update the French translation
2024-09-12 14:16:27 +03:00
Fabrice TIERCELIN
1fdbaf943f
Update the French translation
2024-09-10 08:55:10 +02:00
Ivan Savenko
a58e209cbd
Merge pull request #4490 from godric3/fix-campaign-hero-placeholder
...
Fix campaign hero placeholder
2024-09-09 23:39:20 +03:00
Ivan Savenko
fc89a564fd
Merge pull request #4525 from altiereslima/develop
...
Update Portuguese Translation
2024-09-05 17:15:23 +03:00
Ivan Savenko
042d3c0265
Merge branch 'develop' into develop
2024-09-05 15:08:21 +03:00
SoundSSGood
30fa2846aa
ArtifactUtils::createArtifact ArtifactUtils::createNewArtifactInstance unified
2024-09-04 21:25:55 +03:00