Commit graph

32 commits

Author SHA1 Message Date
Zero Fanker
c5751096ea Now building in treectrl list will display ID as well . 2025-01-28 00:25:13 -05:00
Zero Fanker
a9c9a5287b
Fix: #116 field data out of range issue (#128)
* fix: #116, using std::vector instead of bare array .
* added guardian checks .
* now unwanted cells to the edges will no longer be affected
---------

Co-authored-by: handama <55939089+handama@users.noreply.github.com>
2024-12-30 20:21:02 -05:00
handama
2688690b78
rewrite CreateShore(), resolved shore auto connection issues (#132)
---------

Co-authored-by: Zero Fanker <zcyfksn@vip.qq.com>
2024-12-30 20:04:35 -05:00
Zero Fanker
6b62120f74
Refactor: parse techno data (#129)
* refined common data of techno types among map objects, making the handling consistent .
* status bar enhancement .
* simplified 'GetStdxxxData' .
2024-12-30 20:03:38 -05:00
Zero Fanker
a91ff89091 Fix: now building node under house type is corrected, related function refactored . 2024-12-16 00:28:24 -05:00
handama
51ec33af31
MiniMap dialog works as a child window now (#125) 2024-12-13 15:34:38 -05:00
Zero Fanker
473eef415d Fix: infantry duplication data issue . 2024-12-12 01:04:46 -05:00
Zero Fanker
718423eef0 refined 'AddInfantry' function, simplified for most called cases . 2024-12-12 01:04:43 -05:00
Zero Fanker
93e956e7ac
Enhance:ini registry sequence (#121)
* '+=' supported .
* introduced registry list value deduplication .
* TechnoType listing now parse data both from ini and map .
* added UT case .
2024-12-01 14:09:30 -05:00
Zero Fanker
7993773ba2 disabled unnecessary map data buffer printing . 2024-11-25 18:48:18 -05:00
Zero Fanker
47a770cdcb make codes more readable . 2024-11-24 21:22:14 -05:00
Zero Fanker
be0ca9c1af
Fix: change object owner (#118)
* split out overlay handling function, and change digit to meaningful enum values .
* GetStructureData returns ID and readd using the same .
* resolved data insert sequence issue .
2024-11-22 19:24:23 -05:00
Zero Fanker
102f919e96 fixed potential crash when reloading images (safe memory release, avoid double free) . 2024-11-02 22:07:55 -04:00
Zero Fanker
9b24232f2e
Fix/overlay refactor mismatch (#101)
* fixed overlay encoding result differs from original .
* some type adjustments to silence compile warning, UT case added .
* escape Chinese comments .
* added compile dependency of UT on MissionPackLib .
2024-11-02 18:11:58 -04:00
Zero Fanker
2a9edd868c fixed sometimes basenode cannot be drawn correctly. (e.g. allied infantry barracks) . 2024-10-16 00:39:34 -04:00
Zero Fanker
c22a01e56d more fixing & organizing for #98 . 2024-10-01 20:05:58 -04:00
Zero Fanker
6a6832f8c3 fixed default facing values .
close #98
2024-09-30 19:53:43 -04:00
Zero Fanker
f4617c29dd #52, fixed placing existing waypoint issue again . 2024-06-23 11:40:10 -04:00
Zero Fanker
0e7315b335 #14, fixed wrongly deleted value parse, caused logic error . 2024-06-18 00:35:54 -04:00
Zero Fanker
f5817e91ff #25, fixed waypoint related issue . 2024-06-17 13:34:22 -04:00
Zero Fanker
29caa6b9d8 #25, fixed waypoint sequence issue . 2024-06-17 01:10:31 -04:00
Zero Fanker
955746ef93 removed debug trap code . 2024-05-29 00:34:22 -04:00
Zero Fanker
800cd951b6 generally transplanted FA2sp image handling logic, but still WIP
TODO: Fix palette background issue. Fix voxel handling .
2024-05-25 09:40:11 -04:00
Zero Fanker
c8f7c99c80 made some progress, but SHP image position is not always correct . 2024-05-25 09:40:09 -04:00
Zero Fanker
8684cbdae5 removed stupid Ini custom sorting rule . 2024-04-16 23:06:36 -04:00
Zero Fanker
1de6ad56c2 code reformatted . 2024-04-16 20:51:17 -04:00
Zero Fanker
982a67a688 fixed foundation ini parsing issue . 2024-04-14 23:40:25 -04:00
Zero Fanker
9235ac60c1 more adaption for x64 2024-04-11 20:36:16 -04:00
Zero Fanker
a4e03c3f6e definition optimized . 2024-04-10 21:34:55 -04:00
Zero Fanker
2b9dc4bd0d fixed some compile issue and simplified retrieving 'Image' ID from ini . 2024-04-07 11:00:04 -04:00
Zero Fanker
34c78179f1 MapData adapted . 2024-04-01 22:24:20 -04:00
brbarnesEA
a547a31a37 TS_RA2_Mission_Editor_sourcecode_23.02.2023_1
TS_RA2_Mission_Editor_sourcecode_23.02.2023_1
2024-03-05 11:56:45 -08:00