Commit graph

11 commits

Author SHA1 Message Date
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
James R
5caa30d8d8 Replays: let G_IsPartyLocal work 2024-03-12 06:42:24 -07:00
James R
567a7cf4f1 Add G_LocalSplitscreenPartyMember 2024-03-01 06:03:21 -08:00
James R
abaa237b08 Add G_LocalSplitscreenPartyPosition 2024-02-24 21:29:19 -08:00
James R
da2150ee7a Party::rebuild_displayplayers: let displayplayers be reconfigured outside of level context
- This lets party changes take effect during
  GS_INTERMISSION or GS_VOTING
- displayplayers must always be updated, in order for
  splitscreen viewports to appear when the level starts
- Only G_FixCamera is not called, because it may rely on
  player_t.mo and I'm scared of that
2024-02-01 03:01:25 -08:00
James R.
d020c9faaa Add G_FixCamera, reset camera, angle and view interpolation 2023-10-03 21:28:33 -07:00
James R
20d9d48483 Destroy parties explicitly before building
This removes a call to G_DestroyParty from CL_ClearPlayer.
The problem with calling it from there is that the
consoleplayer of a splitscreen is removed first, the local
party is cleared. Then G_LeaveParty assert fails when the
next splitscreen player is removed because the console's
party was already cleared.
2023-05-18 19:15:02 -07:00
James R
e8a8064da9 P_Ticker: update view interpolation at the start of a tic
This lets R_ResetViewInterpolation only need to be called
once from game logic.
2023-04-22 20:40:35 -07:00
James R
0774cd2c80 Remove player from old party when directly joining another 2023-04-02 17:26:34 +01:00
James R
9b5b07b03c Completely rewrite party management code
Replaces g_splitscreen.c with g_party.cpp. Simplifies
party management functions.

Moves externs out of already bloated doomstat.h and
g_game.h into g_party.h.

Cuts down on globals spam.
2023-04-02 17:26:33 +01:00