Zero Fanker
5bf28965e8
corrected coordinates display of status bar's
2025-01-06 23:13:39 -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
ac22ab9aab
fix a bug of treeview control that it'll select first top visible item unintentionally ( #131 )
...
* deselect from treeview control would cause 'selected owner house' changed to the top one by accident
* now deselection will reset selection to parent node
2024-12-30 20:17:23 -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
01115bf2cb
fix: typo, may affect tube drawing .
2024-12-17 23:20:40 -05:00
handama
132a859d15
make overlay undo based on mouse down and up ( #126 )
2024-12-16 22:16:12 -05:00
Zero Fanker
70d1cd038b
all declarations using ddraw7 instead of ddraw4 . ( #127 )
2024-12-16 21:28:01 -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
602550eb6a
fixed infantry data duplication after property update
2024-12-10 19:51:51 -05:00
Zero Fanker
4db4af82a7
Fix: infantry drag cause data duplication .
2024-11-30 19:26:58 -05:00
Zero Fanker
1239ab0dad
fixed last fix, used wrong function .
2024-11-28 21:19:25 -05:00
Zero Fanker
4fae8378db
focus lost fixing, also see 98e8b7c
.
2024-11-27 22:15:40 -05:00
Zero Fanker
1583836e32
attempt to fix potential memory leak .
2024-11-25 19:43:02 -05:00
handama
82715d1d0b
fix: CViewObjects bug ( #120 )
...
fix bug (or feature) that left bar return to top when selected item is cancelled (press RB)
2024-11-24 21:24:28 -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
8ddde4466d
fixed infantry subposition count error, and corrected loopup table orders. ( #108 )
2024-11-04 21:59:56 -05:00
Zero Fanker
98e8b7c562
Fix: DSurface lost ( #109 )
...
Switching screen mode (from or to full screen) with FA2 open and loaded with map, when you get back, the program haulted and killed immediately. This PR fix the device lost issue, and get the right surface .
2024-11-03 21:46:04 -05:00
Zero Fanker
55e20b30ae
Bug fix: FootClass units cannot adapt to Image= images correctly .
2024-11-01 19:16:43 -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
462cd5bf77
fixed buildings will not be drawn when crossing map edges .
...
close #90
2024-09-30 19:48:57 -04:00
Zero Fanker
5a1013b81e
format adjustment .
2024-06-23 11:18:19 -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
29caa6b9d8
#25 , fixed waypoint sequence issue .
2024-06-17 01:10:31 -04:00
Zero Fanker
6f53217353
Fix/out of boundary ( #26 )
2024-06-12 09:51:41 +08:00
Zero Fanker
dad9a9d701
#21 , added Debug.RenderPlainHouseColor control so remap color will be highlighted as older version .
2024-06-01 12:05:34 -04:00
Zero Fanker
422019253d
fixed base node issue that rendering without remap .
2024-05-31 15:31:59 -04:00
Zero Fanker
e3fbcdc28a
fixed aircraft image management strategy .
2024-05-28 21:18:31 -04:00
Zero Fanker
ffbf9228c6
some format adjustment .
2024-05-28 20:44:08 -04:00
Zero Fanker
931dd4f2eb
fixed building upgrade draw position issue .
2024-05-28 00:44:55 -04:00
Zero Fanker
bdb9c28fe0
resolved palette house color issue .
2024-05-28 00:15:31 -04:00
Zero Fanker
79856fabd8
some format adjustment .
2024-05-27 23:07:15 -04:00
Zero Fanker
eada71ea2a
fixed some image loading logic error .
2024-05-27 23:07:06 -04:00
Zero Fanker
f1b969219a
Format adjustment .
2024-05-25 09:40:12 -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
00753d2ff2
restrict "std" namespace using .
2024-04-30 22:30:19 -04:00
Zero Fanker
d45137f942
fixed house color issue caused by refactor .
2024-04-16 21:39:50 -04:00
Zero Fanker
1de6ad56c2
code reformatted .
2024-04-16 20:51:17 -04:00
Zero Fanker
76d336504f
fixed a refine check bug .
2024-04-16 20:00:37 -04:00
Zero Fanker
3e334ca731
support x64
2024-04-11 00:22:25 -04:00
Zero Fanker
01ec96e810
++
2024-04-07 00:46:30 -04:00
Zero Fanker
a2117f8c25
roughly expanded overlay pic buffer to 0x1000, and added some safety guardian to avoid crash .
2024-03-26 23:21:54 -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