Commit graph

19 commits

Author SHA1 Message Date
Zero Fanker
3a0c12e52a Fix: map defined building causes crash . 2025-03-13 21:36:55 -04:00
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
Zero Fanker
718423eef0 refined 'AddInfantry' function, simplified for most called cases . 2024-12-12 01:04:43 -05:00
Zero Fanker
120af09fc2 reduce compile warning . 2024-11-23 21:47:49 -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
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
462cd5bf77 fixed buildings will not be drawn when crossing map edges .
close #90
2024-09-30 19:48:57 -04:00
Zero Fanker
6e0eb71f29 split out some big functions from MapData . 2024-06-18 00:35:49 -04:00
Zero Fanker
f5817e91ff #25, fixed waypoint related issue . 2024-06-17 13:34:22 -04:00
Zero Fanker
00753d2ff2 restrict "std" namespace using . 2024-04-30 22:30:19 -04:00
Zero Fanker
1de6ad56c2 code reformatted . 2024-04-16 20:51:17 -04:00
Zero Fanker
a4e03c3f6e definition optimized . 2024-04-10 21:34:55 -04:00
Zero Fanker
b7e34326a0 ++ 2024-04-07 11:56:03 -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