Jaime Ita Passos
|
490758eac2
|
Remove SHORT macros for referencing patch width/height/offsets
|
2020-11-22 20:02:47 -03:00 |
|
Jaime Ita Passos
|
6d2742f5fb
|
Some fixes for spritestuff2
|
2020-11-22 03:47:15 -03:00 |
|
Jaime Passos
|
bf9a8d9f3b
|
Fix the wrong freeing function call being used in Patch_FreeData
|
2020-10-13 19:18:01 -03:00 |
|
Jaime Passos
|
b4b4738c94
|
Changes to sprite rendering:
- Added render flags (see r_defs.h)
- Implemented floor splats
- Drop shadow sprite rendering through render flags
|
2020-10-12 00:13:22 -03:00 |
|
Jaime Passos
|
3e06bd4985
|
Move calculation of rotated patch dimensions into its own function
Simplify rotation code when the pivot isn't in the center
|
2020-10-11 03:39:31 -03:00 |
|
Jaime Passos
|
e23929a899
|
Refactor patch rotation
|
2020-10-10 18:43:26 -03:00 |
|
Jaime Passos
|
98c6b54994
|
Improved memory management for patches
|
2020-09-07 02:23:07 -03:00 |
|
Jaime Passos
|
d18d12fdea
|
Introduce Doom patch format into picture formats
Fixes sprite rotation
|
2020-08-15 21:52:01 -03:00 |
|
Jaime Passos
|
7bc4af41ab
|
Merge branch 'pictureformats' into patch-stuff-again-2
|
2020-08-15 20:48:28 -03:00 |
|
Jaime Passos
|
901adcf3da
|
Rename R_CheckIfPatch
|
2020-08-15 20:14:36 -03:00 |
|
Jaime Passos
|
a7f3dd7eff
|
Refactor patch loading
|
2020-08-08 05:16:47 -03:00 |
|
Jaime Passos
|
146da28f88
|
Remove GrTexInfo
|
2020-07-06 00:35:48 -03:00 |
|
Monster Iestyn
|
145b7d8f66
|
Fix drop shadow and rotsprite code to use SHORT()
|
2020-05-02 17:13:16 +01:00 |
|
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
|
4e0810e8a3
|
Picture formats test
|
2020-01-06 18:22:23 -03: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 |
|