Commit graph

26 commits

Author SHA1 Message Date
Sally Coolatta
fed0ed98de Add R_SpriteRotationAngle function
Gets the rotation angle for the mobj's sprite. Meant for pitch & roll later, but that part is if'd out currently and just returns mobj->rollangle
2020-10-30 15:54:58 -04:00
Jaime Passos
f75aa6cd18 Use leftoffset and topoffset, not loffs and toffs 2020-10-02 20:40:42 -03:00
Jaime Passos
9ad15fd556 Fix PNG issue in OpenGL + optimize PNG sprite loading 2020-10-02 19:48:13 -03:00
Jaime Passos
a8d3510958 Attempt to use the PNG image's palette, if it is present 2020-09-10 03:16:21 -03:00
Jaime Passos
15eb91be69 Use color look-up table for PNG conversion 2020-09-10 02:10:31 -03:00
Jaime Passos
10189ecdc0 Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2 into pictureformats 2020-07-21 22:25:00 -03:00
Jaime Passos
c69a4f9ced Merge remote-tracking branch 'origin/next' into pictureformats 2020-05-15 01:34:54 -03:00
Jaime Passos
81a57d5fac Merge remote-tracking branch 'origin/next' into pictureformats 2020-03-07 20:43:16 -03:00
Jaime Passos
a6472c2ffb Merge remote-tracking branch 'origin/next' into pictureformats 2020-01-10 04:11:26 -03:00
Jaime Passos
e459a44848 Fix shadowed declarations 2020-01-07 20:07:35 -03:00
Jaime Passos
c85c1550c3 Fix Picture_GetPatchPixel 2020-01-07 20:05:40 -03:00
Jaime Passos
058ad19433 Fix patch generation 2020-01-07 20:05:33 -03:00
Jaime Passos
f39368dfb0 use enum for bpp 2020-01-07 20:04:18 -03:00
Jaime Passos
9c66740e2b AA trees are not needed at all for rotated patches 2020-01-07 16:10:38 -03:00
Jaime Passos
3b29ec3fbc Merge remote-tracking branch 'origin/next' into pictureformats 2020-01-07 16:10:25 -03:00
Jaime Passos
e2d0ddfb54 R_GetTextureFlat -> R_GetLevelFlat 2020-01-07 13:27:59 -03:00
Jaime Passos
96340ac80c Move texture stuff to its own file 2020-01-07 12:35:10 -03:00
Jaime Passos
d18b0dcde8 How did I mess this up? 2020-01-06 22:08:51 -03:00
Jaime Passos
d9b64c14c6 Missing check 2020-01-06 21:16:33 -03:00
Jaime Passos
a24607a452 Don't force 16bpp if the bit depth was already higher! 2020-01-06 21:02:25 -03:00
Jaime Passos
fd2340d802 Make error messages consistent 2020-01-06 20:42:46 -03:00
Jaime Passos
c4e082d56e Fix patch conversion 2020-01-06 20:39:38 -03:00
Jaime Passos
66dedc3730 Initialise 2020-01-06 20:20:05 -03:00
Jaime Passos
385a6cf3c3 Cleanup, NOW 2020-01-06 20:16:48 -03:00
Jaime Passos
bc096d35bb Fix warnings 2020-01-06 18:31:08 -03:00
Jaime Passos
4e0810e8a3 Picture formats test 2020-01-06 18:22:23 -03:00
Renamed from src/r_patch.c (Browse further)