Commit graph

16760 commits

Author SHA1 Message Date
James R
7e709cd018 Fix compiler warning 2022-01-16 17:35:47 -08:00
James R
c860427026 Add HOSTTESTERS make flag 2022-01-16 17:34:12 -08:00
James R
5441c55baf Do not add gfx.pk3 in testers build
MISC_PATCH.pk3 covers it.
2022-01-16 17:32:58 -08:00
toaster
4d4ea71a44 Music also 2022-01-17 01:23:14 +00:00
toaster
4cff27797c Guard IsPlayerAdmin in testers/hosttesters 2022-01-17 01:22:10 +00:00
toaster
6980975f11 Revert "Disable player admins"
This reverts commit 4d2793918c.
2022-01-17 01:19:13 +00:00
toaster
4bc916e0d5 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into testers 2022-01-17 01:13:45 +00:00
toaster
250dc70827 TESTERS stuff
#define TESTERS for tester executable
#define HOSTTESTERS for hosting with TESTERS-specific files (MISC_ etc)
2022-01-17 01:12:30 +00:00
toaster
e8b0caf878 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into testers 2022-01-17 01:01:08 +00:00
toaster
171cc75607 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into hannushadow 2022-01-17 00:16:36 +00:00
Sal
fda28b7f54 Merge branch 'terrainjoin' into 'master'
Terrain join fix

See merge request KartKrew/Kart!528
2022-01-17 00:13:32 +00:00
toaster
867b0516e6 Terrain pointers were not getting properly relinked on netsave load, now they are. Thanks Sal for taking a moment out of your day to rubber duck with me 2022-01-16 23:53:14 +00:00
SteelT
d384d1b828 Merge branch 'precip-overflow' into 'master'
Fix precip sector search deadlock

See merge request KartKrew/Kart!525
2022-01-16 23:42:33 +00:00
toaster
14e5ee638e blessings be to hannu
Hannu's dropshadow hack, copied across and edited for Kart's column drawer setting functions.
2022-01-16 23:21:38 +00:00
toaster
ef6ee928ac After I experienced a few consistent crashes for invalid subsector references in P_BounceMove/P_SlideMove, add a few extra checks for whether the mobj is removed. 2022-01-16 22:03:27 +00:00
toaster
3eac1fed0f Rewrote the fix to:
- be comprehensive (still allow rain to be heard against the topleft corner, not just the bottomright corner)
- not use volatile (now uses INT64)
- not perform this pointinsubsector search if the map has no rain/thunder (yes I tested EHZ with this check dummied out so this bug won't crop up again later)
2022-01-16 20:57:56 +00:00
James R
521f8eac3e Fix overflow in precipitation sector search 2022-01-14 22:36:49 -08:00
SteelT
2af1c6fc30 Fix sounds playing multiple times during intro if interpolation is on 2022-01-12 21:07:30 -05:00
Sal
fa6d4bfb2d Merge branch 'bot-maint-2' into 'master'
Bot maintenance 2

See merge request KartKrew/Kart!516
2022-01-13 00:47:54 +00:00
James R
6a7ca44302 Don't interpolate frames if avg <35
Proper solution for 85ce207e9
2022-01-12 12:57:52 -08:00
James R
85ce207e9c Do not interpolate if time between game tics <1/35 2022-01-12 04:37:26 -08:00
James R
0d41c36f09 Closer OpenGL underwater/heatwave effect to Software 2022-01-12 04:30:43 -08:00
James R
2c6dfd5498 Do not speed up underwater/heatwave effect in OpenGL 2022-01-12 04:30:03 -08:00
James R
969d449973 Interpolate from time of previous tic
Previously interpolated from last 35th of a second, which
may be offset from game time due to connection lag.

Consider this the proper fix to 6ecac4159a too.
2022-01-12 03:38:17 -08:00
James R
8a7a20e6f2 Fix NOMIXER 2022-01-12 00:33:35 -08:00
SteelT
71a5030318 Merge branch 'master' into fix-nametag-distance-check 2022-01-12 02:50:32 -05:00
James R
fc103834af Cache terrain on levelflats 2022-01-11 22:49:01 -08:00
Sally Coolatta
c606e1e96b Force shrink can be toggled individually online
In preparation for a "make yourself small by default" cheat on the char select like SMK.
2022-01-09 04:08:26 -05:00
Sally Coolatta
7e76366fe8 Keep your large items 2022-01-09 01:16:36 -05:00
Sally Coolatta
1ad82e7651 Update how scaled speed is calculated
This makes it so that the scaled speed shows up on the percentage speedometer.
2022-01-09 00:10:14 -05:00
Sally Coolatta
23f9649fb9 More extremely scaled grow & shrink players!
- Grow is x2 instead of x1.5.
- Shrink is x0.5 instead of x0.75.
- Physics were left ALONE!! This is purely a HITBOX / VISUAL change!! Grow isn't any faster, and Shrink isn't any slower!! The only potential worry is low ceilings in maps!!
2022-01-09 00:00:01 -05:00
James R
93c36af2c0 Oops almost fucked it again 11ced1c3d 2022-01-06 00:46:14 -08:00
James R
37b2d81788 Merge branch 'battle-tweak' into 'master'
Battle tweaks

See merge request KartKrew/Kart!517
2022-01-06 06:35:28 +00:00
James R
11ced1c3d6 Fix nametag distance check 2022-01-05 22:32:07 -08:00
Sally Coolatta
bc9cf6faf2 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart 2022-01-06 01:21:10 -05:00
Sally Coolatta
3ba8f38829 Save showfps 2022-01-06 01:20:31 -05:00
James R
5da3dd94c0 Disable titlecard fade on join 2022-01-05 21:24:31 -08:00
Sally Coolatta
5edf180bd7 Merge branch 'master' into battle-tweak 2022-01-05 19:38:45 -05:00
Sally Coolatta
c5279e5795 Fix missing line for trick panels 2022-01-05 17:58:48 -05:00
Sally Coolatta
8326f32456 Fix default terrain friction 2022-01-05 17:44:11 -05:00
Sally Coolatta
b31d66e7f8 PLEASE NO RNG 2022-01-05 05:10:09 -05:00
Sally Coolatta
7533472799 Less Karma Bomb CBT
- Karma delay is 3sec instead of 10sec
- Karma delay is only used for initially changing into a bomb
2022-01-05 03:46:19 -05:00
Sally Coolatta
bb53ee22be Buff tether in Battle
- /4 minimum distance
- x2 speed
2022-01-05 03:24:19 -05:00
Sally Coolatta
7613cabfae No flashing tics in Battle 2022-01-05 03:17:38 -05:00
Sally Coolatta
9e3e065479 Bot lookback
- Bots use lookback when they have a attack item that hits back & they see you.
- Bot item throwing was made slower for easier difficulties. (Lv. 9 should still be pretty fast.)
- Bot cone detection was made much much farther & wider

Lookback sparkle is a signal for "they are contemplating throwing backwards"
2022-01-05 02:09:31 -05:00
Sally Coolatta
44374879de Merge branch 'master' into bot-maint-2 2022-01-05 00:00:12 -05:00
Sal
8f22730dc5 Merge branch 'infinitepainfloor' into 'master'
Fix infinite pain floors

See merge request KartKrew/Kart!515
2022-01-05 03:45:14 +00:00
toaster
7237b6bea9 Fix infinite pain floors
If inflictor is null and you're in hitlag do not damage again
2022-01-04 23:35:59 +00:00
toaster
30fe173617 Bracketing (fixes a weird bug with bubble) 2022-01-04 23:21:28 +00:00
toaster
6651bd4043 Also fix bubble 2022-01-04 23:03:51 +00:00
toaster
60f08f2380 Defines per Sal request 2022-01-04 23:02:09 +00:00
toaster
a749160c6b Make followers only stretch for their movement *relative* to the player, not their movement in general. 2022-01-04 22:43:54 +00:00
toaster
316cd61d9f * Fix follower colour being limited to UINT8.
* Fix follower colour not being set in offline mode (based on Steel's fix but no UINT8).
2022-01-04 22:41:35 +00:00
Sal
69fa93f980 Merge branch 'terrain-lump' into 'master'
TERRAIN lump

See merge request KartKrew/Kart!480
2022-01-04 20:13:11 +00:00
Sally Coolatta
211fc17974 NULL terrain for spectators 2022-01-04 12:45:20 -05:00
Sally Coolatta
ef5a4f01d4 Merge branch 'master' into terrain-lump 2022-01-04 12:34:47 -05:00
Sal
d54cfcdc7b Merge branch 'ring-sting-fixes' into 'master'
Fix ringsting and hitlag

Closes #111

See merge request KartKrew/Kart!511
2022-01-04 17:28:55 +00:00
Sally Coolatta
50eb3eeda2 Don't use damage hitlag effects on a person when they "win" a ring sting exchange
Only applies to ring sting collision (no other types of damage touching), only applies to the person not getting stung. The person who is getting stung & sting trades are unaffected.
2022-01-04 00:39:01 -05:00
Sally Coolatta
cab1af5498 Don't do hitlag combo with items with threshold
Prevents instakill ballhog
2022-01-04 00:23:12 -05:00
Sal
20b1ddb4d3 Merge branch 'dont-scale-gravity' into 'master'
Scale gravity with map scale instead of object scale

See merge request KartKrew/Kart!513
2022-01-04 04:22:42 +00:00
Sal
b1ce817873 Merge branch 'uncapped-fixes' into 'master'
Uncapped fixes | Add functions to handle interpolation

See merge request KartKrew/Kart!512
2022-01-04 04:22:31 +00:00
Sally Coolatta
c4385166e5 Scale gravity with map scale instead of object scale 2022-01-03 20:02:22 -05:00
Sally Coolatta
df3a0ad507 Only do spread if above 0 2022-01-03 01:40:38 -05:00
James R
5d6595f8a0 Load misc build testers data files 2022-01-02 22:08:18 -08:00
James R
4d2793918c Disable player admins 2022-01-02 21:58:18 -08:00
James R
72f9121f5d Disable wad loading in TESTERS build 2022-01-02 21:50:23 -08:00
James R
a5d219ad6e More TESTERS guard 2022-01-02 21:38:06 -08:00
Sally Coolatta
2033e84bce Minimum impact amount for splashes 2022-01-03 00:17:59 -05:00
Sally Coolatta
9e56e54e31 Implement particle spawn frequency, offset spawning by player num 2022-01-03 00:07:46 -05:00
Sally Coolatta
c6f69e8f59 Add required speed percent 2022-01-02 21:42:20 -05:00
James R
5498f9d02d Let objects receive damage while in hitlag 2021-12-29 22:58:21 -08:00
James R
07f965d4eb Check to sting player before removing one ring 2021-12-29 22:25:11 -08:00
James R
cdce6824f2 Fix M_MkdirEach and M_PathParts
OKAY I didn't test this on Windows before, it was BROKEN
AND SHITTY CODE.
2021-12-29 22:13:06 -08:00
Sally Coolatta
1558a7e8ec Fix lap animation interp being reversed 2021-12-25 05:51:09 -05:00
Sally Coolatta
ac2ab1bdcc Only calculate string when we need it 2021-12-25 05:18:33 -05:00
Sally Coolatta
fcc5c8e0c4 Interpolate music credits 2021-12-25 04:57:35 -05:00
Sally Coolatta
762ee92c06 Purple spark electricity UNCAPPED 2021-12-25 03:53:55 -05:00
Sally Coolatta
1c908f533d Fully fix drop shadows
It used the thing's floorz / ceilingz directly -- that wouldn't account for interpolated coordinates.
2021-12-25 02:07:56 -05:00
Sally Coolatta
09eefc7e9b Make drop shadows slightly better in uncapped
They still jitter uphill
2021-12-24 23:17:28 -05:00
Sally Coolatta
b87b00fcda Apply the same fix for instashield overlay 2021-12-24 23:07:12 -05:00
Sally Coolatta
d63ce0c803 Fix jawz reticule in uncapped 2021-12-24 22:52:38 -05:00
Sally Coolatta
0a915a719b Hack to fix drift spark explosion while keeping its interpolation 2021-12-24 13:17:57 -05:00
Sally Coolatta
6c13ddca01 Rename PitchRoll stuff back
I did a find+replace because I realized the functions I added were named too similar to other ones & to make the purpose more obvious ... but it ended up changing them too anyway! Gah!
2021-12-24 13:00:12 -05:00
Sally Coolatta
cc250afd45 P_InitAngle, to fix angle interpolation on spawning objects 2021-12-24 12:45:51 -05:00
Sally Coolatta
ce01b494f4 Add functions to handle interpolation
Much less code duplication
2021-12-24 11:30:19 -05:00
Sally Coolatta
9bc48762a8 Merge branch 'terrain-lump' of https://git.do.srb2.org/KartKrew/Kart into terrain-lump 2021-12-24 09:50:12 -05:00
Sally Coolatta
ff3cb90cda Super random push
Looks better to me, and makes cone have a more pronounced effect
2021-12-24 09:50:00 -05:00
James R
cdf75cfbe0 Fix incompatible prototype 2021-12-23 21:08:19 -08:00
Sally Coolatta
8cdfe87dca Let's just convert this in a more sane fashion... 2021-12-23 23:15:36 -05:00
Sally Coolatta
2d5d78b76e Oops ... can't use raw angles for P_RandomRange anyway. 2021-12-23 22:58:25 -05:00
Sally Coolatta
a0c36c6126 Wrong var name oops
I autopiloted
2021-12-23 22:50:57 -05:00
Sally Coolatta
d1827b1c16 Fix it not using footstep->cone 2021-12-23 22:48:23 -05:00
Sally Coolatta
72b2997440 Remove off by one """"fix"""" 2021-12-23 03:23:42 -05:00
Sally Coolatta
28d99342ee Merge branch 'master' into terrain-lump 2021-12-23 03:21:22 -05:00
Sally Coolatta
86991112b1 MORE DEHACKED SHIT 2021-12-23 03:20:56 -05:00
Sally Coolatta
c203bbdce9 Merge branch 'master' into terrain-lump 2021-12-23 03:05:10 -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
66094ec72d Replays: use git commit in DEVELOP, version string in release 2021-12-20 01:20:17 -08:00
James R
fa691c0ee4 Create folder with branch name when saving replays 2021-12-18 22:31:33 -08:00
Sally Coolatta
9bae31fd03 Properly put in the parameters 2021-12-19 01:09:37 -05:00
Sally Coolatta
da459a9c73 Add terrain splashes 2021-12-19 00:57:45 -05: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
Sally Coolatta
528ee29f2f Use mobjzmovement for footsteps 2021-12-18 23:30:57 -05:00
James R
4712daddf9 Start checking files from correct position on rejoin 2021-12-18 19:52:59 -08:00
Sally Coolatta
21e868216e Merge remote-tracking branch 'origin/getmobjzmovement' into terrain-lump 2021-12-18 21:25:20 -05:00
Sally Coolatta
8667aeb620 Add footstep particles 2021-12-18 21:23:41 -05:00
lachablock
e14af65d52 Merge remote-tracking branch 'origin/master' into getmobjzmovement 2021-12-19 13:22:59 +11:00
Sally Coolatta
0cd3efc76d Merge branch 'master' into terrain-lump 2021-12-18 18:36:05 -05:00
Sally Coolatta
edef941a08 Add scale & color parameters to terrain particles 2021-12-18 18:30:19 -05:00
Sally Coolatta
436b6d50ea Bot predict nudging scale is based on the prediction's radius 2021-12-18 16:31:08 -05:00
James R
7d2633f572 Correct spherebox dehacked states list 2021-12-17 17:32:19 -08:00
Sally Coolatta
a6d1043d17 Reduce turning for bots when they stair jank 2021-12-17 18:29:35 -05: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
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
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
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