Commit Graph
43 Commits
Author SHA1 Message Date
godric3 78aa376d50 introduce getModScope into AObjectTypeHandler 2024-08-12 13:58:03 +02:00
godric3 0ef42a1d3d introduce modScope into ObstacleInfo 2024-08-12 13:57:27 +02:00
godric3 07a1e9b768 fix tests 2024-08-10 22:39:35 +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
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
godric3 ddfc212a03 fix CGObjectInstance subTypeName to include mod id 2024-06-18 21:42:22 +02:00
godric3 c69150f984 fix victory/loss conditions widget 2024-05-26 22:50:26 +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
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
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 b2cd92d937 Fix initializing map editor mod settings with more than one level of submods 2024-02-03 10:36:47 +01:00
godric3 ccc8d28043 Fix inspector using wrong editor for some values 2024-01-23 13:45:47 +02:00
godric3 dd004f0f6e Fix inspector using wrong editor for some values 2024-01-21 21:07:06 +01:00
godric3 78b73961d1 Fix saving map settings (allowed abilities, spells, arts and heroes) 2024-01-09 21:52:11 +01:00
godric3 8650a8eea8 allow json schema references to use relative file path 2018-10-30 22:30:56 +01:00
godric3 1586868a5d make source id optional in functions converting deprecated specialty bonuses 2018-10-30 20:58:22 +01:00
godric3 f9ac46576b Add description for bonuses from hero specialty 2018-10-29 21:33:13 +01:00
godric3 c8ba3de821 Change skill bonuses description to use name instead of identifier 2018-10-29 20:53:13 +01:00
godric3 7ded9dbda8 Fix crash when generating random map with random number of players 2018-10-27 18:18:08 +02:00
godric3 ad20528a7b fix osx build 2017-12-27 16:11:42 +03:00
godric3 e7ad517bb5 fix mxe build 2017-12-26 17:21:23 +03:00
godric3 76eed8682c Allow mods to add music played during battles and ai turn 2017-11-11 21:16:11 +01:00
godric3 f03a0b1151 fix #2731, now no morale, and no luck texts show properly 2017-10-05 17:13:49 +02:00
godric3 e3f0126e41 Removed unnecessary code, fix #2737
bonus value is added to desciption inside Bonus
2017-10-05 16:50:39 +02:00