Commit graph

2185 commits

Author SHA1 Message Date
fickleheart
1941ba09b0 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
b922c2289e Add some checks against invalid replays 2019-03-24 19:19:57 -05:00
fickleheart
77aea850ba Clean up demo header read/write code 2019-03-24 19:14:34 -05:00
fickleheart
0c6c401d88 Add title to netreplays and do some format cleanup 2019-03-24 18:48:14 -05:00
fickleheart
d13134bae2 Prepare for a demo format upgrade! 2019-03-24 17:47:24 -05:00
fickleheart
cfe78569d9 Merge remote-tracking branch 'remotes/james/netreplays-resetview-sigsegv-fix' into new_netreplays 2019-03-19 23:44:22 -05:00
fickleheart
fa28feb8db 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
62281de40a 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
3a96ee70af Rename recordmultiplayerdemos to netdemo_record
Begins the process of namespacing demo recording commands.
2019-03-19 23:08:32 -05:00
fickleheart
d6167ef35a Keep record attack replays base-game-compatible for now 2019-03-19 23:02:17 -05:00
fickleheart
4be82dc30f 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
be458c1d05 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
5d059da843 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
bd5c8f0ce5 Merge remote-tracking branch 'remotes/james/move-changeviewpoint' into version-prep 2019-03-17 16:37:01 -05:00
James R
52deb3ea74 Move change viewpoint control checking so it doesn't take precedence
Notably over chat.
2019-03-16 15:42:18 -07:00
mazmazz
a181f12af3 Declare exitfadestarted properly 2019-03-15 11:01:41 -04:00
mazmazz
c427ccbec5 Merge remote-tracking branch 'public-gl/next' into public-musicplus-feature-endoflevel 2019-03-15 00:39:26 -04:00
mazmazz
2eb04ab17d Merge branch 'public_next' 2019-03-14 22:15:34 -04:00
TehRealSalt
e3434cf724 Merge branch 'doubled-boost' into draft 2019-03-14 19:45:33 -04:00
mazmazz
aa22941d2c Restore MUSIC_RELOADRESET if block in g_game 2019-03-13 21:18:23 -04:00
TehRealSalt
40093a9213 Merge branch 'master' into rings 2019-03-12 01:27:11 -04:00
fickleheart
e536252a8a 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
5c4c0a5ff6 Merge remote-tracking branch 'remotes/upstream/next' into HEAD 2019-03-11 21:53:53 -05:00
fickleheart
e316963e1a Merge remote-tracking branch 'remotes/upstream/master' into HEAD 2019-03-11 21:53:47 -05:00
wolfs
f4947820e4 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
d0fe0abc9c Remove disableSpeedAdjust 2019-03-11 17:23:41 -05:00
James R
b91701c948 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
TehRealSalt
6aa55bdbe2 Merge remote-tracking branch 'kartpublic/next' into fortnite 2019-03-11 13:49:12 -04:00
TehRealSalt
0f4fd73533 Try out boost stacking 2019-03-11 12:00:39 -04:00
wolfy852
b19d9f69f1 Merge remote-tracking branch 'remotes/pub/next' into followme
# Conflicts:
#	src/dehacked.c
#	src/info.c
#	src/info.h
2019-03-08 02:34:04 -06:00
TehRealSalt
74a757ad69 Merge remote-tracking branch 'kartpublic/next' into rings 2019-03-07 21:31:45 -05:00
TehRealSalt
40da3594c8 Mashing in record attack is now 100% chance for rings
and also rings persist through death, and you start with 5
2019-03-07 19:18:20 -05:00
wolfy852
ddc296575f 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
33c85f4813 Clean up the skin_t struct 2019-03-06 21:18:01 -06:00
James R
92d463d422 Check that G_FindView actually found a view 2019-03-06 18:06:16 -08:00
Alam Arias
95c2967f35 more unsigned mess 2019-03-04 20:35:13 -05:00
Alam Arias
8b5f25caa0 the READ/WRITE marcos do not need ; 2019-03-04 20:27:01 -05:00
Alam Arias
c209e211ae Fixed comparing unsigned/signed mess 2019-03-04 20:26:44 -05:00
Alam Arias
c68cfbdda0 Avoid ‘ncs’ being used uninitialized 2019-03-04 20:09:20 -05:00
Alam Arias
bcebe2fcc2 Fixup max() mess 2019-03-04 19:10:43 -05:00
Alam Arias
e93a721ca1 Fixup unsigned mess 2019-03-04 19:07:34 -05:00
fickleheart
8d6c6823f3 Maintain compat for record attack replays 2019-03-03 20:41:20 -06:00
fickleheart
2cecd2faf3 Cleanup :3c 2019-03-03 20:25:22 -06:00
fickleheart
fcbe62bbe2 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
22cfbd8fd1 Merge branch 'next' into minor-item-tweaks 2019-02-27 01:15:24 -05:00
wolfy852
6feeb1e1f0 Merge remote-tracking branch 'remotes/pub/next' into followme 2019-02-26 17:12:51 -06:00
Alam Arias
c170be0051 signed and unsigned compare 2019-02-22 21:13:00 -05:00
Alam Arias
e741c3a0d6 if you going to use abs(), you need to work in signed types 2019-02-22 21:04:53 -05:00
Sally Cochenour
12dd8e49c0 Merge branch 'next' into minor-item-tweaks 2019-02-22 19:30:52 -05:00
Sally Cochenour
c257c83ff1 Add parentheses 2: Move parentheses 2019-02-22 19:11:50 -05:00