Commit graph

12301 commits

Author SHA1 Message Date
James R
11bb835a45 Merge branch 'precip-bad-access' into 'next'
Fix potential crash with precipitation in OpenGL

See merge request STJr/SRB2!1249
2020-11-14 18:33:58 -05:00
James R
bd9b11a40c Merge branch 'mobjspawnscale' into 'next'
Reallow P_MobjSpawn to change the scale of objects spawned from mapthings

Closes #328

See merge request STJr/SRB2!1251
2020-11-14 18:08:40 -05:00
Nev3r
3a8b2a6fb7 Better documentation. 2020-11-14 20:50:34 +01:00
Nev3r
cc98be4d23 Add documentation for the iterator macros. 2020-11-14 20:25:00 +01:00
Riku Salminen
0a1beab8c8 Reset a couple of other variables while we're at it 2020-11-14 20:17:35 +02:00
Riku Salminen
8814980a06 Emeralds and tokens now reset when restarting marathon mode in first level 2020-11-14 19:18:36 +02:00
lachwright
a65fc9f622 Reallow P_MobjSpawn to change the scale of objects spawned from mapthings 2020-11-15 02:53:10 +11:00
lachwright
8f570eaa97 Use SDL version of executable icon at runtime on macOS 2020-11-15 01:13:41 +11:00
Monster Iestyn
a38a6a9dc0 Split off actual skin-setting code from SetPlayerSkinByNum so that both SetPlayerSkin and SetPlayerSkinByNum can call it, rather than to each other 2020-11-13 20:49:18 +00:00
Louis-Antoine
01124f2076 Fix Lua stacktrace not showing in various situations 2020-11-13 19:12:25 +01:00
Louis-Antoine
de70934552 Add missing lua_pop call 2020-11-13 18:19:13 +01:00
Louis-Antoine
04826d2615 Replace lua_pop(-1) with lua_settop(0) 2020-11-13 15:31:11 +01:00
Nev3r
1a8ec39f6c Remove direct definition for D__USE_MINGW_ANSI_STDIO, as the latest standards consider this to be deprecated. 2020-11-13 11:33:27 +01:00
James R
e3c8415627 OpenGL: don't access field that doesn't exist in precipmobj_t 2020-11-13 00:46:03 -08:00
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