LJ Sonic
99a9e5fcc9
Add support for LongSprites/ folder
2024-03-15 21:22:12 +01:00
Lactozilla
98ba396dbc
Fix issues related to texture scaling
2024-02-16 17:28:55 -03:00
Logan Aerl Arias
bf4efe968f
Merge branch 'patch-refactor' into 'next'
...
Patch and texture refactor
See merge request STJr/SRB2!2104
2024-02-12 04:48:36 +00:00
Lactozilla
1ccc04c53f
Delete global lengthcol
2024-01-16 13:50:08 -03:00
Lactozilla
b6e4771085
Merge branch 'next' into translations
2024-01-02 22:06:14 -03:00
Lactozilla
62f3454268
Reduce code duplication
2023-10-31 16:26:51 -03:00
Lactozilla
19f2535403
OpenGL: Ensure linked objects inherit translation in certain situations
2023-10-31 15:50:25 -03:00
Lactozilla
6de7fc3223
Add 'translation' object property
2023-10-29 23:34:18 -03:00
Alam Ed Arias
9b1374359b
Merge branch SRB2:next into interpolate-shield-spawning
2023-10-25 18:12:55 +00:00
Zwip-Zwap Zapony
e5fdfadce7
Copy interpolation to shields and overlays
...
Also handle overlays in splitscreen properly
2023-09-06 20:35:20 +02:00
Lactozilla
b8313ceda2
Optimize sprite rendering by ignoring completely occluded sprites
2023-09-03 17:02:35 -03:00
Lactozilla
c6c3cc3209
Drawseg clipping optimized, from prboom-plus
...
Co-authored-by: Sally Coolatta <tehrealsalt@gmail.com>
2023-07-26 00:06:52 -03:00
spherallic
264ec02223
Merge branch 'next' into bbox
2023-05-26 03:06:30 +02:00
sphere
ce504d4e8e
Merge branch 'mobj-dispoffset' into 'next'
...
Turn dispoffset into a mobj field
See merge request STJr/SRB2!1708
2023-05-25 20:59:43 +00:00
spherallic
1470d099e3
Update copyright year & credits
2023-03-31 14:53:31 +02:00
James R
7855bae8a1
Remove R_ThingVisibleWithinDist
...
It's no longer used!
2022-11-22 18:13:40 -08:00
James R
bfaf2bc6f3
OpenGL hitbox renderer
...
I apologize for that vertex array.
2022-11-22 18:13:38 -08:00
James R
694804cd96
Refactor hitbox renderer to project vissprites
...
Properly accounts for portals (skyboxes).
2022-11-22 18:12:49 -08:00
James R
356bdb25a1
Add a hitbox renderer to Software mode
...
renderhitbox
- Tangible - collision activating objects, minus rings
- All - every object
- Intangible - the opposite of Tangible, also no rings
- Rings - rings
2022-11-22 18:12:49 -08:00
Sally Coolatta
fa10530d37
Handle sorting against water FOFs properly
2022-11-12 17:00:45 -05:00
James R
877d5450d5
Use interpolated mobj x/y/z/angle for splats
...
# Conflicts:
# src/hardware/hw_main.c
# src/r_things.c
2022-11-11 17:35:27 -06:00
sphere
cfdbc8f44a
Merge branch 'vissprite-color' into 'next'
...
Allow objects with MF2_LINKDRAW to use their own color
See merge request STJr/SRB2!1576
2022-09-17 07:32:51 +00:00
spherallic
14295ac7de
2022
2022-03-03 20:24:46 +01:00
Hannu Hanhi
ba04b045e6
Fix portals
...
- Resetting portalcullsector fixes the major visual glitches
- Using 32 bits for nummasks and i fixes crashes when rendering lots of portals
2022-01-25 04:53:40 +02:00
lachablock
d764d68d02
Turn dispoffset into a mobj field
2022-01-13 18:53:26 +11:00
sphere
3802f601a9
blentran part 1: Flag changes & semibright support.
2021-12-05 00:48:21 +01:00
Jaime Ita Passos
450955cba2
Fix floor sprite projection
2021-08-26 13:22:32 -03:00
lachablock
7ea73bf817
Add a color field to vissprites and use that instead of referencing its mobj
2021-07-06 18:36:05 +10:00
LJ Sonic
d325c7e6d3
The year is 2021
2021-05-07 17:45:56 +02:00
Jaime Ita Passos
4025a1d517
[Software] A few floorsprite fixes
...
This fixes the texture of the floorsprite sometimes facing the wrong way, since plane rendering can change the view angle.
2021-03-29 23:04:13 -03:00
Jaime Ita Passos
07ffe2599c
Fix thing scale mismatch in R_DrawVisSprite
2021-02-28 16:23:40 -03:00
James R
4d6b677765
Revert "Merge branch 'plane-sorting-fix-part-3' into 'next'"
...
This reverts merge request !1235
2020-12-23 03:02:31 +00:00
James R
54da9552de
Merge remote-tracking branch 'origin/next' into plane-sorting-fix-part-3
2020-11-22 14:41:42 -08:00
James R
8d63a994f0
Remove unused stuff
2020-11-05 18:45:51 -08:00
Jaime Passos
4273896311
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
87e5d63723
Improve sorting between sprites and floor sprites
2020-10-13 02:24:18 -03:00
Jaime Passos
b620f4835a
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
cc97e22e2f
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
9b426b474c
Merge branch 'pictureformats' into patch-stuff-again-2
2020-08-15 20:48:28 -03:00
Jaime Passos
1a79f6246d
Merge remote-tracking branch 'origin/next' into pictureformats
2020-05-15 01:34:54 -03:00
toaster
ce2a1aa3b2
Minor optimisations surrounding R_DrawFlippedMaskedColumn.
...
* Replace the texheight parameter provided directly to it with a previously existing (now renamed) global used for the same purpose, so that it can be used as an interchangeable function pointer with R_DrawMaskedColumn.
* Using the above, optimise R_DrawVisSprite to call a function pointer in a tighter loop rather than check SC_VFLIP each time around.
* SHORT macro can involve repeated operations; calculate once and put in memory for both RANGECHECK and papersprite.
* Remove irrelevant range check (already covered by existing range check immediately above) from R_DrawFlippedMaskedColumn and R_DrawMaskedColumn.
* "Warning: avoiding a crash in %s %d" is a terrible error message, and it chips away at the tightness of the loop just for something most people will never see printed. Replace with a PARANOIA I_Error in case someone actively wants to go hunting for its cause.
2020-03-26 16:09:19 +00:00
Monster Iestyn
1dd4ed4afa
Reorganise r_things.h
2020-03-08 21:17:30 +00:00
Monster Iestyn
a67dbfff54
Create r_skins.c/.h, to contain skins code formerly in r_things.c/h
2020-03-08 19:32:07 +00:00
Jaime Passos
26e367eb9b
Merge remote-tracking branch 'origin/next' into pictureformats
2020-03-07 20:43:16 -03:00
James R
7060083db5
Update copyright year to 2020
2020-02-19 14:08:45 -08:00
Jaime Passos
2893803c68
Merge remote-tracking branch 'origin/next' into pictureformats
2020-02-19 02:25:36 -03:00
James R
4238003887
Merge remote-tracking branch 'origin/master' into next
2020-01-30 23:54:56 -08:00
Jaime Passos
f4a976f3be
Merge remote-tracking branch 'origin/next' into pictureformats
2020-01-20 16:53:41 -03:00
James R
762223db7c
Duplicated code is gone, so sad
2020-01-17 20:53:36 -08:00
fickleheart
27bd7e4a7f
Merge remote-tracking branch 'upstream/next' into software-dropshadows
2020-01-11 17:09:57 -06:00