Jaime Ita Passos
|
be274a4fa9
|
Merge branch 'next' into spritestuff2
|
2020-11-19 00:52:43 -03:00 |
|
Jaime Passos
|
928ea1abc9
|
R_DrawSplatSprite -> R_DrawFloorSprite
|
2020-11-04 21:43:16 -03:00 |
|
Jaime Passos
|
d2c000b252
|
Implement an "ignore colormaps" sprite rendering flag
|
2020-10-27 19:54:50 -03:00 |
|
Jaime Passos
|
ab3f4960cb
|
Bug fixes
|
2020-10-27 17:02:35 -03:00 |
|
Jaime Passos
|
cdc4a6d86e
|
Implement blend modes
|
2020-10-27 00:03:41 -03:00 |
|
Jaime Passos
|
018b826e1b
|
Rename R_DrawVisSplat to R_DrawSplatSprite, move into r_splats.c
|
2020-10-19 17:36:29 -03:00 |
|
Jaime Passos
|
b84a7ebd53
|
Remove FLOORSPLATS define
|
2020-10-19 17:33:16 -03:00 |
|
Jaime Passos
|
f2e09eb2f6
|
Change vis->transmap statement
|
2020-10-15 14:05:18 -03:00 |
|
Jaime Passos
|
1aa324add0
|
Remove unnecessarily duplicated code in R_GetSpriteTranslation
|
2020-10-15 11:32:21 -03:00 |
|
Jaime Passos
|
5c2f487fbe
|
Don't project if rot_y is less than a single fracunit
|
2020-10-14 21:26:23 -03:00 |
|
Jaime Passos
|
578600156d
|
Simplify the floor splat clipping code a bit
|
2020-10-14 21:20:37 -03:00 |
|
Jaime Passos
|
96fa912bae
|
Implement object-defined floor sprite slopes.
|
2020-10-14 00:57:13 -03:00 |
|
Jaime Passos
|
3a76f04ac2
|
[Software] Use the light at the bottom of the object for splats
|
2020-10-13 23:14:05 -03:00 |
|
Jaime Passos
|
f93e050569
|
Implement sloped floor sprites
|
2020-10-13 22:42:07 -03:00 |
|
Jaime Passos
|
a6f2e8b9c6
|
Implement relative and absolute sprite offsets for objects (mobjs)
Added RF_ABSOLUTEOFFSETS and RF_FLIPOFFSETS
|
2020-10-13 12:57:36 -03:00 |
|
Jaime Passos
|
e8dd79e5e2
|
Improve sorting between sprites and floor sprites
|
2020-10-13 02:24:18 -03:00 |
|
Jaime Passos
|
ecd3ef99fc
|
Improve splat sorting:
Adjust the sort scale of splats
Do splat sorting in R_CreateDrawNodes if either vissprite is a splat, instead of if both are
|
2020-10-13 01:45:18 -03:00 |
|
Jaime Passos
|
cd87c6a5fb
|
Fix splat sorting
|
2020-10-13 01:09:17 -03:00 |
|
Jaime Passos
|
3849b4ac6c
|
Fix other uninitialized variable warnings
|
2020-10-13 00:14:27 -03:00 |
|
Jaime Passos
|
9bb09cdc8c
|
OpenGL support for splats, fix some shadow draw bugs in Software
|
2020-10-12 19:53:21 -03:00 |
|
Jaime Passos
|
37ed2a6b26
|
Support spritexscale and spriteyscale in OpenGL
Fix papersprite scaling with spritexscale and spriteyscale in Software
|
2020-10-12 17:25:18 -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
|
c40f2b3f2b
|
Add r_patchrotation.h
|
2020-10-10 18:53:05 -03:00 |
|
Jaime Passos
|
e23929a899
|
Refactor patch rotation
|
2020-10-10 18:43:26 -03:00 |
|
Jaime Passos
|
b44837324f
|
Merge branch 'next' into patch-stuff-again-2
|
2020-10-10 17:01:10 -03:00 |
|
Hannu Hanhi
|
24ff748c58
|
Performance stats
|
2020-10-10 22:12:34 +03:00 |
|
Jaime Passos
|
9ad15fd556
|
Fix PNG issue in OpenGL + optimize PNG sprite loading
|
2020-10-02 19:48:13 -03:00 |
|
SteelT
|
6a168ac5e9
|
Merge branch 'pictureformats' into 'next'
PNG conversion refactoring
See merge request STJr/SRB2!675
|
2020-09-10 15:58:18 -04: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
|
a7f3dd7eff
|
Refactor patch loading
|
2020-08-08 05:16:47 -03:00 |
|
lachwright
|
b132a6d3ec
|
Hide Metal Sonic's jet fume in first person
|
2020-08-03 20:09:35 +08:00 |
|
Jaime Passos
|
c385eca5d2
|
Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2 into pictureformats
|
2020-07-06 19:29:14 -03:00 |
|
kaysrishaq
|
6f859fd44d
|
FF_HORIZONTALFLIP and mobj->mirrored (sprite enhancements)
|
2020-06-19 11:11:18 -04:00 |
|
Hannu Hanhi
|
6961bba693
|
Merge remote-tracking branch 'upstream/next' into shaders-224-next-merge
|
2020-06-07 20:01:05 +03:00 |
|
lachwright
|
92cae7aef9
|
Oops, forgot to #undef
|
2020-05-31 01:26:23 +08:00 |
|
lachwright
|
3b4df4657a
|
Move drop shadows to the ceiling for objects in reverse gravity
|
2020-05-31 01:21:26 +08:00 |
|
Monster Iestyn
|
58d62f9881
|
also do the fovtan multiplication thing with precip sprites
|
2020-05-20 19:34:18 +01:00 |
|
Monster Iestyn
|
8ad59bbb51
|
on second thought maybe we don't need extra tx clamping, it turns out to be more effort than it's worth (at least for now)
meanwhile, let's move x/yscale calculations down since we don't actually need them until later on
|
2020-05-19 22:00:34 +01:00 |
|
Monster Iestyn
|
4ad02cae93
|
change limits for tx based on fov, by multiplying by fovtan
this makes it so that higher fov values can actually let you see all the sprites that should be in the view
|
2020-05-19 18:54:39 +01:00 |
|
Monster Iestyn
|
a2a6208548
|
do tx checking after tz clamping, not before
|
2020-05-19 18:43:33 +01:00 |
|
Monster Iestyn
|
b1f804871f
|
We don't actually need x1 or x2 until these points in the function, at least for papersprites
|
2020-05-19 17:23:22 +01:00 |
|
Monster Iestyn
|
c9d2a79ecc
|
added basic culling of papersprites if tx for either is too large, proper clamping to be added later
also removed some commented out old code
|
2020-05-19 17:19:44 +01:00 |
|
Monster Iestyn
|
f496001c8b
|
split "rot" into two variables: frame and rot, for frame number and rotation angle
it always bothered me that "rot" was used for both of the above, since it confused me as to what it was for every time I look at this function
|
2020-05-19 16:58:53 +01:00 |
|
Monster Iestyn
|
a361437f77
|
remove gxt and gyt, as they are unnecessary
also add a few comments to explain what tx/tz are
|
2020-05-19 16:48:50 +01:00 |
|
Louis-Antoine
|
74fa35221d
|
Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2.git into slope-cleanup
# Conflicts:
# src/hardware/hw_main.c
# src/p_spec.c
|
2020-05-18 16:14:05 +02:00 |
|
Louis-Antoine
|
6af2871fa5
|
Rename P_GetZAt to P_GetSlopeZAt and P_GetZAt2 to P_GetZAt
|
2020-05-18 15:23:56 +02:00 |
|
Jaime Passos
|
668b9bc684
|
Fix missing sprite column
|
2020-05-15 16:17:31 -03:00 |
|
Jaime Passos
|
c69a4f9ced
|
Merge remote-tracking branch 'origin/next' into pictureformats
|
2020-05-15 01:34:54 -03:00 |
|