Commit graph

16487 commits

Author SHA1 Message Date
Lachlan Wright
2fc82d429e Merge branch 'more-helpful-lua-error' into 'next'
Make "divide by zero" or "modulo by zero" errors show the file and line of where it happened

See merge request STJr/SRB2!1145
2020-09-25 09:28:49 -04:00
Sally Coolatta
953afddd03 Fix camera not updating when F12ing, fixed camera not taking aiming into account, and minor cleanup 2020-09-25 09:28:19 -04:00
Lachlan Wright
9f58d6f053 Merge branch 'snake-fixes' into 'next'
Fix bonus items sometimes overriding apples in Snake minigame

See merge request STJr/SRB2!1134
2020-09-25 09:23:33 -04:00
Lachlan Wright
ed58fab45f Merge branch 'dye-fix' into 'next'
Fix players not properly decolorizing via linedef action

See merge request STJr/SRB2!1127
2020-09-25 08:54:16 -04:00
Lachlan Wright
0060bac482 Merge branch 'more-stats' into 'next'
Add tic and UI times to render stats

See merge request STJr/SRB2!1125
2020-09-25 08:54:01 -04:00
Lachlan Wright
6faa84eaee Merge branch 'w-initfile-bruh' into 'next'
Fix a bug where adding the same mod multiple times counted towards the mod limit

See merge request STJr/SRB2!1124
2020-09-25 08:52:22 -04:00
Lachlan Wright
923e3d4888 Merge branch 'gl-shearing-fix-2' into 'next'
Fix cv_glshearing 2 in first person

See merge request STJr/SRB2!1114
2020-09-25 08:51:57 -04:00
Lachlan Wright
325f4757f0 Merge branch 'console-silly-characters' into 'next'
Get rid of some silly behavior with certain characters in console

See merge request STJr/SRB2!1110
2020-09-25 08:31:08 -04:00
Lachlan Wright
1b4fa12493 Merge branch 'more-nodes' into 'next'
Increase MAXNETNODES, show more servers in the server browser

See merge request STJr/SRB2!1106
2020-09-25 08:24:16 -04:00
James R
ce4dc9fbc9 Adjust volumes by 5% in menu 2020-09-25 02:29:40 -07:00
James R
922f6aa9f8 Scale volume cvars by half, 200% max and 50% default 2020-09-25 02:23:44 -07:00
James R
c9e3281b99 Merge remote-tracking branch 'origin/master' into tinnitus 2020-09-25 01:57:08 -07:00
Sally Coolatta
58d9ac899d Fixed friction being applied incorrectly
Kart's manual player friction adjustments were being called after movefactor was reset, meaning friction changed but movefactor was default, essentially creating old 2.1 friction again
2020-09-25 04:33:20 -04:00
Sally Coolatta
e19cffa819 Quitting players act like bots 2020-09-25 02:27:11 -04:00
Sally Coolatta
861cb8e144 Fix springs giving you way too many
(Also removed a bunch of instances of PF_SPINNING since we haven't used it)
2020-09-25 02:24:19 -04:00
Sally Coolatta
672c4fb763 Make aiming relative too 2020-09-25 02:06:37 -04:00
James R
908d38e656 Merge branch 'slope-anchors-take-2' into 'master'
Vertex snapping 'slope anchors'

See merge request KartKrew/Kart!317
2020-09-25 00:39:35 -04:00
Sal
e1cf8e052c Merge branch 'luafiles-srb2home' into 'master'
Open lua files in srb2home

See merge request KartKrew/Kart-Public!234
2020-09-24 23:23:02 -04:00
James R
e5009348f8 Fix fov on vertical perspective (fixes jittery view morph!!) 2020-09-24 16:48:56 -07:00
James R
0d573b514e Stupid polyobjects require things to be spawned >:( 2020-09-24 15:10:07 -07:00
James R
1c35df36ac Prepend srb2home to luafiles 2020-09-24 14:43:21 -07:00
SteelT
9a0ab0759b Fix music credits not being shown on level music start
By pretty much restoring the old musicdef system, I tried to work with it but couldn't, if needed that can easily be brought back later on.
2020-09-24 15:55:37 -04:00
James R
3d6ed19d55 oops 2020-09-24 12:20:32 -07:00
James R
efbec2c252 Line special 777/778: No Knuckles to mirror slope on opposite plane 2020-09-24 12:19:19 -07:00
James R
1403c49f50 Use Parameter on slope anchors as a tag
This makes FOF sloping over other slopes possible!

Had to remove the absolute height function though.
2020-09-24 03:20:22 -07:00
James R
388d56a5f8 Search FOF target sectors for slope anchors
Requires spawning fake floors before slopes, and therefore before things,
basically before everything. Hopefully nothing breaks!
2020-09-24 01:56:38 -07:00
James R
b35e2ac9b3 Use the closest of three slope anchors to their respective vertices
Previously it just used the first three anchors that had snapped to a vertex
in the sector.

btw fuck DOOM
2020-09-23 23:17:05 -07:00
James R
031665cdfc View morph splitscreen support!
There are some issues I ran into:

- Rotation is jittery (not introduced by this commit)
- 2P is wack, I don't care
2020-09-23 17:50:47 -07:00
James R
997d142cb5 SPLITSCREEN FOV
Object tracking is off, but it was off before so I don't know if I actually
broke it. Minor refactoring in HWR_RenderPlayerView and HWR_RenderSkyboxView.
2020-09-23 17:50:47 -07:00
James R
a32486b5b9 And fix opengl splitscreen 2020-09-23 17:50:47 -07:00
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
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