Commit graph

18475 commits

Author SHA1 Message Date
James R
f34a761d48 Merge branch 'perfstats' into 'next'
Performance stats

See merge request STJr/SRB2!1186
2020-10-18 15:33:20 -04:00
James R
a444304f55 Merge branch 'sw-findplane-opt' into 'next'
R_FindPlane optimization

See merge request STJr/SRB2!1199
2020-10-18 15:16:51 -04:00
Hannu Hanhi
cb40b2a7f2 NPO2 span function optimization 2020-10-18 21:27:22 +03:00
Sryder
5558fb073a Basic additive transmap/blend support
Can currently be used on sprites only
added to flames by default because it makes sense
2020-10-18 19:10:19 +01:00
Sal
08dc784c17 Merge branch 'the-big-step-up' into 'the-scary-22-merge'
Fix steep slope jank

See merge request KartKrew/Kart!318
2020-10-18 01:20:19 -04:00
Sal
bceffa9c2f Merge branch 'the-big-large-slope-physics' into 'the-scary-22-merge'
The big large slope physics

See merge request KartKrew/Kart!320
2020-10-18 01:16:24 -04:00
James R
1a49edbf24 Make it easier to go up a slope if using a sneaker 2020-10-17 21:50:26 -07:00
James R
fdb77175c5 More buttered slope speed 2020-10-17 21:47:04 -07:00
Jaime Passos
e2adf00fc6 Don't render sprites with negative xscale or yscale in OpenGL 2020-10-17 22:40:49 -03:00
Zippy_Zolton
a3728c2215 Credits Changes 2020-10-17 20:13:29 -05:00
Hannu Hanhi
49a4ec71d7 R_FindPlane optimization 2020-10-18 01:27:01 +03:00
Zippy_Zolton
442878020d titlecard 2020-10-17 15:51:22 -05:00
GoldenTails
822d9af4e0 Give the GIF dynamic delay memory to base future delays off of, instead of calculating for the current frame and being jank 2020-10-17 07:10:24 -05:00
James R
139253a8c2 Offset slope anchors from regular slopes 2020-10-16 16:40:57 -07:00
James R
c19d511ee4 Use FIELDFROM in lua polyobject code 2020-10-15 16:17:51 -07:00
James R
8e3ea37b21 Merge remote-tracking branch 'origin/next' into reverse-offsetof-macro 2020-10-15 16:15:20 -07:00
James R
07db322914 Merge branch 'step-down-ceiling' into 'next'
Apply step up/down to opposite plane too

See merge request STJr/SRB2!1192
2020-10-15 19:11:13 -04:00
James R
66a6374dbe Merge branch 'lua-polyobjects' into 'next'
Lua polyobjects

Closes #19

See merge request STJr/SRB2!1140
2020-10-15 19:08:54 -04:00
James R
01d940963f Merge branch 'raretry-fix' into 'next'
Make record attack's quick retry more consistent.

Closes #80

See merge request STJr/SRB2!1193
2020-10-15 19:02:34 -04:00
James R
7b48272ca7 Merge branch 'gif-colorlutfix' into 'next'
Fix OpenGL GIF recording crashing with gif_localcolortable disabled

See merge request STJr/SRB2!1196
2020-10-15 19:00:47 -04:00
James R
99c1f8dba5 Move higher 2020-10-15 15:53:44 -07:00
James R
4569d9650a Move drop reset in air to P_CheckPosition
Fixes respawning over slopes after crossing a drop.
2020-10-15 15:51:31 -07:00
James R
9fb7ba77e4 Midtexture step up/down 2020-10-15 14:47:10 -07:00
James R
0bf00aad35 Condense variables, rename 'diff' to 'step' 2020-10-15 14:23:02 -07:00
Jaime Passos
b9c9660629 Don't free PU_HWRCACHE and PU_HWRCACHE_UNLOCKED memory tags in HWR_ClearAllTextures.
Probably fixes a random annoying crash around that function.
(I was also suspecting renderer switching was doing other slightly weird stuff.)
2020-10-15 14:31:16 -03:00
Jaime Passos
6cf1441e33 [Software floor sprites] Set the colormap and translation outside of the loop 2020-10-15 14:12:19 -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
James R
1db22403bb Guard with mobj?? 2020-10-15 04:30:48 -07:00
James R
75b3fffc04 AAAAAAAAAAA 2020-10-15 04:23:28 -07:00
James R
9723283055 FOF step down 2020-10-15 03:33:37 -07:00
James R
894860b9bc Step up fake floors 2020-10-15 02:58:29 -07:00
Jaime Passos
0bf5237e0d Merge branch 'next' into allowshaders 2020-10-15 01:25:11 -03:00
Jaime Passos
073b9b8d12 Fix OpenGL GIF recording crashing with gif_localcolortable disabled 2020-10-15 01:14:16 -03:00
James R
3a4a687da0 Use height difference between front and backside of line when stepping down
This should fix the janky falling off steep slopes and let you cling to them.
Because when falling off a sector the edge of the player must not intersect
the edge of the higher sector, it is trickier than step up. The height
difference at the line must be stored to be useful.
2020-10-14 21:10:02 -07:00
Jaime Passos
9365c88dc2 Fix precipitation 2020-10-15 00:03:32 -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
Steel Titanium
9888555431 Merge branch 'master' into next 2020-10-14 14:58:07 -04:00
Jaime Passos
04829fc613 Fix a crash in R_CalculateSlopeVectors called from R_RenderFloorSplat 2020-10-14 14:08:25 -03:00
Jaime Passos
d348ff079b Only create floor sprite slopes when needed, instead of always allocating them.
Has to be done manually in Lua. Use P_CreateFloorSpriteSlope, and P_DeleteFloorSpriteSlope when done with it.
2020-10-14 13:07:02 -03:00
sphere
ab9c85f76a Make record attack's quick retry more consistent. 2020-10-14 17:39:23 +02:00
James R
1363291a78 brug 2020-10-14 01:19:43 -07:00
James R
1347157e21 Merge branch 'fix-gzip-makefile-failure' into 'master'
Fix gzip failing to compress SRB2's objdump on non-Windows.

See merge request STJr/SRB2!1191
2020-10-14 03:11:26 -04:00
James R
9348dcbf98 Merge branch 'ffloorclip-2' into 'next'
Software 3D floor rendering optimization (second attempt)

See merge request STJr/SRB2!1184
2020-10-14 03:10:44 -04:00
James R
1f7f88cd1f Merge branch 'i-pity-you' into 'next'
Allow JumpSpin abilities to be used with non-ability shields

Closes #277

See merge request STJr/SRB2!1146
2020-10-14 03:08:20 -04:00
James R
dab116a0bd CODE 2020-10-13 21:44:48 -07:00
Jaime Passos
96fa912bae Implement object-defined floor sprite slopes. 2020-10-14 00:57:13 -03:00
James R
0d116b39c5 Compare height for step up on edge of sector
This is for slopes. When moving across a slope the height changes. Therefore
compare the height at the edge where slopes meet so only a wall will block the
player, and not a very steep slope.
2020-10-13 20:27:36 -07:00
Jaime Passos
3a76f04ac2 [Software] Use the light at the bottom of the object for splats 2020-10-13 23:14:05 -03:00