Commit graph

35 commits

Author SHA1 Message Date
Jaime Ita Passos
7e0a1709de Fix a crash in Picture_GetPatchPixel with PICFMT_DOOMPATCH formats 2020-12-14 00:53:42 -03:00
Jaime Ita Passos
5e890ee6f8 Merge branch 'next' into spritestuff2 2020-11-19 00:52:43 -03:00
Jaime Passos
63e471d902 Correctly return the output patch's size in Picture_PatchConvert 2020-10-13 19:16:25 -03:00
Jaime Passos
6e5f71dd45 Refactor patch rotation 2020-10-10 18:43:26 -03:00
Jaime Passos
b15bbd505c Merge branch 'next' into patch-stuff-again-2 2020-10-10 17:01:10 -03:00
Jaime Passos
06c0932ab4 Only check the tRNS (trans) chunk if the image is still palettized 2020-10-10 14:17:53 -03:00
Jaime Passos
4d847f4223 Compare the PNG's palette with the game's palette instead of assuming they are the same 2020-10-10 14:17:42 -03:00
Jaime Passos
ebf50aad44 Use leftoffset and topoffset, not loffs and toffs 2020-10-02 20:40:42 -03:00
Jaime Passos
aaa9cff6ac Fix PNG issue in OpenGL + optimize PNG sprite loading 2020-10-02 19:48:13 -03:00
Jaime Passos
0750d273a6 Attempt to use the PNG image's palette, if it is present 2020-09-10 03:16:21 -03:00
Jaime Passos
4e437076c1 Use color look-up table for PNG conversion 2020-09-10 02:10:31 -03:00
Jaime Passos
dcaad758f4 Improved memory management for patches 2020-09-07 02:23:07 -03:00
Jaime Passos
92c4993d67 Introduce Doom patch format into picture formats
Fixes sprite rotation
2020-08-15 21:52:01 -03:00
Jaime Passos
9b426b474c Merge branch 'pictureformats' into patch-stuff-again-2 2020-08-15 20:48:28 -03:00
Jaime Passos
ca060a4372 Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2 into pictureformats 2020-07-21 22:25:00 -03:00
Jaime Passos
1a79f6246d Merge remote-tracking branch 'origin/next' into pictureformats 2020-05-15 01:34:54 -03:00
Jaime Passos
26e367eb9b Merge remote-tracking branch 'origin/next' into pictureformats 2020-03-07 20:43:16 -03:00
Jaime Passos
c1acdfe52e Merge remote-tracking branch 'origin/next' into pictureformats 2020-01-10 04:11:26 -03:00
Jaime Passos
cdc2a8a923 Fix shadowed declarations 2020-01-07 20:07:35 -03:00
Jaime Passos
8202ea86b7 Fix Picture_GetPatchPixel 2020-01-07 20:05:40 -03:00
Jaime Passos
ae748d6d5c Fix patch generation 2020-01-07 20:05:33 -03:00
Jaime Passos
ce7f81c78d use enum for bpp 2020-01-07 20:04:18 -03:00
Jaime Passos
b8625d9efb AA trees are not needed at all for rotated patches 2020-01-07 16:10:38 -03:00
Jaime Passos
5a2ad5c2f3 Merge remote-tracking branch 'origin/next' into pictureformats 2020-01-07 16:10:25 -03:00
Jaime Passos
5b5f371b0c R_GetTextureFlat -> R_GetLevelFlat 2020-01-07 13:27:59 -03:00
Jaime Passos
f85476c723 Move texture stuff to its own file 2020-01-07 12:35:10 -03:00
Jaime Passos
9e0d28f32f How did I mess this up? 2020-01-06 22:08:51 -03:00
Jaime Passos
a089863823 Missing check 2020-01-06 21:16:33 -03:00
Jaime Passos
db8735129a Don't force 16bpp if the bit depth was already higher! 2020-01-06 21:02:25 -03:00
Jaime Passos
42895b2c5f Make error messages consistent 2020-01-06 20:42:46 -03:00
Jaime Passos
218fdaeaf8 Fix patch conversion 2020-01-06 20:39:38 -03:00
Jaime Passos
d5c44350c2 Initialise 2020-01-06 20:20:05 -03:00
Jaime Passos
edb0bbcd6d Cleanup, NOW 2020-01-06 20:16:48 -03:00
Jaime Passos
4407eb0c0a Fix warnings 2020-01-06 18:31:08 -03:00
Jaime Passos
a1af6b9134 Picture formats test 2020-01-06 18:22:23 -03:00
Renamed from src/r_patch.c (Browse further)