Commit graph

17058 commits

Author SHA1 Message Date
James R
be80ef5365 Apply volume to sounds with origin too
Previously sounds with an origin would always start at max volume. This is
because the distance calculation adjusts the volume, and that volume needs to
be updated every tic as distance changes. Storing the original volume works.

(cherry picked from commit 4ce347c6f2)
2020-09-22 20:47:31 -07:00
SteelT
50fe3a728c Fix M_DrawSetupMultiPlayerMenu crashing trying to draw null face graphics. 2020-09-22 23:03:00 -04:00
James R
cc7702005f Fix console backpic scaling
KARTKREW is 640x400 LOL
2020-09-22 16:12:00 -07:00
James R
c0abb2ca09 Don't let players change their name more than five times per minute
(ported 2948885660 and 4e9d006c37)
2020-09-22 12:04:28 -07:00
toaster
5da7722255 Fix the issue where skincolor and character (and inadvertedly, name changes and followers) would not be sent to the server, leading to the 0,0 Ashura bug. 2020-09-22 19:55:22 +01:00
toaster
a43f88074e Fix the weird "Eggman is not a colour" print by fixing the code that overwrote your skin and colour willy-nilly, and then disabling it (it was a mistaken element of the port). 2020-09-22 19:44:13 +01:00
toaster
6104c802e9 Temporarily disable the POSITIONI sweeping for the first 16 tics of map drawer. (Looks better for if we showcase 2.2 merge footage before creating a better title card). 2020-09-22 18:55:45 +01:00
toaster
87c10047a5 A bunch of serious heavy lifting to fix title cards and closely related.
* Fix the title card fade's one-frame invalid memory read.
* Disable a redundant gamestate-activated wipe, which A) horribly broke Encore wipes, B) made normal map transitions take longer than they should, and C) held on the one glitchy title card wipe frame to make the game look more broken than it was.
* Fix Encore wipes being broken by the merge.
* Disable (not remove; may want to use later) the :nick: patch draw attempts from the title card drawer.
* Re-add zonettl support to the title card drawer.
* Move the title card drawer in front of the fade (Looks better for if we showcase 2.2 merge footage before creating a better title card).
2020-09-22 18:27:47 +01:00
toaster
1f52156d7d Add a mechanism where in DEVELOP builds, you can use any feature that doesn't have an unlockable in the listings attached to it.
This is necessary to test fixing wipes, because Encore mode is currently completely inaccessible otherwise.
2020-09-22 18:10:49 +01:00
toaster
1ec6240001 Fix vwoops not properly clipping through stuff 2020-09-22 15:07:12 +01:00
toaster
eb48f71f89 Fix deathpits not vwooping you around 2020-09-22 14:43:25 +01:00
toaster
b41086a094 Fix UI timers being borked at map start 2020-09-22 13:53:18 +01:00
toaster
a052501b01 Fix signpost front plate being fucked up (was broken by custom skincolours) 2020-09-22 13:41:48 +01:00
toaster
2e922a3673 Null out the messages Sal added while trying to fix the thing 2020-09-22 13:21:24 +01:00
toaster
e053fd249b Game works now 2020-09-22 13:19:35 +01:00
James R
ff7813ef38 Use sector lines when snapping anchor to point
Sometimes segs skip a point!
2020-09-22 01:30:59 -07:00
Sally Coolatta
ef8f2e6fa4 Minor touchups to netcode 2020-09-22 01:53:28 -04:00
Sally Coolatta
99a1bacb81 Turning code overhaul
Packet drops are still broken, but at least netgames are playable now.
2020-09-22 00:35:44 -04:00
lachwright
81e541fdba Allow Canarivore gas to interact with players again (oops) 2020-09-22 13:11:56 +09:30
James R
0cddfdee74 Ignore slope anchors in P_SpawnMapThing 2020-09-21 19:35:49 -07:00
James R
0999fa7096 Fix vertex iteration and Not Dynamic flag 2020-09-21 19:35:49 -07:00
James R
ce7161e81d Check out this massive slopes
Line specials 777 - slope floor by anchors, 778 - slope ceiling by anchors,
779 - slope floor and ceiling by anchors.

Thing types 777 - floor anchors, 778 - ceiling anchors.

Summary.

These line specials slope the front or back sector's floor/ceiling by 'anchor'
things. Anchors are floor or ceiling specific and snap to the nearest vertex.
Using this method it is possible to create seamless slopes, without even
tagging.

Details.

Normal slope flags apply. To slope the backside sector, set No Climb on the
line. An anchor each is required to be near three of a sector's vertices in
order to slope it. More may be present but the order is undefined.
2020-09-21 19:35:49 -07:00
James R
f9aae8c2e8 And use karthud not kartstuff for khud_enginesnd :v 2020-09-21 19:34:51 -07:00
SteelT
da47d0c437 Fix spring sound never playing
It was all because of one line, I hate this.
2020-09-21 20:18:36 -04:00
SteelT
6912915304 Fix hitting springs crash
MFE_SPRUNG flag not being applied to the object sprung would cause a infinite recursion of `P_TryMove` -> `P_CheckPosition` -> `PIT_CheckThing` -> `P_DoSpring` -> etc
Also fix springs not being de-solidfied

Dunno what's up with the spring sound not playing
2020-09-21 15:01:56 -04:00
lachwright
4c5ea92516 Prevent Canarivore gas from teleporting up walls 2020-09-21 17:23:53 +09:30
James R
05a31da7c3 k_enginesnd -> khud_enginesnd 2020-09-20 14:54:45 -07:00
James R
d9f7f155a2 Merge remote-tracking branch 'pub/next' 2020-09-20 14:43:35 -07:00
James R
7533109dfc Fix few poor conflict resolution 2020-09-20 14:24:50 -07:00
James R
ef108cbb36 Merge remote-tracking branch 'pub/next' 2020-09-20 14:07:54 -07:00
Sal
1208a81429 Merge branch 'engine-sounds-fix' into 'master'
Fix engine sound volume

See merge request KartKrew/Kart-Public!231
2020-09-20 17:07:31 -04:00
Zippy_Zolton
bf857e1c59 Add-on clarity from Kart 2020-09-20 13:07:28 -05:00
lachwright
511518f0e4 Only allow explicitly living players to trigger sector specials 2020-09-20 11:49:53 +09:30
Tatsuru
5301255032 Ignore spectators 2020-09-19 23:10:03 -03:00
James R
ec8eb47852 Shitty decode listserv 2020-09-19 18:54:04 -07:00
James R
cc3a9b1bb1 Merge branch 'objectplace' into 'next'
Fix & improve objectplace

Closes #232

See merge request STJr/SRB2!1139
2020-09-19 21:40:55 -04:00
James R
3e511b131f Merge branch 'start-netid-at-1' into 'next'
Avoid CV_FindNetVar returning a normal cvar (closes #251)

Closes #251

See merge request STJr/SRB2!1137
2020-09-19 21:40:45 -04:00
James R
d99757278b Don't ifdef CV_LoadDemoVars out if OLD22DEMOCOMPAT defined 2020-09-19 18:34:52 -07:00
Sal
e64b120fc1 Merge branch 'link-with-exchndl' into 'master'
Link with exchndl, instead of dynamically loading it.

See merge request KartKrew/Kart-Public!230
2020-09-19 15:42:00 -04:00
Sal
b18ea4faf1 Merge branch 'silly-numbers' into 'master'
Kill some nonsense

See merge request KartKrew/Kart-Public!232
2020-09-19 15:41:51 -04:00
kaysrishaq
87d71bf811 Update lua_infolib.c 2020-09-18 17:47:38 -04:00
James R
9f8c9b6026 Kill some nonsense 2020-09-18 13:11:49 -07:00
Sally Coolatta
d03cbdbba0 Make it a bit louder 2020-09-18 01:10:59 -04:00
SteelT
d8bcc13fec Merge branch 'master' into trick-panels
# Conflicts:
#	src/d_player.h
#	src/dehacked.c
#	src/k_kart.c
#	src/p_user.c
2020-09-18 00:54:45 -04:00
Sally Coolatta
3b7681718c Fix engine sounds' dampening to a sane value, now that the bug preventing it from working properly was fixed.
You can hear engines in 16P again, but it's not as obnoxiously loud as it was before. Additionally, I commented this function better.
2020-09-17 18:58:44 -04:00
Steel Titanium
e656a7d92d Link with exchndl, instead of dynamically loading it.
It caused problems with crash reports not being made if the current working directory gets changed. Not even recommended anymore per the drmingw readme
https://github.com/jrfonseca/drmingw#exchndl
2020-09-17 15:59:02 -04:00
lachwright
2d3eae9ee1 Save changes made to the bot's skin, and display it properly in save select 2020-09-17 19:00:49 +09:30
lachwright
0a7802c8e9 Allow JumpSpin abilities to be used with non-ability shields 2020-09-16 16:50:10 +09:30
Sal
00515e2b6a Merge branch 'disable-rpc-in-dedicated' into 'master'
Disable Discord Rich Presence on dedicated servers

See merge request KartKrew/Kart-Public!229
2020-09-16 01:43:40 -04:00
James R
2d5b48e08c Disable DRPC if dedicated 2020-09-15 19:56:08 -07:00