TehRealSalt
a187656a8f
Fix up more stuff
...
Now in a mergable state
2019-04-18 12:20:13 -04:00
TehRealSalt
1f61397545
Huge splitscreen refactor
...
Did not get to finish all refactoring or even compile this, I'll continue later
2019-04-18 03:08:11 -04:00
fickleheart
b1001d1808
Fix writing corrupt standings that break replay hut
2019-04-14 17:08:04 -05:00
fickleheart
eb9c9885a9
Fix being able to carry rewind state where it shouldn't be
2019-04-13 14:22:48 -05:00
fickleheart
40d065a024
Fix thrown items desyncing during frame advance
2019-04-09 23:55:25 -05:00
Sryder
824381d281
Z_Free not free.
2019-04-09 20:15:35 +01:00
fickleheart
9a049f5a0d
Support RA time comparisons in new format
...
I don't care enough about supporting old replays, and
they're old anyway. Force-overwrite them. :)
2019-04-08 00:45:19 -05:00
fickleheart
c0af0fb59e
Support new-format ghosts or some bullshit like that
...
maybe future fickle will add support for multiple ghosts
from one replay for some sick memery but idgaf right now
2019-04-08 00:30:04 -05:00
fickleheart
45390f2c35
Fix record attack not recording + staff names load for all replay types
2019-04-07 18:51:42 -05:00
fickleheart
ac3b1516cd
Record demos consistently and also other stuff
2019-04-07 17:59:32 -05:00
fickleheart
f38d56d4a6
Support playback menu for record attack replays too
2019-04-06 18:59:11 -05:00
fickleheart
aaa6418981
Various fixes and tweaks to rewinds
2019-04-06 18:06:02 -05:00
fickleheart
6267986c72
Add demo rewinding
...
Preview is fairly basic, and only shows players
rewinding. Full state is restored via reloading
the replay and jumping to the timestamp once
the rewind is done.
2019-04-06 14:51:00 -05:00
fickleheart
e948b8ba48
Begin work on playback menu
2019-04-05 02:38:48 -05:00
fickleheart
a01a3544f5
Fix old replays not loading
2019-04-01 17:14:45 -05:00
fickleheart
944838dc7d
Read and write standings to replays
2019-04-01 15:07:27 -05:00
fickleheart
11586a1091
[FORMAT CHANGE] Add space for extrainfo pointer
2019-04-01 13:10:35 -05:00
fickleheart
b3ef039d87
Show non-default lap count on replay screen too
2019-04-01 12:56:23 -05:00
fickleheart
4b9562f72f
Fix normal speed replays showing as easy speed
2019-04-01 12:28:01 -05:00
fickleheart
266a590a14
Return to replay hut after watching a replay
2019-03-31 19:26:53 -05:00
fickleheart
f54f08e6b5
Support directory navigation properly
2019-03-31 16:28:18 -05:00
fickleheart
cbcb288296
Display infobox for the currently-selected replay
2019-03-31 02:54:09 -05:00
fickleheart
48dcfab7f6
List demos by title in the replay hut
2019-03-31 01:22:41 -05:00
fickleheart
2a9dd8e1f9
Allow entering a title for replays on save
2019-03-24 22:40:52 -05:00
fickleheart
b2cbe3ed6d
Refactor replay saving handler for later use
2019-03-24 21:55:08 -05:00
fickleheart
4b7d2aea84
Move public demo vars to a single struct
2019-03-24 21:32:15 -05:00
fickleheart
ccefc48af3
Use demo title as filename for multiplayer replays
2019-03-24 20:36:22 -05:00
fickleheart
8906718fb8
Use skin with closest stats if the expected one wasn't found
...
This allows people to watch replays without the characters loaded,
without making everyone be Sonic.
2019-03-24 19:41:25 -05:00
fickleheart
402796b3c6
Add some checks against invalid replays
2019-03-24 19:19:57 -05:00
fickleheart
b135c46d60
Clean up demo header read/write code
2019-03-24 19:14:34 -05:00
fickleheart
c7109c0ae4
Add title to netreplays and do some format cleanup
2019-03-24 18:48:14 -05:00
fickleheart
7af0554aba
Prepare for a demo format upgrade!
2019-03-24 17:47:24 -05:00
fickleheart
f6797e285b
Merge remote-tracking branch 'remotes/james/netreplays-resetview-sigsegv-fix' into new_netreplays
2019-03-19 23:44:22 -05:00
fickleheart
29c6dae776
Add command to lower netreplay sync frequency
...
This makes for smaller replay files while keeping
sync checks in place!
2019-03-19 23:39:04 -05:00
fickleheart
64ceb441e3
Fix MAXMOM being above the max value GZT_MOM* could store
...
This caused a lot of """desyncs""" when players were moving
between 128-255 FU/T, which was exacerbated by this next commit...
2019-03-19 23:38:26 -05:00
fickleheart
65ac9b7b0b
Rename recordmultiplayerdemos to netdemo_record
...
Begins the process of namespacing demo recording commands.
2019-03-19 23:08:32 -05:00
fickleheart
d676dd5a1e
Keep record attack replays base-game-compatible for now
2019-03-19 23:02:17 -05:00
fickleheart
438cabcd24
Don't resync position until off for two tics in a row
...
This patches over a few trouble spots, like Misty Maze, causing
consistent resyncs and screwing up playback.
2019-03-19 22:59:27 -05:00
fickleheart
7fc1f02b07
Merge remote-tracking branch 'remotes/upstream/master' into new_netreplays
...
# Conflicts:
# src/doomdef.h
# src/g_game.c
# src/p_user.c
2019-03-19 22:17:25 -05:00
Monster Iestyn
2fb569857a
Added the Gametype_Names array and G_GetGametypeByName for ease in converting gametype nums to strings and vice versa
...
gametype_cons_t is now initialised using the Gametype_Names array, like how Color_cons_t is initialised using Color_Names
# Conflicts:
# src/doomstat.h
# src/m_menu.c
2019-03-18 22:00:23 +00:00
fickleheart
ca68042d95
Merge remote-tracking branch 'remotes/james/move-changeviewpoint' into version-prep
2019-03-17 16:37:01 -05:00
James R
5057c37dfb
Move change viewpoint control checking so it doesn't take precedence
...
Notably over chat.
2019-03-16 15:42:18 -07:00
mazmazz
c021e29835
Restore MUSIC_RELOADRESET if block in g_game
2019-03-13 21:18:23 -04:00
fickleheart
9ff8b73936
Merge remote-tracking branch 'remotes/internal/upsidedown-brain' into HEAD
...
# Conflicts:
# src/k_kart.c
# src/p_mobj.c
2019-03-11 21:59:45 -05:00
fickleheart
c30c3f7a3a
Merge remote-tracking branch 'remotes/upstream/next' into HEAD
2019-03-11 21:53:53 -05:00
fickleheart
fcf072cbeb
Merge remote-tracking branch 'remotes/upstream/master' into HEAD
2019-03-11 21:53:47 -05:00
wolfs
af67c7abf5
Merge branch 'maxskins-bump' into 'next'
...
Bump MAXSKINS to 128 + Clean up skin struct
See merge request KartKrew/Kart-Public!82
2019-03-11 19:28:16 -04:00
wolfy852
8c40f2a10e
Remove disableSpeedAdjust
2019-03-11 17:23:41 -05:00
James R
0f9648eac0
Miscellaneous window de-focus options
...
Music pausing is now optional.
Sounds may be paused--on by default.
The game itself being paused in off-line mode is now optional.
(showfocuslost now loads from config.)
2019-03-11 14:57:11 -07:00
wolfy852
a181cd24cd
Fix my fuckups
...
Not fond of what I did in P_CanRunOnWater but it at least carries the desired effect...
2019-03-06 22:28:06 -06:00
wolfy852
75661f44d7
Clean up the skin_t struct
2019-03-06 21:18:01 -06:00
James R
a858967762
Check that G_FindView actually found a view
2019-03-06 18:06:16 -08:00
Alam Arias
6b5f00eade
more unsigned mess
2019-03-04 20:35:13 -05:00
Alam Arias
71d0dfb046
the READ/WRITE marcos do not need ;
2019-03-04 20:27:01 -05:00
Alam Arias
dff82fffff
Fixed comparing unsigned/signed mess
2019-03-04 20:26:44 -05:00
Alam Arias
489ca12bd3
Avoid ‘ncs’ being used uninitialized
2019-03-04 20:09:20 -05:00
Alam Arias
1bdd1506d9
Fixup max() mess
2019-03-04 19:10:43 -05:00
Alam Arias
db3d8eee50
Fixup unsigned mess
2019-03-04 19:07:34 -05:00
fickleheart
61893c613c
Maintain compat for record attack replays
2019-03-03 20:41:20 -06:00
fickleheart
ebd688f32f
Cleanup :3c
2019-03-03 20:25:22 -06:00
fickleheart
d560fef930
Assign a server player in replays for Lua purposes
...
Unfortunately this doesn't seem to help sync much. It
at least prevents constant Lua errors I guess....
2019-03-03 20:24:35 -06:00
Sally Cochenour
4ecd71d026
Merge branch 'next' into minor-item-tweaks
2019-02-27 01:15:24 -05:00
Alam Arias
d5a4759121
signed and unsigned compare
2019-02-22 21:13:00 -05:00
Alam Arias
cec79dee87
if you going to use abs(), you need to work in signed types
2019-02-22 21:04:53 -05:00
Sally Cochenour
014466cc67
Merge branch 'next' into minor-item-tweaks
2019-02-22 19:30:52 -05:00
Sally Cochenour
b2d4ec501c
Add parentheses 2: Move parentheses
2019-02-22 19:11:50 -05:00
Sally Cochenour
df503c7f19
Add parentheses
2019-02-22 19:07:54 -05:00
Sal
6152657885
Merge branch 'expose-splitscreen' into 'next'
...
Expose splitscreenplayer in player_t
See merge request KartKrew/Kart-Public!74
2019-02-22 19:04:48 -05:00
James R
0eb30bceb7
Rename splitscreen member to something more meaningful
2019-02-22 15:57:44 -08:00
Sal
447100a9ab
Merge branch 'cherrypicks-from-netreplays' into 'next'
...
Misc fixes
See merge request KartKrew/Kart-Public!76
2019-02-22 18:45:44 -05:00
James
09c3fd4329
Hyu b gone
2019-02-19 23:15:31 -05:00
fickleheart
7a80195ed7
Fix count limiter not always working right for titledemo netreplays
2019-02-19 17:33:02 -06:00
fickleheart
9c5ae02755
Fix cmd latency occasionally jumping to max
2019-02-19 08:05:35 -06:00
fickleheart
188552e069
Allow viewing karma bombs during replays
2019-02-18 21:23:05 -06:00
fickleheart
a4ac2b000f
Improve replay resyncing code
...
Notably, it should no longer cause immediate
desync warnings if a track starts on a slope.
2019-02-18 21:10:23 -06:00
fickleheart
96972c9ae9
Remove debug print
2019-02-18 20:54:37 -06:00
fickleheart
3a3b623e34
Use generic resync message for RNG desyncs
2019-02-18 20:51:02 -06:00
Latapostrophe
91ce3617ef
Fix respawning in reverse gravity
2019-02-18 14:00:36 +01:00
fickleheart
c260e27cd9
Support netreplays in titledemos
...
TDEMO###, where ### is a number from 1 to 255.
2019-02-17 13:13:45 -06:00
fickleheart
a6dff0a324
Whoops, saving the wrong file list
2019-02-17 11:52:23 -06:00
fickleheart
d1d270c09d
Don't force loading files for replays
2019-02-17 10:04:48 -06:00
fickleheart
28b4d4a152
Merge remote-tracking branch 'remotes/james/netreplays-autoaddons' into new_netreplays
2019-02-17 08:52:21 -06:00
james
1785adffc2
Expose splitscreenplayer (from Got_AddPlayer) as splitscreen in player_t
2019-02-16 23:25:50 -08:00
fickleheart
a6bc581520
Fix duplicated player views from ResetViews
2019-02-16 22:24:37 -06:00
fickleheart
b6cc96ad68
Fix replays crashing upon completion
2019-02-16 22:19:05 -06:00
fickleheart
1c5e525db1
Fix views getting automatically changed in netreplays
2019-02-16 22:06:47 -06:00
fickleheart
3bd47b3beb
Fix multiplayer ghosts crashing the game sometimes
2019-02-16 21:55:08 -06:00
fickleheart
be353c9260
Reset views away from spectators
2019-02-16 21:07:11 -06:00
fickleheart
6e44952d50
Fuck you
2019-02-16 20:53:15 -06:00
fickleheart
7a7ea255bf
Merge remote-tracking branch 'remotes/james/netreplays-viewcommand' into new_netreplays
...
# Conflicts:
# src/g_game.c
2019-02-16 20:20:11 -06:00
fickleheart
276373123e
Add cvar for netreplay saving options
2019-02-16 18:29:51 -06:00
fickleheart
450efc3180
Merge remote-tracking branch 'remotes/james/netreplays-responder-fix' into new_netreplays
2019-02-16 15:50:46 -06:00
fickleheart
fcfce0bd49
Double default replay size
2019-02-16 15:49:54 -06:00
fickleheart
ca401aac8a
Try to keep the RNG seed in sync
2019-02-16 14:24:00 -06:00
fickleheart
b006ac447f
Remove debug-related code
2019-02-16 13:58:32 -06:00
fickleheart
e7488f8d76
Backwards compat for old replays
2019-02-16 13:49:31 -06:00
fickleheart
4bea570143
Resync items and bumpers in replays
2019-02-16 13:42:21 -06:00
fickleheart
78adae109a
[WIP, CRASHES] Save ghost data in netreplays
2019-02-16 12:42:24 -06:00
fickleheart
1fa32a4b9d
Improve replay resyncing code
...
Notably, it should no longer cause immediate
desync warnings if a track starts on a slope.
2019-02-16 11:52:35 -06:00
James R
462e4fb863
Add support for an optional file list embeded in demos
...
Ghosts are also supported. The playback function can read demos without this
file list--it is a flag.
2019-02-14 14:02:47 -08:00