1
0
mirror of synced 2024-11-14 18:07:36 +01:00
Commit Graph

283 Commits

Author SHA1 Message Date
Jennifer Taylor
1c54a329fe Big improvement to IIDX Music DB handling, getting rid of all but one magic constant in the code. 2023-07-29 18:48:52 +00:00
Jennifer Taylor
2e3e6bfbd3 Slight change in constants for clarity around IIDX music DB parser. 2023-07-29 16:29:43 +00:00
Jennifer Taylor
b9ca730dca Fix possible crash in older Fantasia data, formatting fixes. 2023-07-29 16:11:42 +00:00
Jennifer Taylor
097078288d Ignore weird MGA bit preventing AFP parsing. 2023-03-19 20:46:28 +00:00
Jennifer Taylor
284153ef2e Fix type errors with newest mypy. 2023-02-17 03:40:07 +00:00
Jennifer Taylor
eaf07ddf6a Latest black changed some formatting, re-run it. 2023-02-17 03:40:07 +00:00
Jennifer Taylor
df08de1339 Fix transform update tracking for affine transforms, fix special case where an animation wants to specify a transform but also wants to use the identity matrix. Fixes an issue with Cinder BG. 2022-11-21 02:04:55 +00:00
Jennifer Taylor
d9f9c54820 Fix HSL shift effect as applied to sprites with sub-sprites. 2022-11-20 23:26:27 +00:00
Jennifer Taylor
655efe7d4c Add a bit more debugging to help trace back objects to their sources. 2022-11-20 23:01:26 +00:00
Jennifer Taylor
3b10423955 Add hue/saturation/lightness shift support to AFP renderer to fix neo generator seven boss animation rendering. 2022-10-17 02:35:15 +00:00
Jennifer Taylor
25e162042a Format code with black, include wrapper script to handle that, update linter checks to accomodate, fix a few miscelaneous type errors. 2022-10-15 18:56:30 +00:00
Jennifer Taylor
d39a660eab Implement ability to override the canvas size, to render animations that overflow the canvas. 2022-07-26 23:25:35 +00:00
Jennifer Taylor
9dd3772380 Implement Pop'n-style _visible attribute to fix some artifacting on some renders. 2022-07-26 22:35:46 +00:00
Jennifer Taylor
5aee4f802e Fix some Pop'n animations that should loop failing to loop properly. 2022-07-26 22:27:27 +00:00
Jennifer Taylor
495466f4e4 Fix weird filename edgecase with some ifs file. 2021-10-24 17:12:06 +00:00
Jennifer Taylor
c4a5abaf4d Fix background elements disappearing when root clip is rewound. 2021-10-24 16:16:48 +00:00
Jennifer Taylor
2664237026 Merge overlay blend mode fix from ARCHVILE. 2021-10-24 15:51:08 +00:00
Jennifer Taylor
6569925b18 Implement (incorrect) version of blend mode 13. 2021-09-20 18:22:56 +00:00
Jennifer Taylor
38f8c94ed0 Fix frame control function to be invisible for X number of frames, instead of until frame X. 2021-09-20 05:05:14 +00:00
Jennifer Taylor
30fa4e6e1a Make child clips loop indefinitely, as it seems that newer games expect this. 2021-09-20 05:04:52 +00:00
Jennifer Taylor
b151afef69 Improve a few aeplib calls now that I understand them better. 2021-09-20 05:04:33 +00:00
Jennifer Taylor
a6e3ec524a Add debugging components options to AFP parser and renderer. 2021-09-20 01:16:40 +00:00
Jennifer Taylor
3863b9f048 Apply Final to a few more miscelaneous classes outside of frontend. 2021-09-07 17:57:18 +00:00
Jennifer Taylor
b572689107 Apply more rigorous type checking, fix a few bugs caught with that more rigorous type checking. 2021-08-20 18:10:07 +00:00
Jennifer Taylor
c2fa122a25 Add support for animated backgrounds, including previously rendered output. 2021-08-11 21:40:01 +00:00
Jennifer Taylor
ed5b5beda5 Small change necessary to attempt to render DDR PS3 animations. 2021-08-11 18:31:37 +00:00
Jennifer Taylor
362456f929 Add a readme for AFP. 2021-08-11 17:56:23 +00:00
Jennifer Taylor
360b80b102 Favor more accurate A/B/C/D transform values when parsing a SWF. 2021-08-10 23:37:30 +00:00
Jennifer Taylor
d1a6c1abf6 Change to a slightly different (but probably equivalent) method of doing masking to avoid messing with the mask transform. 2021-08-10 23:37:08 +00:00
Jennifer Taylor
d04c366497 Fix edge case where bytecode tried to rewind an animation entirely and failed due to being outside of the frame boundary instead of starting from the first frame. 2021-08-10 23:36:39 +00:00
Jennifer Taylor
ac707e767b Switch to double precision for C++ renderer to squeeze out a bit more accuracy in transforms. 2021-08-10 23:36:18 +00:00
Jennifer Taylor
d80c6a5ccd No longer take "blank pixels" outside of the screen into consideration for rendering SSAA. 2021-08-09 20:20:26 +00:00
Jennifer Taylor
41a1114469 Fix multiply blending mode. 2021-08-09 20:20:09 +00:00
Jennifer Taylor
73a36e17c2 Fix anti-aliasing of rectangles so that they are always crisp. 2021-08-09 19:09:00 +00:00
Jennifer Taylor
f6bd2aef54 Fix perspective mask calculation. 2021-08-09 17:33:21 +00:00
Jennifer Taylor
b939ecd030 Fix incorrect copying of affine transform over 3D transform on some updates. 2021-08-09 17:32:40 +00:00
seth
c77d834091 iidx: Support cannonballers and rootage.
Add stubs for heroic verse and bistrover
2021-08-06 22:36:17 -04:00
Jennifer Taylor
4584cb3f45 Fix some 3D animations not getting their transforms updated per-frame. 2021-08-06 21:32:19 +00:00
Jennifer Taylor
7e70c6dad1 Fix clipping entirely off screen perspective quads. 2021-08-05 17:37:30 +00:00
Jennifer Taylor
af25448d47 Fix 3D objects in wrong position and scaling when entire animation is being scaled. 2021-08-05 17:35:10 +00:00
Jennifer Taylor
48f1196f06 Disable bilinear interpolation for perspective transforms to fix aliasing quality. 2021-08-05 17:34:33 +00:00
Jennifer Taylor
ed7fe542ec Fix clipping calculations when textures come through the camera. 2021-08-05 17:33:30 +00:00
Jennifer Taylor
53f69c0eca Fix wiggling textures in perspective mode due to premature rounding. 2021-08-05 17:33:09 +00:00
Jennifer Taylor
74838e698d Switch perspective engine to using existing blitter with correct perspective-based texture mapping. 2021-08-05 17:32:20 +00:00
Jennifer Taylor
75bc9f975c More concrete selection of perspective/affine rendering engines. 2021-08-05 17:31:28 +00:00
Jennifer Taylor
62b77b850c Separate TX/TY and TZ set tracking because this is how the SWF loader assigns it. This seems to fix some animations using 3D perspective. 2021-08-03 20:34:06 +00:00
Jennifer Taylor
b9b85bf146 Very primitive 3D transform support. Animations using cameras/3D now display with the proper perspective, but there are lots of issues. 2021-08-03 17:04:20 +00:00
Jennifer Taylor
44f6a7fee0 Slightly more correct transform updating. Does not currently matter but affects some 3D transforms. 2021-08-03 17:03:35 +00:00
Jennifer Taylor
9c3010bcbd Get rid of warning for 3D transform stuff that we support parsing but don't have engine support for. 2021-07-31 01:16:09 +00:00
Jennifer Taylor
96a99f6f74 Fix bug in matrix inversion code relating to upper triangles causing some matrixes to fail to invert and hiding some textures. 2021-07-31 01:15:52 +00:00