474 Commits

Author SHA1 Message Date
Nyerguds
f5303aa118 More manual fixes 2024-09-25 20:07:39 +02:00
Nyerguds
652df6cd67 typo fix in manual 2024-09-25 19:12:50 +02:00
Nyerguds
91aebaa36d Small manual fix; The editor has in fact been tested on Sole Survivor. 2024-09-22 17:38:16 +02:00
Nyerguds
aa815d1aad Commit with final release date. v1.6.0.0 2024-09-22 17:00:02 +02:00
Maarten Meuris
76c1c4966a
Merge pull request #9 from Nyerguds/develop
Merge develop changes for 1.6.0.0 release
2024-09-22 16:30:40 +02:00
Nyerguds
7d97953e58 Updated readme and changelog. 2024-09-22 15:49:02 +02:00
Nyerguds
a4679f696c Fixed PageUp/Down handling in OpenFromMixDialog 2024-09-21 12:06:17 +02:00
Nyerguds
30464d0d76 more identify-from-stream 2024-09-19 01:13:10 +02:00
Nyerguds
5b106699af * RA TMP files identified from stream
* Changed the "x" in all dimension reporting to be the specific mathematical symbol.
* Changed the order of detections so 1-frame shp files can no longer be detected as mix files.
2024-09-18 23:45:30 +02:00
Nyerguds
eff017eace C&C1 TMP identified from stream 2024-09-18 21:11:13 +02:00
Nyerguds
17f25cdfca WSA format in mix files is now identified from stream. 2024-09-18 20:12:38 +02:00
Nyerguds
d5e8d43dac Fixed bug where pressing Up or Down on a ListView after programmatic item selection will jump to the top of the list since that's where the real selection 'caret' is. 2024-09-18 17:49:16 +02:00
Nyerguds
7f2609c5ce Some adjustments and a bug fix in the OpenFromMixDialog columns. 2024-09-17 08:32:51 +02:00
Nyerguds
1dc7e659ec Found final unknown RA1 file name inside the mix archives. 2024-09-17 08:04:23 +02:00
Nyerguds
ebb30b4d81 Upgraded ListViewColumnSorter to accept custom comparers, so OpenFromMixDialog can sort raw ids in name column last, like before. 2024-09-16 12:55:13 +02:00
Nyerguds
2de77a5ee8 Added more info columns in the mix open dialog, and added the ability to give detailed feedback when opening an unreadable mix archive. 2024-09-15 17:11:07 +02:00
Nyerguds
5bbfd995f0 Fixed some small bugs in the high quality scaling method, and made it use an 8 pixel border instead of 4. The border fill in byte arrays is super fast anyway, so it shouldn't affect efficiency. 2024-09-11 12:00:32 +02:00
Nyerguds
5de4c56df6 minor cleanup 2024-09-09 13:06:06 +02:00
Nyerguds
51ce451bc9 Since overlay are now technically overlappers, adding them to the buildings list also adds them to the overlappers list, so the outline's overlap detection needs to compensate for that. 2024-09-09 12:39:00 +02:00
Nyerguds
9b45d75328 Changelog update and reordering. Looks like I never mentioned the classic fonts in there. 2024-09-09 12:08:56 +02:00
Nyerguds
256235fc67 Derp, forgot some brackets. 2024-09-09 11:33:19 +02:00
Nyerguds
8b78be7cd2 Selecting a wrong-sized image for "image to map" now gives a warning. 2024-09-09 11:30:30 +02:00
Nyerguds
0c320ee874 Added url encoding to the keys of the file storing the mix files checked for mission content, to avoid the system breaking on special characters such as "="
* The dialog to open the contents of a mix file will now always jump to the first found mission file inside it.
2024-09-09 00:54:57 +02:00
Nyerguds
0c5d614af5 Added OpaqueMask analysis for overlay, and made it so units only get evaluated on the center infantry position. 2024-09-08 19:44:13 +02:00
Nyerguds
a9b0eb7ea9 Overlap detection for drawing outlines on infantry is now handled per infantry sub-position.
* Fixed minor issue in tooltip handling that could give an error when closing the editor.
2024-09-07 16:47:32 +02:00
Nyerguds
5c083870a0 update to MANUAL.md 2024-09-07 13:40:32 +02:00
Nyerguds
48099c36d3 * Added option to encode names in classic text encoding when running in classic mode.
* Removed the resources randomising seed itself being a randomised value.
2024-09-04 18:13:11 +02:00
Nyerguds
f8d5ab6677 Added some comments, improved descriptions for files identified as maps. 2024-08-22 14:15:43 +02:00
Nyerguds
1af306ccf9 Fixed bug where saving a mission opened from workshop "mapdata.pgm" archive would overwrite the pgm as ini instead of opening the "save as" dialog.
Fixed the bug where workshop "mapdata.pgm" archives would not show up in recently used files.
2024-08-20 09:55:28 +02:00
Nyerguds
25311336f9 Cleanup of change log, changed next version to 1.6.0.0 since the addition of mix archive reading is a pretty major feature. 2024-08-17 16:07:25 +02:00
Nyerguds
44a6d868b2 Fixed last remains of the old TypeItem. 2024-08-16 00:04:35 +02:00
Nyerguds
9a54dae5e3 Moved TypeItem to ListItem (done) 2024-08-15 23:53:20 +02:00
Nyerguds
f706801752 Unifying TypeItem and ListItem 2024-08-15 23:47:20 +02:00
Nyerguds
3d51acc52d Fixed error with building tool not showing facing direction names. 2024-08-15 15:57:21 +02:00
Nyerguds
77c487643f Changed remaster Waypoint indicator and edit mode icon from beacon to select cursor.
* Fixed "CalculateOpaqueBounds" method, thereby fixing the fact the Overlay editing mode crate icon was too small.
* Migrated code to fetch either classic or remastered graphics to ITilesetManager.
2024-08-14 12:53:56 +02:00
Nyerguds
c48e045544 Various fixes
* Changed small techno triggers font to 5 pixels high.
* Fixed trigger changes on Terrain objects not immediately refreshing the map indicators.
* Fixed internal issue with the resources of object property popups not getting cleaned up correctly.
* Fixed refresh event handler not getting removed when opening an object's properties popup.
* Fixed an issue in the outline caching of buildings where the damaged state was not taken into account.
* Updated showcase preview pictures.
2024-08-13 15:34:23 +02:00
Nyerguds
2b3e485254 Added two custom-tweaked fonts for classic mode. 2024-08-12 17:40:10 +02:00
Nyerguds
d14a46cb79 Added classic font rendering for techno triggers.
* Fixed overlap detection of walls in both TD and RA; they can only be obstructed by buildings now.
* Fixed bug where editing properties of an object would clear its trigger in the dropdown.
* Replaced usages of "6point.fnt" in RA by "editfnt.fnt", because it is constant, while "6point.fnt" differs in lores.mix and hires.mix.
2024-08-12 16:18:21 +02:00
Nyerguds
2ff36fbb7c Added missing licenses. 2024-08-09 12:45:08 +02:00
Nyerguds
2162061871 Fixed object occupancy indicators for buildings and walls.
* Split romfis definitions of japanese briefing cps pictures off to their own type so they're not indicated as "map file".
* Added debug string representations to various classes.
2024-08-08 15:49:07 +02:00
Nyerguds
5a26883e9a More changelog cleanup 2024-08-03 19:05:59 +02:00
Nyerguds
04b1c692d3 Readme cleanup. 2024-08-03 15:34:42 +02:00
Nyerguds
1146e84f05 Added trigger data tooltips to all trigger dropdowns
* Fixed TriggerSummary function crashing when given trigger was null
* Fixed techno triggers not showing on buildings after they were split off from the Technos list
* Added undetermined state to building capturability indicator.
* Added proper disposing to capturability indicator images.
2024-08-02 21:26:29 +02:00
Nyerguds
1160fc9d63 Added visualiser for capturability, with the ability to read rule tweaks for both RA and (fan-patched) TD. This also keeps the remaster's "cap=win/des=lose" capturability override in mind.
* Fixed bug that made classic smudge previews render as smooth.
2024-07-31 22:33:36 +02:00
Nyerguds
2b0b01319d Reworked flag painting to always use the same function.
Reworked overlap checks to simply use a DrawOrderCache that is filled in when overlapping objects get painted.
Removed obsolete code to not use the improved Y-rendering, since it became incompatible with the DrawOrderCache system.
Removed linking of Buildings to Techno list, so Units, Infantry and Terrain techno types can now overlap buildings and walls. I might make this a setting, since it is much like blocking bibs.
2024-07-29 18:38:08 +02:00
Nyerguds
017d2d5f28 manual for the current dev version. 2024-07-29 13:06:16 +02:00
Nyerguds
d918d4540c Reverted manual to v1.5.0.3 one, so the info on the main page is correct. 2024-07-29 13:04:19 +02:00
Nyerguds
c231ea89f1 Applied function rename to viewtool. 2024-07-29 10:10:07 +02:00
Nyerguds
9dc72e5932 Cleaned up "Tint" code and consistently replaced it by "IsPreview" property, so the renderer handles actual colours and alpha.
* Removed old unused CONC tiling code from the source.
* Added logging to ROMFIS.
* Added alpha factors into the config
* Renamed "Map terrain types" menu to "Map land types".
* Added a reference in Smudge types to have an attached Building object, so bibs can actually be linked to their owner.
* Unified all flag rendering into one function, which correctly shows the preview flag in its intended position in case of overlaps.
* Added an option to all rendering functions to ignore alpha modifiers, so outline generation no longer needs to make specific no-transparency clone objects.
2024-07-29 10:08:56 +02:00
Nyerguds
c3f3c97916 Some fixes in mix content ini files 2024-07-25 11:05:05 +02:00