Commit graph

12548 commits

Author SHA1 Message Date
Hannu Hanhi
382ed1c31e Remove leftover commented code from previous commit 2020-10-18 23:04:01 +03:00
James R
d279489753 Merge branch 'perfstats' into 'next'
Performance stats

See merge request STJr/SRB2!1186
2020-10-18 15:33:20 -04:00
James R
0583eca009 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
23e02d17c0 NPO2 span function optimization 2020-10-18 21:27:22 +03:00
Jaime Passos
3ac175660c Don't render sprites with negative xscale or yscale in OpenGL 2020-10-17 22:40:49 -03:00
Zippy_Zolton
e8419ea876 Credits Changes 2020-10-17 20:13:29 -05:00
Hannu Hanhi
7941a5fb63 R_FindPlane optimization 2020-10-18 01:27:01 +03:00
Zippy_Zolton
f602944efd titlecard 2020-10-17 15:51:22 -05:00
GoldenTails
00f38d41e5 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
4b0725f36f Use FIELDFROM in lua polyobject code 2020-10-15 16:17:51 -07:00
James R
374c19f915 Merge remote-tracking branch 'origin/next' into reverse-offsetof-macro 2020-10-15 16:15:20 -07:00
James R
d6b314951e 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
bd9fda8ceb 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
31977878e1 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
e453a38442 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
Jaime Passos
70ada935ec 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
060c25c14d [Software floor sprites] Set the colormap and translation outside of the loop 2020-10-15 14:12:19 -03:00
Jaime Passos
bf9ed39ec3 Change vis->transmap statement 2020-10-15 14:05:18 -03:00
Jaime Passos
bc3ac7615f Remove unnecessarily duplicated code in R_GetSpriteTranslation 2020-10-15 11:32:21 -03:00
Jaime Passos
8294479a5f Merge branch 'next' into allowshaders 2020-10-15 01:25:11 -03:00
Jaime Passos
4c59f8c615 Fix OpenGL GIF recording crashing with gif_localcolortable disabled 2020-10-15 01:14:16 -03:00
Jaime Passos
50bd8abc78 Fix precipitation 2020-10-15 00:03:32 -03:00
Jaime Passos
3bace37a25 Don't project if rot_y is less than a single fracunit 2020-10-14 21:26:23 -03:00
Jaime Passos
bf8bb383ab Simplify the floor splat clipping code a bit 2020-10-14 21:20:37 -03:00
Steel Titanium
b19764dc8e Merge branch 'master' into next 2020-10-14 14:58:07 -04:00
Jaime Passos
b4294220e5 Fix a crash in R_CalculateSlopeVectors called from R_RenderFloorSplat 2020-10-14 14:08:25 -03:00
Jaime Passos
e63efdac13 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
a2ff89f007 Make record attack's quick retry more consistent. 2020-10-14 17:39:23 +02:00
James R
b35633bb61 brug 2020-10-14 01:19:43 -07:00
James R
7952408c8e 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
cce55ccf90 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
f7e9772e10 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
Jaime Passos
ab526e47cc Implement object-defined floor sprite slopes. 2020-10-14 00:57:13 -03:00
Jaime Passos
a8a66f698a [Software] Use the light at the bottom of the object for splats 2020-10-13 23:14:05 -03:00
James R
bc23f582fe Don't need to set this actually 2020-10-13 19:11:18 -07:00
James R
5fca04c3dd Apply step up/down to opposite plane too 2020-10-13 19:04:52 -07:00
Jaime Passos
4b7bfce95e Implement sloped floor sprites 2020-10-13 22:42:07 -03:00
Jaime Passos
fccbc00cac Fix the wrong freeing function call being used in Patch_FreeData 2020-10-13 19:18:01 -03:00
Jaime Passos
63e471d902 Correctly return the output patch's size in Picture_PatchConvert 2020-10-13 19:16:25 -03:00
Zippy_Zolton
6fd226eb29 Crosshair fix, no GAMEQUIT 2020-10-13 16:41:39 -05:00
Jaime Passos
0e62cb2ada Fix infinitely long splat spans 2020-10-13 17:03:50 -03:00
Zippy_Zolton
5d699591c7 more!!!!! :3 2020-10-13 14:23:56 -05: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
Zippy_Zolton
45b52e3729 good night 2020-10-13 02:19:20 -05:00
Zippy_Zolton
2ba1017dab More whitelists :D 2020-10-13 02:13:35 -05:00
Jaime Passos
87e5d63723 Improve sorting between sprites and floor sprites 2020-10-13 02:24:18 -03:00
Jaime Passos
95d0097df6 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
7dbd34345c Fix splat sorting 2020-10-13 01:09:17 -03:00
Jaime Passos
f2aca01e2b Fix other uninitialized variable warnings 2020-10-13 00:14:27 -03:00
Jaime Passos
1ea3bd8fff Fix uninitialized variable warning 2020-10-12 22:08:45 -03:00