Commit graph

18311 commits

Author SHA1 Message Date
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
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
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
James R
184a89db43 Always play splash sfx when entering/exiting water 2021-12-12 03:30:08 -08:00
James R
35238510e3 Use sfx_s3k38 2021-12-12 03:28:59 -08:00
James R
32127f37ee Check mainwads netgame md5 in developer build 2021-12-12 02:58:06 -08:00
James R
9e1146bc30 Disable downloading for now 2021-12-12 02:47:46 -08:00
Sal
f9abe3f2e4 Merge branch 'flame-shield-slope-resistance' into 'master'
Slope resistance for flame shield

See merge request KartKrew/Kart!488
2021-12-12 09:13:05 +00:00
Sally Coolatta
37aa0b633a Merge branch 'master' into bot-maint 2021-12-12 04:11:46 -05:00
Sally Coolatta
cec8137864 Require Effect 1 for using bot controller angle. 2021-12-12 04:07:32 -05:00
Sally Coolatta
bfa3311eca Make rivals even more aggressive to players
:)
2021-12-12 03:28:49 -05:00
Sally Coolatta
cd0a259bbe Code cleanup
- K_FindBotController returns the line_t directly, instead of a linedef index.
- Trick panel code is in its own function.
- Try to fix infinite bot heat death
2021-12-12 02:32:03 -05:00
Sally Coolatta
0e43a04dee Try adding tripwire support
Kind of lazy. When checking bot traversal, it considers tripwires as walls. K_BotCanTakeCut now is limited to whatever can take tripwires (no more hyudoro invisibility).

Probably should have something more foolproof, but it's annoying to test any changes to this. The only maps I can think of with really easy tripwires clearly don't have their waypoints with bots in mind, the rest are very optional or out of the way or otherwise the bots don't want to even touch them at all.
2021-12-12 02:07:21 -05:00
SteelT
980acccdb2 Merge branch 'fix-model-tilt' into 'master'
Fix model tilting on slopes

See merge request KartKrew/Kart!487
2021-12-12 04:41:41 +00:00
Sally Coolatta
5f4e4f8cb5 Merge branch 'master' into bot-maint 2021-12-11 14:13:27 -05:00
Sally Coolatta
bfdae28409 Not Climable flag on a bot controller disables rubberbanding 2021-12-11 04:18:09 -05:00