Lactozilla
0df7ded6be
Fix typos
2023-11-13 11:52:12 -03:00
Lactozilla
5f5f8053fe
Update sprite2 serialize
...
Increase demo version
Fix code not using P_GetSkinSpritedef
Fix code not using correct data type for player sprite
2023-11-13 11:46:55 -03:00
Lactozilla
4408f4462e
Add 'sprite2' field to states
2023-11-12 21:46:49 -03:00
Lactozilla
e9637322f9
Simplify fix
...
pickedchar doesn't need to be set in these two places, since G_DeferedInitNew already does that.
2023-10-31 16:45:47 -03:00
Lactozilla
4e446d22d6
Fix pickedchar not being set when it should have been
2023-10-31 04:04:01 -03:00
Zwip-Zwap Zapony
fb9e6c9c6d
Use if-range instead of switch for demo versions
2023-09-22 18:16:54 +02:00
LJ Sonic
2a896538d9
Merge branch 'netcode-rerefactor' into 'next'
...
Re-delete netcode
See merge request STJr/SRB2!2083
2023-09-18 16:47:28 +00:00
Lactozilla
062af20628
Don't change cv_skin or cv_playercolor if there is no need to
2023-08-15 04:29:50 -03:00
SteelT
6780f89574
Add missing param to G_CheckDemoExtraFiles in G_CheckDemoForError
2023-08-04 15:59:47 -04:00
Sally Coolatta
39175c6c70
Improved version checks for demo file lists
...
No longer relies on the demoversion global variable (which was incorrect for a couple instances, like ghosts), now we pass the version to the file list functions. Also don't set any demo global variables when checking a demo for valid files before playback. Also also, exit said file check function asap if its a title demo instead of doing it after we've already opened the file.
2023-08-04 14:36:56 -04:00
LJ Sonic
b2441114e8
Reapply recent netcode changes
2023-08-01 18:24:07 +02:00
LJ Sonic
0b17e3c418
Move netcode files to a new folder
2023-07-27 15:38:42 +02:00
Sally Coolatta
dc9346a45d
Add forwardmove rng backwards compat with demos
2023-07-26 07:50:47 -04:00
Sal
6a0be65315
Merge branch 'brokenrecord' into 'next'
...
Make reading and writing of all player stats to record attack demos precise (resolves #1048 )
Closes #1048
See merge request STJr/SRB2!2045
2023-07-26 11:43:32 +00:00
Sally Coolatta
dded352293
Harsher replay menu
...
Don't allow loading demos with invalid file lists at all. If you insist on doing this, it has to be done from the command line now.
2023-07-25 09:43:10 -04:00
Sally Coolatta
f99cf91d3d
Promote file count to UINT16
2023-07-25 09:29:09 -04:00
Sally Coolatta
77576c3c5d
Allow Record Attack in modified games
...
Replays now store & validate the add-on list before loading them. Custom characters can now be allowed in Record Attack.
2023-07-25 08:45:42 -04:00
katsy
fa02931f97
actually, make all player stats precise
2023-07-08 16:14:37 -05:00
katsy
8cc0feb21d
fix reading and writing of shieldscale and camerascale to record attack demos
2023-07-08 15:17:53 -05:00
spherallic
1470d099e3
Update copyright year & credits
2023-03-31 14:53:31 +02:00
Eidolon
e5dea805fa
Revert "Merge branch 'gamepad-refactor' into next"
...
This reverts commit 696e2ab909
, reversing
changes made to d98d59494f
.
2023-01-26 19:26:28 -06:00
LJ Sonic
379cc4207a
Revert "Merge branch 'netcode-refactor' into merging"
...
This reverts merge request !1920
2023-01-15 17:57:23 +00:00
LJ Sonic
717e0d5a17
Move netcode files to a new folder
2022-12-31 14:10:19 +01:00
Jaime Ita Passos
46f7fa406f
Refactor gamepad code
...
Implements the SDL Game Controller API, haptics, and axis bindings.
2022-11-14 00:37:08 -03:00
Eidolon
805941a98f
Merge public next into uncappedrevengeance
...
This is to capture the UDMF merges and make the later code review
easier.
2022-05-03 14:45:14 -05:00
Eidolon
e79654a33a
Completely refactor timing system
...
Time is now tracked internally in the game using I_GetPreciseTime
and I_UpdateTime. I_Time now pulls from this internal timer. The
system code no longer needs to keep track of time itself.
This significantly improves frame and tic timing in interp mode,
resulting in a much smoother image with essentially no judder at
any framerate.
2022-04-30 16:33:23 -05:00
Sally Coolatta
d476b41dfa
P_SetOrigin & P_MoveOrigin to replace P_TeleportMove
2022-04-26 20:56:33 -05:00
MascaraSnake
54640a8664
Merge branch 'udmf-executor-triggers' into udmf-thing-types
...
# Conflicts:
# extras/conf/udb/Includes/SRB222_things.cfg
2022-04-20 20:59:55 +02:00
spherallic
14295ac7de
2022
2022-03-03 20:24:46 +01:00
spherallic
a4778075b2
Convert old frame flags in Metal recordings to their 2.2.10 equivalents.
2022-02-14 14:57:00 +01:00
MascaraSnake
8535b595d6
Adapt some more player spawning stuff to UDMF
2021-12-26 21:11:24 +01:00
SteelT
bb514a0627
Merge branch 'metal-recording-srb2home' into 'next'
...
Fix metal recordings not being saved in srb2home
See merge request STJr/SRB2!1601
2021-12-03 00:32:06 +00:00
Tatsuru
96a378ef1e
Merge branch 'replay-overwrite-fix' into 'next'
...
Replay overwrite fix
See merge request STJr/SRB2!1523
2021-09-12 20:33:15 +00:00
Tatsuru
94799e2196
Merge branch 'fix-antique-ghost-netvars' into 'next'
...
Fix antique ghost netvars
See merge request STJr/SRB2!1545
2021-09-12 20:33:01 +00:00
SteelT
4a6acc2c8d
Fix metal recordings not being saved in srb2home
2021-08-22 16:13:40 -04:00
LJ Sonic
e3a5da3f6f
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2.git into HEAD
...
# Conflicts:
# src/lua_hook.h
# src/lua_hooklib.c
2021-06-19 20:49:12 +02:00
Ors
2a89154667
Revert an accidental whitespace change
2021-06-10 14:23:51 -04:00
Riku Salminen
f1a96bd7ee
Add support for ghosts with netvars in 2.2.6 and before
2021-06-10 21:18:45 +03:00
Riku Salminen
45e57fa791
Revert "Revert "Made height/spinheight and height change values in replays more accurate""
...
This reverts commit fbeabad797
.
2021-06-09 19:40:59 +03:00
Riku Salminen
fbeabad797
Revert "Made height/spinheight and height change values in replays more accurate"
...
This reverts commit 3daee0ebf8
.
2021-06-09 19:28:14 +03:00
sphere
786516fa5f
Merge branch 'kart-latency' into 'next'
...
Kart cmd->latency port
See merge request STJr/SRB2!1470
2021-06-09 10:53:09 -04:00
James R
4d22b9f17f
Merge remote-tracking branch 'origin/next' into hooklib-refactor
2021-06-07 18:12:52 -07:00
Riku Salminen
22aaffa35d
non-misleading comment
2021-05-28 22:32:11 +03:00
Riku Salminen
21dab7bd66
Add previous demo version to acceptable demo versions for demo comparison
2021-05-28 22:30:43 +03:00
LJ Sonic
d325c7e6d3
The year is 2021
2021-05-07 17:45:56 +02:00
Sally Coolatta
57d81ddb21
Kart cmd->latency port
...
Nev3r was talking about something that would've been drastically improved with this, and it is really simple, so I ported it :)
2021-04-21 19:58:14 -04:00
James R
93e4f43e4b
Hooklib macros names -> uppercase + documentation
2020-12-12 03:16:30 -08:00
James R
8d382e49fb
Big Large Lua Hooklib Refactor
...
* Hooks are no longer a mess of lua boiler plate. Helper functions reduce hooks
to, at the most basic level, only two calls.
* Lua tables (the array part) are used to index hooks. Such tables contain only
hooks of the same type.
* Hook types are defined in one place so you no longer need to sync up the enum
and name array.
2020-12-10 00:36:41 -08:00
James R
e7883f3f8e
That moment when you see HAVE_BLUA crawl back from the grave
...
This would mean MapChange hasn't been firing for demos ...since 2.2.5.
2020-12-10 00:36:14 -08:00
Riku Salminen
3daee0ebf8
Made height/spinheight and height change values in replays more accurate
2020-11-09 17:01:20 +02:00