Commit graph

11760 commits

Author SHA1 Message Date
Riku Salminen
b45a8a0b1c Make the replay camera follow the player 2020-11-09 18:55:00 -05:00
James R
6d665a856d Merge branch 'step-up-goofs-2' into 'next'
Fix disabling step up/down not working

See merge request STJr/SRB2!1219
2020-11-09 17:52:41 -05:00
James R
b27b4a2759 Merge branch 'fix-leave-div-by-0' into 'next'
Fix stupid divide-by-zero error when leaving servers

See merge request STJr/SRB2!1240
2020-11-09 17:52:19 -05:00
Riku Salminen
3b48adc98a Made height/spinheight and height change values in replays more accurate 2020-11-09 17:01:20 +02:00
GoldenTails
686d4ec516 Fix stupid divide-by-zero error 2020-11-08 23:28:20 -06:00
GoldenTails
d2e8823d50 Add skincolor vars to the NetSave 2020-11-08 20:43:16 -06:00
Steel Titanium
8804e6063a Remove unused music types 2020-11-08 21:33:12 -05:00
Steel Titanium
1e1663da6d Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into lua-musicfuncs 2020-11-08 21:20:07 -05:00
James R
e0a799c1ed Merge branch 'allowshaders' into 'next'
Let the server or an admin toggle clients' custom shaders

See merge request STJr/SRB2!1181
2020-11-08 21:09:56 -05:00
Jaime Passos
72e338a164 rename 2020-11-08 23:02:05 -03:00
James R
d28687f7f9 Merge branch 'hyperwalls-fix' into 'next'
Fix hyperwalls

See merge request STJr/SRB2!1232
2020-11-08 20:59:28 -05:00
James R
2edf884fbf Merge branch 'x' into 'next'
Whitelist missing graphics

See merge request STJr/SRB2!1189
2020-11-08 20:48:25 -05:00
James R
5443c13ce3 Merge branch 'pngpal-compare' into 'next'
Compare PNG palettes with the game's palette, instead of assuming they are the same

See merge request STJr/SRB2!1185
2020-11-08 20:46:07 -05:00
James R
4f5d6f6197 Merge branch 'write-thingies' into 'next'
The lump is not needed for P_WriteThings

See merge request STJr/SRB2!1231
2020-11-08 20:35:51 -05:00
James R
6fc461ca53 Merge branch 'gif-dynamic-delay-v2' into 'next'
EMERGENCY: By default use the old gif_dynamicdelay v1 behavior, but keep v2 as an option.

See merge request STJr/SRB2!1236
2020-11-08 19:33:03 -05:00
James R
a247719adf Merge branch 'register-metatables' into 'next'
Improve support for metatables in netgames

See merge request STJr/SRB2!1224
2020-11-08 19:30:51 -05:00
Louis-Antoine
69781faa42 Return explicitly when failing to register a metatable 2020-11-09 00:16:40 +01:00
Steel Titanium
63eab202c7 Remove spritedef field 2020-11-08 13:31:59 -05:00
Steel Titanium
a7e20f7081 Push skin->sprites as light userdata 2020-11-08 13:25:56 -05:00
Louis-Antoine
88408619aa Show a console error if the gamestate contains too many tables 2020-11-08 17:33:49 +01:00
Louis-Antoine
449799bd5a Throw an error if too many metatables are registered 2020-11-08 17:20:25 +01:00
Steel Titanium
e41d1632c5 Allow access to skin.sprites[]
Only numframes so far though, as there's already a function for what spriteframe provides.
2020-11-07 23:55:37 -05:00
James R
c2e242d27c Fix floating point math 2020-11-07 13:48:37 -08:00
LJ Sonic
ebfa4aafbc Merge branch 'resend-gamestate' into 'next'
Resend gamestate when resynching

See merge request STJr/SRB2!829
2020-11-07 13:14:32 -05:00
James R
91a89d5d5e Let's try an experiment: move the epoch forward as I_GetTime is called
This will make it even longer until time wraps around. Have you ever run a
srb2 server for 4 years straight?
2020-11-07 01:57:09 -08:00
GoldenTails
efa5b5d4ba Remove 3 wasteful bytes of guaranteed blank memory from some place where it's not gonna matter that much 2020-11-07 03:49:21 -06:00
GoldenTails
f8c2209f62 fix dumb memcpy 2020-11-07 03:43:55 -06:00
James R
27fbf77922 Huge perfstats refactor
I needed to update it to make it functional with the precise timer. But I also
got sick of looking at the mess of sprintf followed by draw call.
2020-11-07 01:32:59 -08:00
James R
636307e9de Use precise time for gif timing 2020-11-07 01:32:25 -08:00
James R
f07c6067e4 Use high precision timer, replace I_GetTimeMicros with I_GetPreciseTime and I_PreciseToMicros 2020-11-07 01:31:24 -08:00
GoldenTails
fb74fd8841 By default use the old gif_dynamicdelay v1 behavior, but keep v2 as an option. 2020-11-07 03:02:21 -06:00
James R
15b2d52c69 Remove win32 specific timer 2020-11-06 14:14:12 -08:00
James R
e87c3bd69e Merge branch 'gif-dynamic-delay-v2' into 'next'
Give the GIF recorder some memory so frame delays are a little more accurate

See merge request STJr/SRB2!1198
2020-11-06 17:10:45 -05:00
James R
cb7b7763cd Do not factor height into sprite thickseg sorting 2020-11-05 18:45:52 -08:00
James R
fb181a5b38 Remove unused stuff 2020-11-05 18:45:51 -08:00
James R
9bb22d5fce Check that top of sprite is above plane or bottom is below
This fixes slightly raised fofs drawing on top of sprites that should be in
front of them. Previously would check that the bottom of the object was above
the plane. Now also uses sprite offsets like the fof seg sorting does.
2020-11-05 18:45:43 -08:00
GoldenTails
6126e8badf Make mapmusflags and mapmusname writable. 2020-11-05 18:12:35 -06:00
GoldenTails
fbd20c9591 Make skincolor_* CTF color variables writable. 2020-11-05 17:38:32 -06:00
GoldenTails
cf3d6eb0af Make stoppedclock writable. 2020-11-05 15:22:45 -06:00
GoldenTails
3125128be7 Make displayplayer writable. 2020-11-05 13:43:33 -06:00
GoldenTails
4a0fd2309e Make gravity writable. 2020-11-05 12:39:03 -06:00
GoldenTails
69f24e34ad Make token writable. 2020-11-05 12:38:47 -06:00
GoldenTails
7bf8a4d056 Make emeralds writable. 2020-11-05 12:37:49 -06:00
Jaime Passos
8599447c70 Remove RF_VOXELSPRITE 2020-11-05 00:44:10 -03:00
Jaime Passos
da0f2286e3 P_DeleteFloorSpriteSlope -> P_RemoveFloorSpriteSlope 2020-11-05 00:42:14 -03:00
Jaime Passos
cac8e06e7d Remove NOWATER define 2020-11-05 00:00:08 -03:00
Jaime Passos
917f8bbb66 Plane optimization and cleanup 2020-11-04 23:46:34 -03:00
Jaime Passos
928ea1abc9 R_DrawSplatSprite -> R_DrawFloorSprite 2020-11-04 21:43:16 -03:00
GoldenTails
3af2031eae Fix hyperwalls 2020-11-03 20:11:39 -06:00
Steel Titanium
115b509348 Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into lua-musicfuncs
# Conflicts:
#	src/dehacked.c
2020-11-01 23:22:03 -05:00