Commit graph

37 commits

Author SHA1 Message Date
James R
441be52fd8 Fix NOPNG compiling 2020-02-20 17:30:32 -08:00
Jaime Passos
93acc4254c Fix R_CacheRotSprite not working with PNG lumps 2020-02-17 22:59:36 -03:00
James R
c19fe1419f Remove code that does effectively nothing 2020-01-31 14:35:19 -08:00
toaster
456778f950 Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2.git into public_hexang
# Conflicts:
#	src/r_defs.h
2020-01-08 21:47:47 +00:00
James R
f97afe47fa Merge remote-tracking branch 'origin/master' into next 2020-01-08 13:27:14 -08:00
toaster
336b6ad85e Hexafaceted sprite angle support (See merge request description coming soon).
Also, some minor memory efficiency fixes to both rotsprite and ordinary sprite rotations.
2020-01-08 20:49:14 +00:00
Jaime Passos
71f7130abe AA trees are not needed at all for rotated patches 2020-01-05 03:10:03 -03:00
Jaime Passos
be2afe1e85 Rename functions 2020-01-01 17:46:26 -03:00
Jaime Passos
4630b8615c Remove unused parameter 2020-01-01 17:36:55 -03:00
Jaime Passos
c7db80a6fd Update copyrights 2020-01-01 17:30:07 -03:00
Jaime Passos
372bfe39f6 Fix transparent PNG conversion 2020-01-01 17:28:22 -03:00
James R
67ca512120 Merge remote-tracking branch 'origin/master' into next 2019-12-30 13:16:53 -08:00
Alam Ed Arias
1f143ca9d6 use size_t to count the sprites 2019-12-27 13:20:58 -05:00
Jaime Passos
518714a51a Fix sprite rotation crashes. 2019-12-27 00:37:40 -03:00
Jaime Passos
a88b0bffe7 Avoid possible overflows in the rotsprite arrays. 2019-12-26 21:49:36 -03:00
Jaime Passos
a187538157 Remove the min() and max() calls. 2019-12-26 21:36:35 -03:00
Jaime Passos
f65ac6feab stuff 2019-12-26 21:27:30 -03:00
Jaime Passos
81c9577995 Satisfy rollangle table with a 3deg angle 2019-12-23 12:19:05 -03:00
Jaime Passos
d80a6e11e7 Load SPR_ lumps as SpriteInfo 2019-12-19 17:25:19 -03:00
Jaime Passos
9916c88baa change ROTANGLES to 72 2019-12-17 13:39:26 -03:00
Jaime Passos
44ae8fdb6a optimise R_CacheRotSprite 2019-12-17 13:25:55 -03:00
Jaime Passos
be227cc58c un-ROTSPRITE rollangle and spriteinfo 2019-12-17 13:09:25 -03:00
Jaime Passos
f715d9062b Update r_patch.c 2019-12-06 17:05:36 -03:00
Steel Titanium
a5cdb0a4b3 Update copyright date on source files 2019-12-06 13:49:42 -05:00
Alam Ed Arias
ef5b680011 frameFrame is unsigned, let set it to 0xFF 2019-12-05 15:50:44 -05:00
Alam Ed Arias
8a37eaeaa0 Fix compiling for MSVC 2019-12-05 12:38:50 -05:00
James R
befdbec5bd Deobfuscate the R_ParseSpriteInfo call 2019-11-14 19:56:26 -08:00
James R
1ca3bd7725 Freed before read, oops! 2019-11-14 19:28:33 -08:00
toaster
d6bf82c2e4 Fix incorrect offsets of cached rotsprites 2019-11-14 23:22:18 +00:00
Jaime Passos
2fa2ebe4a7 Optimise 2019-11-14 14:12:36 -03:00
Jaime Passos
0a44158db9 Other things I missed. Also added SF_NONIGHTSROTATION. Do I even have to keep the old behaviour? I have no idea. 2019-11-14 12:27:22 -03:00
Jaime Passos
3e759a2b75 rename rollaxis to rotaxis 2019-11-13 12:47:30 -03:00
Jaime Passos
ae630a9a23 Rotation axis (will rename internally later) 2019-11-13 12:36:44 -03:00
Jaime Passos
b078b8791a Merge remote-tracking branch 'origin/master' into rotsprite_i 2019-11-11 14:41:55 -03:00
Jaime Passos
7f4df99b2d Hopefully the last time this week I'll ever touch these files 2019-11-06 20:41:55 -03:00
Jaime Passos
c31a8e8978 Use doomtype.h types instead of libpng types 2019-10-29 00:20:21 -03:00
Jaime Passos
1c46be78af add r_patch.c 2019-10-28 15:28:42 -03:00