Commit graph

18325 commits

Author SHA1 Message Date
Sally Coolatta
ce01b494f4 Add functions to handle interpolation
Much less code duplication
2021-12-24 11:30:19 -05:00
Sally Coolatta
86991112b1 MORE DEHACKED SHIT 2021-12-23 03:20:56 -05:00
SteelT
3ce3fd0366 Merge branch 'getmobjzmovement' into 'master'
P_GetMobjZMovement

See merge request KartKrew/Kart!441
2021-12-21 07:07:10 +00:00
SteelT
f48ce0f84a Merge branch 'fullbright-ignore-colormap' into 'master'
Ignore level colormap when drawing fullbright sprites

See merge request KartKrew/Kart!507
2021-12-21 06:56:16 +00:00
SteelT
85fa368d64 Merge branch 'update-rendezvous' into 'master'
Update hole punch server address to kartkrew.org

See merge request KartKrew/Kart!506
2021-12-21 06:25:10 +00:00
SteelT
2ebac926eb Merge branch 'followers-mainwad' into 'master'
Load followers by default

See merge request KartKrew/Kart!504
2021-12-21 06:24:06 +00:00
SteelT
cf3e92c293 Merge branch 'no-squish' into 'master'
Add the MF_NOSQUISH flag, disables squash and stretch

See merge request KartKrew/Kart!501
2021-12-21 06:20:59 +00:00
James R
d8e7703917 Ignore level colormap when fullbright 2021-12-20 04:17:33 -08:00
James R
f1389b49d2 Automatically switch to new default rendezvous server 2021-12-20 01:37:44 -08:00
James R
1767b4ae29 Update rendezvous server to kartkrew.org 2021-12-20 01:34:48 -08:00
James R
a7edda15e9 Remove 1.4 master server address enforcer 2021-12-20 01:27:36 -08:00
James R
de0b2c2e75 Add followers before patch 2021-12-18 21:00:30 -08:00
James R
efa92b0206 Add followers.pk3 to main files list 2021-12-18 20:40:56 -08:00
Sal
f0c795d258 Merge branch 'read-sprite-header-once' into 'master'
Don't read sprite header twice

See merge request KartKrew/Kart!502
2021-12-19 04:40:27 +00:00
James R
4712daddf9 Start checking files from correct position on rejoin 2021-12-18 19:52:59 -08:00
lachablock
e14af65d52 Merge remote-tracking branch 'origin/master' into getmobjzmovement 2021-12-19 13:22:59 +11:00
Sal
6d72b80984 Merge branch 'fix-spherebox-dehacked' into 'master'
Add missing spherebox states to dehacked (fixes SOC/Lua states)

See merge request KartKrew/Kart!503
2021-12-18 01:44:25 +00:00
James R
7d2633f572 Correct spherebox dehacked states list 2021-12-17 17:32:19 -08:00
Sally Coolatta
4a34eb5e96 Disable ASM column / span entirely
Causes strange unidentifiable bugs, and testing with tape who has a few framerate issues. perfstats outputted practically the same frames for everyone. Whatever frame drops exist are simply something else and ASM is not helping at all, so decided it's not worth it.

Behind a define anyway, if someone decides to fix it anyway.
2021-12-17 16:39:09 -05:00
SteelT
156ab1da1c Merge branch 'brightmap' into 'master'
Brightmaps

See merge request KartKrew/Kart!499
2021-12-17 19:10:52 +00:00
James R
84ccf18b76 Read PNG and patch header in one go for sprites 2021-12-17 04:50:40 -08:00
Sally Coolatta
510c65699b Fixed animated span brightmaps being offset
`levelflat->u.texture.num` is modified at run-time to do animations, unlike wall textures which use `texturetranslation`.
2021-12-17 04:16:51 -05:00
Sally Coolatta
5183d3161c Simplify span brightmap load 2021-12-17 03:42:59 -05:00
James R
ade0b48b89 Add missing mobj flags to SOC/Lua 2021-12-16 23:05:44 -08:00
James R
51941f5896 MF_NOSQUISH to disable K_Squish 2021-12-16 23:03:39 -08:00
Sally Coolatta
b0317e7120 Merge branch 'master' into brightmap 2021-12-16 13:06:57 -05:00
Sally Coolatta
603a97938b "Support" ASM functions
(By that, I mean it defaults to ASM, but uses the C version when drawing brightmapped stuff. Was this worth the minor performance gain over just making NOASM=1 default? I dunno.)
2021-12-16 13:05:37 -05:00
Sally Coolatta
6399cd57e1 Fix the print's file extension 2021-12-16 11:52:51 -05:00
Sally Coolatta
daab86f461 Implement brightmaps for span drawers, fix column loop bug 2021-12-16 11:48:32 -05:00
Sal
4f6121cef2 Merge branch 'landmine-explosion' into 'master'
Remove Landmine dust ring on explosion

See merge request KartKrew/Kart!495
2021-12-16 16:16:36 +00:00
Sal
24a5f20fc7 Merge branch 'vote-gametype-change' into 'master'
Fix timelimit not getting set when going to Battle

See merge request KartKrew/Kart!496
2021-12-16 16:16:26 +00:00
Sally Coolatta
04c1a9dcb1 Brightmaps on walls 2021-12-16 09:40:14 -05:00
Sal
3ca0dc376d Merge branch 'slow-startup' into 'master'
Optimize PNG detection and generate blendtables on parallel thread

See merge request KartKrew/Kart!498
2021-12-16 10:10:22 +00:00
Sal
809c766c99 Merge branch 'sphere-boxes' into 'master'
Blue Sphere boxes in Battle

See merge request KartKrew/Kart!494
2021-12-16 10:09:03 +00:00
James R
ccdbd9ccc9 A_ItemPop: var1 determines roulette or sphere award 2021-12-15 22:34:43 -08:00
Sally Coolatta
cfe8a1bfa4 No random chance for sphere box
Asked Oni how it should be done, he said item + sphere box at the same time
2021-12-15 21:21:54 -05:00
James R
c39edbbf7f Read only PNG header bytes to confirm a sprite is a PNG
Saves about 300 ms for R_InitSkins.
2021-12-15 16:02:23 -08:00
James R
29399f6033 Send R_GenerateBlendTables number crunch to parallel thread 2021-12-15 15:34:51 -08:00
James R
de2eab5e7a Inflate only size out bytes
Saves time uncompressing an entire lump when only part of
it is needed.
2021-12-15 14:10:20 -08:00
James R
152f4224d9 Read only header bytes when creating textures list
R_LoadTextures was reading in the entirety of every
texture lump, now it only reads the 8 byte PNG header.
This saved more than 1 second for me (1.68 s -> 0.24 s).

PNG still need to be read in entirely to check their
dimensions; I didn't bother looking into optimizing it
since we don't have many PNG textures right now.
2021-12-15 14:08:57 -08:00
James R
6edbc9922a Merge branch 'free-texture-lumps' into 'master'
Free 700 mb of unused texture data

See merge request KartKrew/Kart!497
2021-12-15 21:49:01 +00:00
James R
2ac9761af0 Free unused texture lumps in R_LoadTextures
PU_CACHE never gets freed automatically and Z_Unlock does
NOTHING.
2021-12-14 23:19:45 -08:00
Sal
463cbcef62 Merge branch 'gasping-for-air' into 'master'
Add gasp sound effect when emerging from water

See merge request KartKrew/Kart!484
2021-12-15 04:16:46 +00:00
Sal
00a08e07ce Merge branch 'namefix' into 'master'
Some fixes for bad player info on joining servers

Closes #151

See merge request KartKrew/Kart!470
2021-12-15 04:16:07 +00:00
James R
5145011251 Add some missing G_SetGametype calls
Fixes timelimit not being reset when switching gametypes
on the vote screen.
2021-12-14 18:11:08 -08:00
James R
1140410e2c Spawn SPHERE BOXES randomly in Battle
They look like random item boxes (the ones in Race) but
have a blue sphere inside of them. One box is worth 10
blue spheres. More boxes spawn during Overtime.

New sprite: SBOX
2021-12-14 01:05:42 -08:00
Sal
5be15fedda Merge branch 'ogl-sw-perspective' into 'master'
Fix OpenGL software perspective

See merge request KartKrew/Kart!493
2021-12-13 19:48:27 +00:00
James R
033a489b85 Fix bad merge @ 4a8340cd4 2021-12-13 01:29:20 -08:00
James R
1285812b84 Merge branch 'full-file-list' into 'master'
Disable downloading and check md5 of mainwads (maps.pk3, patch.pk3, etc.) in netgames

See merge request KartKrew/Kart!490
2021-12-13 06:31:31 +00:00
Sal
d7829334d3 Merge branch 'bot-maint' into 'master'
Bot maintenance

See merge request KartKrew/Kart!489
2021-12-12 19:54:38 +00:00