Commit graph

42 commits

Author SHA1 Message Date
Zero Fanker
dae7796e0b Bug fix: program crashes if SHP unit don't have enough frame for turret drawing. Now turret frame will be skipped in such case. 2025-03-12 19:29:46 -04:00
Zero Fanker
70d1cd038b
all declarations using ddraw7 instead of ddraw4 . (#127) 2024-12-16 21:28:01 -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
1583836e32 attempt to fix potential memory leak . 2024-11-25 19:43:02 -05:00
Zero Fanker
16db1564c3 some code format adjustment. 2024-11-25 18:48:15 -05:00
Zero Fanker
47a770cdcb make codes more readable . 2024-11-24 21:22:14 -05:00
Zero Fanker
ab27f7ffd5 removed test code . 2024-11-19 23:06:52 -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
102f919e96 fixed potential crash when reloading images (safe memory release, avoid double free) . 2024-11-02 22:07:55 -04:00
Zero Fanker
1672fd8901 a potential double free fix . 2024-10-20 16:14:56 -04:00
Zero Fanker
58b0de0907 implemented real CIniFileSection::Insert function, and distinguished with Append . 2024-06-17 01:10:26 -04:00
Zero Fanker
759a9f9271 guardian check when lose window focus . 2024-06-07 21:18:08 -04:00
Zero Fanker
47bc3f1872 fixed memory query function in loading methods for x64 . 2024-06-05 00:14:17 -04:00
Zero Fanker
767264156f progress display simplified and boosted loading speed . 2024-06-05 00:14:13 -04:00
Zero Fanker
654e68fdbc fixed #18, an animation start frame number is bigger than existing file frame count, now guarded . 2024-05-31 16:01:27 -04:00
Zero Fanker
6d7c240f13 resolved custom palette remap issue . 2024-05-29 00:43:35 -04:00
Zero Fanker
9311007a17 narrowed local variable scope . reduced some lint warning . 2024-05-29 00:36:53 -04:00
Zero Fanker
54794f7a11 fixed powerplant (maybe other upgrades as well) image display not properly in some special theaters, e.g. desert . 2024-05-29 00:34:10 -04:00
Zero Fanker
450fe8fdae silence lint warning . 2024-05-28 00:15:35 -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
38ddc52d28 Introduced voxel render lib written by Thomas Sneddon . 2024-05-25 20:41:07 -04:00
Zero Fanker
5648034cc5 attempt to make Voxel render work . 2024-05-25 09:40:16 -04:00
Zero Fanker
47a4dde7aa investigating voxel issue . 2024-05-25 09:40:15 -04:00
Zero Fanker
6627e9563c Silence some compile warning . 2024-05-25 09:40:15 -04:00
Zero Fanker
4171effebf fixed SHP image blending overlapping issue . 2024-05-25 09:40:14 -04:00
Zero Fanker
c94515c686 renamed inner variable of SHP image blend queue 2024-05-25 09:40:14 -04:00
Zero Fanker
7962824be7 Bug fix of image background color issue . 2024-05-25 09:40:13 -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
981059c2b4 split out palette management, preparing for custom palette support . 2024-05-25 09:40:10 -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
98783a663d fixed an issue that caused by Ini refactor when loading voxel turret . 2024-05-25 09:36:30 -04:00
Zero Fanker
f0a578ee9e fixed memory query issue for x64 system . 2024-05-24 20:21:03 -04:00
Zero Fanker
00753d2ff2 restrict "std" namespace using . 2024-04-30 22:30:19 -04:00
Zero Fanker
574a67e7c4 BibShape will always be tried drawn, because buildings like Service Depot do not have "Bib=yes" . 2024-04-16 23:31:35 -04:00
Zero Fanker
52151f6ce5 fixed terrain list item skipped issue, caused by refine . 2024-04-16 22:38:19 -04:00
Zero Fanker
9e87d7f98e fixed another logic bug caused by refactor . 2024-04-16 21:14:35 -04:00
Zero Fanker
1de6ad56c2 code reformatted . 2024-04-16 20:51:17 -04:00
Zero Fanker
5bbf2d48d7 compile fix . 2024-04-07 00:55:01 -04:00
Zero Fanker
ca20863dc1 completed loading adaption . 2024-04-03 23:03:05 -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