Commit graph

11884 commits

Author SHA1 Message Date
Louis-Antoine
3d1677bade Add a shorthand alias for FRACUNIT 2020-11-12 21:33:47 +01:00
Louis-Antoine
365255990d Add shorthand aliases for fixed-point functions 2020-11-12 21:25:31 +01:00
Nev3r
072e1889e2 Fix size_t/INT32 compare. 2020-11-12 13:59:21 +01:00
Nev3r
2c8a99f25a Add a level parameter to the iterators to account for nesting, and thus avoid variable shadowing. 2020-11-12 13:48:14 +01:00
Nev3r
a8f554075f Extern the global tag groups properly. 2020-11-12 12:25:02 +01:00
Nev3r
a931d09e7d Forgot to change %d to %s for sizeu1(). 2020-11-10 13:11:42 +01:00
Nev3r
56c3e93d3a Remove unused tag parameter. 2020-11-10 13:10:01 +01:00
Nev3r
a405f17d0b Missing prototype. 2020-11-10 13:09:30 +01:00
Riku Salminen
91a34575a7 Declared the cvar in netcmd to get rid of warnings 2020-11-10 13:53:31 +02:00
Nev3r
676f7f5dbf Use memmove() 2020-11-10 12:45:30 +01:00
Riku Salminen
8f001b63c2 Getting the brach up to date with STJR 2020-11-10 13:37:46 +02:00
Nev3r
b65211d148 Use sizeu1() 2020-11-10 12:34:08 +01:00
Nev3r
d5355a11b0 Indent 2020-11-10 12:23:30 +01:00
Nev3r
95a61a226b rename TAG_ITER_C to TAG_ITER_DECLARECOUNTER and remove the semicolon from the macro. 2020-11-10 12:22:55 +01:00
Riku Salminen
3dff612f3c Try to add cvars for old camera 2020-11-10 13:21:34 +02:00
Riku Salminen
33725a58b4 Update p_tick.c, Replacing mobj angle with cmd angleturn 2020-11-10 13:21:34 +02:00
Riku Salminen
aea35171c2 Update p_tick.c, got rid of an useless angle change function 2020-11-10 13:21:34 +02:00
Riku Salminen
2832586274 Make the replay camera follow the player 2020-11-10 13:21:33 +02:00
Nev3r
1d542d3676 Add copyright notices. 2020-11-10 12:12:16 +01:00
Riku Salminen
7eeb75260b Try to add cvars for old camera 2020-11-10 13:06:47 +02:00
Nev3r
fb9432ae57 Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into udmf-multitag 2020-11-10 11:46:53 +01:00
Riku Salminen
241453056b Update p_tick.c, Replacing mobj angle with cmd angleturn 2020-11-10 04:31:26 -05:00
Riku Salminen
7c79f70234 Update p_tick.c, got rid of an useless angle change function 2020-11-10 04:17:25 -05:00
James R
b62a3b623a Don't let Lua cvar setting functions work on CV_NOLUA vars 2020-11-09 18:54:00 -08:00
Riku Salminen
824dedb0e8 Make the replay camera follow the player 2020-11-09 18:55:00 -05:00
James R
4fcca22343 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
202d2126c9 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
3daee0ebf8 Made height/spinheight and height change values in replays more accurate 2020-11-09 17:01:20 +02:00
GoldenTails
fae4709f4b Fix stupid divide-by-zero error 2020-11-08 23:28:20 -06:00
GoldenTails
9e6c0c31be Add skincolor vars to the NetSave 2020-11-08 20:43:16 -06:00
Steel Titanium
bcaed4b95b Remove unused music types 2020-11-08 21:33:12 -05:00
Steel Titanium
050a22f1ce Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into lua-musicfuncs 2020-11-08 21:20:07 -05:00
James R
876aeb6a31 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
b8f668b2e0 rename 2020-11-08 23:02:05 -03:00
James R
16f08d28e2 Merge branch 'hyperwalls-fix' into 'next'
Fix hyperwalls

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

See merge request STJr/SRB2!1189
2020-11-08 20:48:25 -05:00
James R
b2dc35864e 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
bbd003976b 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
049237e50f 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
097f204ceb 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
9f851dc285 Return explicitly when failing to register a metatable 2020-11-09 00:16:40 +01:00
Steel Titanium
d26172661d Remove spritedef field 2020-11-08 13:31:59 -05:00
Steel Titanium
83a87042f1 Push skin->sprites as light userdata 2020-11-08 13:25:56 -05:00
Louis-Antoine
87206a8c21 Show a console error if the gamestate contains too many tables 2020-11-08 17:33:49 +01:00
Louis-Antoine
e52cb7f6fa Throw an error if too many metatables are registered 2020-11-08 17:20:25 +01:00
Steel Titanium
1320f10839 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
c0dbc562bb Fix floating point math 2020-11-07 13:48:37 -08:00
LJ Sonic
9b151ca45c 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
515d7eeb9e 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
9d11d8eec9 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