Commit graph

14498 commits

Author SHA1 Message Date
James R
0c814ce42d Sync look back
Also fixes look back applying to the first
player in parties instead of locally.
2020-02-23 23:21:20 -08:00
James R
7961ac9d95 Fix moving while viewing another player not resetting the viewpoint 2020-02-23 23:21:20 -08:00
James R
e593b5297a Reset party size 2020-02-23 23:21:20 -08:00
James R
70bb244dd6 Reset camera when party changes 2020-02-23 23:21:20 -08:00
James R
7fe61a99df More plurals 2020-02-23 23:21:20 -08:00
James R
dfe6d62d76 bruh 2020-02-23 23:21:20 -08:00
James R
fc1e4b5cc5 Just say "joined" so to not worry about plurals 2020-02-23 23:21:20 -08:00
James R
4f40edaf01 Maybe localdisplayplayers is a bad idea 2020-02-23 23:21:20 -08:00
James R
1e89d512a7 Fix spectator join black screen 2020-02-23 23:20:20 -08:00
James R
c8524b47e7 Fix VIEWPOINT annotation showing up in parties 2020-02-23 23:20:20 -08:00
James R
a55ccbe52c Maybe fix incorrect displayplayers after adding/removing from party 2020-02-23 23:20:20 -08:00
James R
06cee4a0b7 Fix camera angle of party players 2020-02-23 23:20:20 -08:00
James R
e235267f1d Improve feedback on party invitations 2020-02-23 23:20:20 -08:00
James R
110871c3b6 Void the party invitation once its accepted 2020-02-23 23:20:20 -08:00
James R
02757eac82 Fix and fully implement leaving parties 2020-02-23 23:20:20 -08:00
James R
46ac563eaf Implement big bad parties (splitscreen with network players)
Use the 'invite' command to invite another player to your party.

If that player accepts, via the 'acceptinvite' command, they and any
splitscreen players on their machine will be added after the players
in your party. They may also use the 'rejectinvite' command.

Use the 'leaveparty' command to leave a party. You and any splitscreen players
on your machine will be removed from the party. Players after you will be
shifted to take your place on the splitscreen.
2020-02-23 23:20:20 -08:00
James R
f164320c88 Make the order of displayplayers irrelevant and split splitscreen into splitscreen and r_splitscreen 2020-02-23 23:20:20 -08:00
James R
4f73e26661 Show server's ping on scores if not LAGLESS 2020-02-23 23:07:57 -08:00
James R
a511d9358a Terrible code to show the ping counter for honest servers 2020-02-23 23:07:57 -08:00
James R
352d576979 Don't turn off lagless at map start; draw LAGLESS in intermission 2020-02-23 23:07:57 -08:00
James R
6484a5cd93 Show LAGLESS on the scores if the host is being dishonest 2020-02-23 23:07:57 -08:00
James R
56f6b058d0 Make host lag optional with "lagless", lag by default (lagless off) 2020-02-23 23:07:57 -08:00
James R
5f26312a0a Drop frames as the host according to the lowest ping among clients 2020-02-23 23:07:57 -08:00
Jaime Passos
03f81accc2 Merge branch 'spectator-is-it' into 'next'
Don't get chosen as the tagger if you're a spectator

See merge request STJr/SRB2!815
2020-02-23 20:37:27 -05:00
fickleheart
6734fbc49a Fix MD2 rollangle in reverse gravity 2020-02-23 18:44:22 -06:00
fickleheart
0427c6d282 Add music position functions to Lua 2020-02-23 17:58:32 -06:00
fickleheart
5aebc0ed6d Add JingleStatus hook for carrying custom jingle tunes
The extra argument is the music name, as passed into
P_PlayJingleMusic(player, musname), to run the hook for, optional.
Arguments are (player, musname) - the latter to allow global hooks
that still differentiate between different tracks.
2020-02-23 17:20:44 -06:00
fickleheart
578d1d4f39 Expose P_PlayJingle/Music() to Lua 2020-02-23 17:19:18 -06:00
James R
c69ca7381c Merge branch 'console-in-menus-mk-ii' into 'master'
Console in menus again!

See merge request STJr/SRB2!797
2020-02-23 18:15:43 -05:00
James R
a1fd09c7bc Merge branch 'nomd5-crash' into 'master'
Fix crash under NOMD5

See merge request STJr/SRB2!807
2020-02-23 18:15:04 -05:00
James R
7becbcefbe Merge branch 'exitmove-hideflags' into 'master'
Don't spawn the exitmove flags in Single Player

See merge request STJr/SRB2!813
2020-02-23 18:13:38 -05:00
Jaime Passos
75ff8c1789 Don't get chosen as the tagger if you're a spectator 2020-02-23 19:28:16 -03:00
fickleheart
d55ef8db71 Make P_PlayLivesJingle player optional in Lua 2020-02-23 15:40:59 -06:00
fickleheart
c23e8d2cbd Disable NOHUD/INLEVEL checks on Lua sound functions
None of these are implicitly sync-safe anyway, and most have
no need to be walled off from HUD code or intermission thinkers.
2020-02-23 12:50:45 -06:00
Snu
8796517177 Merge branch 'master' into supergoldedit 2020-02-23 17:57:39 +00:00
SwitchKaze
09373133a1 Fix userdataType typo 2020-02-23 12:17:52 -05:00
SwitchKaze
99a1840101 Merge branch 'next' of https://github.com/STJr/SRB2 into next-luacolors 2020-02-23 11:50:13 -05:00
Jaime Passos
745a6bb0f0 Fix incorrect newdisplayplayer in forced ViewpointSwitch 2020-02-23 12:14:52 -03:00
Tatsuru
9368818731 Oopsie 2 2020-02-22 22:36:44 -03:00
Tatsuru
2e71bbf96e Oopsie 2020-02-22 21:14:05 -03:00
James R
ac4cb796d0 Add patch_music.pk3 2020-02-22 14:43:41 -08:00
SteelT
8328c2a9b7 Merge branch '2.2.2-prep' into 'next'
2.2.2 preparation

See merge request STJr/SRB2!811
2020-02-22 17:27:19 -05:00
Steel Titanium
4f5694fa14 Enable use of the patch file 2020-02-22 16:42:24 -05:00
Steel Titanium
c7778af7d6 Update version number to 2.2.2 2020-02-22 16:37:13 -05:00
Louis-Antoine
2857508dfc Fix buffer overrun with nodeless players 2020-02-22 15:08:17 +01:00
James R
f8c9912d25 Merge remote-tracking branch 'origin/master' into next 2020-02-21 21:06:27 -08:00
James R
1a251ccee2 Fix NOMD5 compiling 2020-02-21 21:06:04 -08:00
James R
4d77611752 Register servername etc. under NOMD5
This fixes crashes in the menus.
2020-02-21 20:04:28 -08:00
James Hale
51137837c4 Custom skincolors 2020-02-21 21:56:39 -05:00
Steel Titanium
fc042e90f0 Merge branch 'master' into next 2020-02-21 21:01:29 -05:00