Commit Graph

5304 Commits

Author SHA1 Message Date
fickleheart e140127180 Format for better consistency with the codebase 2019-02-06 20:25:45 -06:00
fickleheart 61bb44463f Fix views not setting properly when adding multiple at once 2019-02-06 20:25:27 -06:00
fickleheart f10237ea3d Merge remote-tracking branch 'remotes/james/netreplays-scoreshud' into new_netreplays 2019-02-06 19:48:57 -06:00
james bbd2d84642 Show scores but not "Player 1" in netreplays 2019-02-04 21:23:48 -08:00
james 3a8d7af712 Restrict viewn command to netreplays 2019-02-04 20:48:48 -08:00
james 6dc04ab957 Bleh old stuff 2019-02-04 20:29:52 -08:00
james 8f47b55d29 Do not round player numbers in range
(fickle's suggestion.)
2019-02-04 20:16:54 -08:00
james e52641d15a Expose G_ResetView and amend G_ResetViews
(fickle's suggestion.)
2019-02-04 20:13:30 -08:00
james ac9356a02b Automatically load splits up to new viewpoint
Basically, you can start viewing your third split and the second one views
another!
2019-02-04 17:58:55 -08:00
james 67d6ee3b12 Shut up when our "new" viewpoint is just the same
Also actually correct for new splits.
2019-02-04 17:54:41 -08:00
James R ee8948d627 Add support for changing viewpoint via console
This isn't just a shameless console-empowerement. More precise "spying" can
benefit everybody. But especially in net-replays, this is almost necessary.
2019-02-04 03:09:40 -08:00
fickleheart 7aa83635ae Record net replays to replay/online/ 2019-02-03 14:29:54 -06:00
fickleheart fe7c6c7f83 Add support for encore and battle replays 2019-02-03 13:55:29 -06:00
fickleheart ce59b705a4 Play generic intermission music after netreplays
Mostly because I kept cycling to other people after the
top half finished and always got the lose music as a
result lol
2019-02-02 10:54:24 -06:00
fickleheart c407f811af Fix map name not showing right on replay intermission 2019-02-02 00:24:15 -06:00
fickleheart 71d1d10ef6 Play intermission after net replays 2019-02-01 21:06:52 -06:00
fickleheart e76e3f2281 something 2019-02-01 20:50:33 -06:00
fickleheart 28b9c5fc7d Fix P3 getting the wrong split flags in 3p splitscreen 2019-02-01 20:20:14 -06:00
fickleheart ba07224a8f Make replays single-view by default unless requested 2019-02-01 20:19:52 -06:00
fickleheart 3724d02e3b Allow changing all players' viewpoints in replays 2019-02-01 19:53:52 -06:00
fickleheart 4de79f13af Refactor view changes a bit 2019-02-01 19:46:58 -06:00
fickleheart 0ab690bc60 Draw player names in netreplays 2019-02-01 19:28:05 -06:00
fickleheart 09eef5f6b1 Make the join sync hack a little more robust 2019-02-01 07:50:42 -06:00
fickleheart 7f7dd0097b wip replay viewpoint stuff heck im tired zzz good night 2019-02-01 01:32:35 -06:00
fickleheart 43c4917e96 Tack on a timestamp to replay filenames 2019-02-01 01:01:14 -06:00
fickleheart e5be5e80ba Make joins/quits/enters/spectates sync in replays
I'm not 100% sure on joins. That P_RandomByte() call
looks ugly. It'll probably be a source of trouble.
2019-02-01 00:44:35 -06:00
fickleheart 6a131f368f Fix replay split breaking with less than four viewpoints 2019-01-31 23:03:44 -06:00
fickleheart 0c11562209 4p split views test 2019-01-31 00:00:28 -06:00
fickleheart e13e6c5c9b Fix replay viewer discarding aim keys 2019-01-27 20:36:13 -06:00
fickleheart d05a3a59c4 Write respawn command usage to replays 2019-01-27 19:30:20 -06:00
fickleheart f7e12165ba Write extra data before cmds
This will probably nip a possible issue
with player cmds getting read/wrote inconsistently
if a player joins or leaves.
2019-01-27 19:10:25 -06:00
fickleheart 49caebd2db Fix crashing at the end of netreplays 2019-01-27 19:09:29 -06:00
fickleheart c6248faa30 Write skin/color/name changes to replay 2019-01-27 19:07:30 -06:00
fickleheart 314b2769a9 Fix invalid numlaps value being written when set to map default 2019-01-27 17:58:13 -06:00
fickleheart 3a467889ae Fix spectators spawning as players in netreplays 2019-01-27 17:48:39 -06:00
fickleheart cf6e3a45d7 Reset oldcmd when recording netreplays 2019-01-27 17:09:25 -06:00
fickleheart 3cec3d9658 broken spectator stuff? 2019-01-27 16:23:34 -06:00
fickleheart 26770c5103 [HACK] Save correct lap count on netreplays 2019-01-27 15:45:42 -06:00
fickleheart ab226c1e39 Move where multiplayer replays are started
This particularly allows a server to record the
first map after startup as a replay. Players
joining mid-map can no longer record replays tho
2019-01-27 15:45:08 -06:00
fickleheart 894db0c6fd Store cmd.latency in replays 2019-01-27 15:09:58 -06:00
fickleheart 83738a20b7 Fix players spawning in the wrong spots when watching replays 2019-01-27 14:34:22 -06:00
fickleheart 6dcc4de979 Separate oldtic for each player 2019-01-27 14:34:19 -06:00
fickleheart 74c37ed06c Record all players' ticcmds in multiplayer 2019-01-27 14:34:01 -06:00
fickleheart 712dfdc3d1 Fix compile errors 2019-01-27 14:33:57 -06:00
fickleheart 1fb34ab65d lol test net replay stuff 2019-01-27 14:33:54 -06:00
fickleheart c9444116dd I don't wanna deal with ghosts right now 2019-01-27 14:33:51 -06:00
fickleheart dee45fdf62 Store initial player data in net replay 2019-01-27 14:33:45 -06:00
fickleheart 1f72df4edb Start with some strange multiplayer replay init stuff
Mostly just disabling the parts of the replay that assume
a single player, right now.

# Conflicts:
#	src/g_game.c
2019-01-27 14:33:38 -06:00
Sryder e45b2ea257 Merge branch 'ip-allow-letters' into 'master'
Allow letters to be used in the "Specify IPv4 Address:" field

See merge request KartKrew/Kart-Public!36
2019-01-26 16:45:22 -05:00
ThatAwesomeGuy173 eb29063ef1 Use actual characters instead of ASCII codes as per Sryder's suggestion 2019-01-26 14:15:37 -07:00