toaster
762dfd3063
When resuming from a rewind, don't:
...
* run wipes again
* run titlecards again
* stop the music
2020-11-28 12:31:16 +00:00
toaster
495e4896dc
Fixed Chengi's sprite2 bug, and started on (but haven't nailed down) the rewind crash.
2020-11-28 11:45:25 +00:00
toaster
c2447154ec
Bracketing fix for Sryder.
2020-11-28 11:32:29 +00:00
toaster
f72108c4fa
A whole bunch of cleanup to get most record attack/replay stuff reasonably functional.
...
* Fix the screen being stuck black at the very start of start record attack.
* Bump up the demoversion to 7, because I want all previous v2 demos to be guaranteed kaput (it was previously 4, but 7 is a nice number).
* Fix a ton MORE shitcausing misalignments in the replay system, this time specifically focused on getting ghosts functional.
* Plug a few holes in the "best lap" record implementation that allowed for stupidly easy records due to the way v2's finish lines work.
* Make a few follower-related things sane, to prevent spurious console prints that were getting in the way of my test prints.
2020-11-27 20:30:28 +00:00
toaster
9c0edb097f
Fix demos doing incomprehensibly nasty bullshit; now they only desync for a handful of easier-to-hammer-down cases.
2020-11-27 17:59:57 +00:00
Sally Coolatta
601451bead
This RNG thing was removed, so it doesn't need to be in demo code anymore either
2020-10-31 02:39:30 -04:00
Sally Coolatta
afbbfc9b1f
Fix cvars
...
My wrist burns...
2020-10-24 21:32:07 -04:00
Sally Coolatta
7c2bd0d1c2
Merge remote-tracking branch 'srb2/next' into the-scary-22-merge
2020-10-24 20:50:58 -04:00
Steel Titanium
3f50b92ee2
Fix G_GhostTicker crashing trying to read netvars as ghost data
...
Also fixed possible issue with incorrectly reading the demo pointer due to the wrong type being passed to sizeof in G_ConsGhostTic
2020-10-19 20:20:08 -04:00
James R
a82f568fc3
Merge branch 'next' into 'next'
...
Updated 16 bit momentum values to 32 bit in demos, changed demo version
See merge request STJr/SRB2!1157
2020-10-08 21:56:30 -04:00
Sally Coolatta
2f6962c103
Correct player angle when respawning from crushing
2020-09-26 03:12:22 -04:00
Sally Coolatta
285ec3e08c
Player death uses damage types
...
- Fixed last place elimination not working (again)
- Replaces squishing from level geometry with good old fashioned crush death
2020-09-25 16:31:10 -04:00
Riku Salminen
487a409760
Wrote 3 lines in 1, as Zwip-Zwap Zapony suggested
2020-09-23 22:37:06 +03:00
Riku Salminen
8e7e76fad9
Update g_demo.c, Remove old comments of fractional loss of one byte
2020-09-23 15:29:03 -04:00
Riku Salminen
376582c750
Updated 16 bit momentum values to 32 bit in demos, changed demo version
2020-09-23 21:26:51 +03:00
Sally Coolatta
99a1bacb81
Turning code overhaul
...
Packet drops are still broken, but at least netgames are playable now.
2020-09-22 00:35:44 -04:00
James R
d99757278b
Don't ifdef CV_LoadDemoVars out if OLD22DEMOCOMPAT defined
2020-09-19 18:34:52 -07:00
Sryder
3db9902829
Actually fix replay hut crash properly, we for some reason stopped saving RNG seed
2020-08-24 01:21:32 +01:00
Sryder
afcdfe70c7
Don't read RNG seed twice when loading demo info
2020-08-24 00:57:02 +01:00
James R
cedb09bd92
Fix pointers on LUA_Archive and LUA_UnArchive
...
(servers joinable again)
2020-08-21 19:47:53 -07:00
Sally Coolatta
3e446a167c
Restructure how damage works in kart COMPLETELY
...
Instead of doing its best to avoid P_DamageMobj, it embraces it, using the damagetype system to decide how the player takes damage. Overall less stupid.
2020-08-19 00:55:36 -04:00
Sally Coolatta
ebec43b727
Fix G_WriteStandings
2020-08-18 05:08:21 -04:00
Sally Coolatta
a251c3909b
Lots of little fixes
...
Gameplay seems to work (besides the addplayer & client config stuff), but visuals (mostly sprites, but a little bit of HUD) are really messed up
2020-08-16 00:29:04 -04:00
Sally Coolatta
e0e506ec55
Ran through a different compiler, fixing the minor warnings it had
2020-08-15 09:32:10 -04:00
Sally Coolatta
0dc21106e5
Lua stuff is done
2020-08-15 07:47:18 -04:00
Sally Coolatta
6ef0af4ba5
g_game and g_input now compile
2020-08-13 00:05:44 -04:00
Sally Coolatta
9a21b3a46b
g_demo compiles
2020-08-12 23:08:31 -04:00
Sally Coolatta
bb988d1dd3
Minor fixes to g_demo
2020-08-12 18:45:55 -04:00
Sally Coolatta
b9436ee015
More fixing up
...
Got tired again, but now it makes it to f_finale
2020-08-11 18:46:00 -04:00
Sally Coolatta
8731c6b7a4
Another round of fixing up
...
- gametyperules are now fitting for kart, not applied to the whole codebase though
- a few more files compile
2020-08-11 16:13:17 -04:00
Sally Coolatta
a50a9a1843
Lots of splitscreen fixes
...
LOTS of stuff I changed to use arrays instead of constantly duplicated code
2020-08-10 23:38:32 -04:00
Sally Coolatta
a6b2bc99de
Demo variable fixes
2020-08-10 19:42:45 -04:00
SteelT
9446a397d6
Remove some stray endifs
2020-08-10 18:45:32 -04:00
Sally Coolatta
4c99af8010
Fully remove OLD22DEMOCOMPAT
2020-08-10 12:17:25 -04:00
Sally Coolatta
e14f4a5842
Merge g_demo.c, remove OLD22DEMOCOMPAT
2020-08-10 12:14:23 -04:00
Sally Coolatta
e296e1309a
YAY, round 2
2020-08-09 21:02:56 -04:00
Sally Coolatta
153492c20c
Finish removals properly
2020-08-09 14:46:03 -04:00
Sally Coolatta
20dcd07fa4
Merge g_game.c/h
...
Also includes required changes to g_demo.c/h
2020-08-09 14:43:13 -04:00
Steel Titanium
1afe2f4988
Fix crash if you start recording a replay and immediately close the game
2020-07-20 22:19:44 -04:00
James R
3554cc8b1b
Actually save the cvar name in demos
2020-07-04 12:51:07 -07:00
James R
b89be9f179
Cvar compatibility with older demos
2020-06-19 18:04:20 -07:00
James R
31cf034d63
Save cvar names in demos; refactor cvar loading
2020-06-19 17:58:42 -07:00
Lachlan Wright
5263b8cf63
Merge branch 'fix-spawn-desynch' into 'next'
...
Fix desynch when a player spawns
See merge request STJr/SRB2!977
2020-06-08 05:25:41 -04:00
Monster Iestyn
3a7417c8fe
Merge branch 'master' into next
2020-06-06 20:35:48 +01:00
Monster Iestyn
e52e139793
G_ReadMetalTic: Make sure all three values for GZT_XYZ are read in the right order
2020-06-03 20:47:49 +01:00
Monster Iestyn
ef4cb40ed7
G_GhostTicker/G_ReadMetalTic: type should default to MT_NULL, not -1
...
This way, if for some reason the ghost has no skin, nothing should spawn at all
2020-06-03 20:47:49 +01:00
LJ Sonic
aeeb6e1b02
Merge branch 'next' into 'fix-spawn-desynch'
...
# Conflicts:
# src/p_map.c
2020-06-01 08:15:02 -04:00
Louis-Antoine
d886e35576
Fix potential desynch when a player spawns
2020-05-28 11:03:35 +02:00
SwitchKaze
58cac1fd73
Make colors UINT16, increase color freeslots to 1024
2020-05-23 19:35:36 -05:00
Monster Iestyn
3c1bd4215f
split significant chunks of G_CheckDemoStatus into their own smaller functions, also give writing demo checksums its own little function
2020-05-14 20:57:21 +01:00