Commit graph

16755 commits

Author SHA1 Message Date
James R
80cd5403c7 Fix splitscreen fov 2020-09-23 17:50:47 -07:00
James R
d0bdbff9f9 Add back R_ApplyViewMorph 2020-09-23 17:50:47 -07:00
toaster
23faef24d7 * Introduce SPR2_XTRA for face graphics, since the current system is prone to plenty of conflicts with modders if you're not careful.
* Fixed a bug where you'd see :nick: on the current character selection screen if you didn't have many skins loaded.
* Fixed a bug where character skins loaded in PK3s would attempt to load every single lump of the PK3, even if it wasn't in the same subfolder as the original S_SKIN, as a sprite into the player struct. Could stand to be ported to vanilla.

Requires new chars.kart, which was created using the help of the indev 2.2-based Kartmaker update which will be available shortly.
2020-09-23 23:46:54 +01:00
James R
dd2fa3077e Merge branch 'listserv' into 'next'
Percent decode listserv (closes #244)

Closes #244

See merge request STJr/SRB2!1150
2020-09-23 18:43:41 -04:00
James R
7374769573 Merge branch 'bird-pain' into 'next'
Fix playing back demos never working (closes #203)

Closes #203

See merge request STJr/SRB2!1149
2020-09-23 18:37:56 -04:00
Riku Salminen
487a409760 Wrote 3 lines in 1, as Zwip-Zwap Zapony suggested 2020-09-23 22:37:06 +03:00
Riku Salminen
8e7e76fad9 Update g_demo.c, Remove old comments of fractional loss of one byte 2020-09-23 15:29:03 -04:00
Riku Salminen
376582c750 Updated 16 bit momentum values to 32 bit in demos, changed demo version 2020-09-23 21:26:51 +03:00
toaster
efdb8e67d9 Fixes a duplicated condition which sends the player back to the title screen under advancemap next. Teeechnically does stuff for issue #91, but I'd like to take a more thorough approach later once I've got consent for a potentially radical change to this currently useless feature. 2020-09-23 15:08:21 +01:00
toaster
f6158b7cf4 Fixed a crash I recieved while playtesting bots on Petref which was caused by an invalid subsector reference. This can only happen when the mobj was removed. I have no idea how or why this wasn't caught earlier, but I suspect we inherited this issue from upstream in the merger. 2020-09-23 12:49:42 +01:00
James R
1b534aabbe Forgot to commit s_sound.h 2020-09-22 20:51:01 -07:00
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