Commit graph

15955 commits

Author SHA1 Message Date
Blur
60eb9fdb44 Prevent bots from taking slot 0 with lua. 2024-06-09 16:33:24 -05:00
Lactozilla
332445ae55 Merge branch 'fix-forceskin-none-segfault' into 'next'
Fix segfault when setting forceskin to None

See merge request STJr/SRB2!2478
2024-06-09 05:04:42 +00:00
Lactozilla
650f7a52a7 Check if snake minigame is active before mapping joystick events 2024-06-09 01:54:02 -03:00
Lactozilla
5f7389142e Interpolate renderer-specific slope vectors 2024-06-07 19:08:22 -03:00
sphere
9ff0bea92c Merge branch 'modernmodelmishap' into 'next'
Don't adjust texture coords of nonexistent gpatch (resolves #1242)

Closes #1242

See merge request STJr/SRB2!2469
2024-06-07 13:46:05 +00:00
sphere
b2fa2cfbd8 Merge branch 'fix-1263' into 'next'
Fix #1263

Closes #1263

See merge request STJr/SRB2!2472
2024-06-07 13:38:19 +00:00
sphere
3d4ab0279f Merge branch 'xgl2' into 'next'
Implement support for ZDoom GL2 nodes

See merge request STJr/SRB2!2474
2024-06-07 13:28:17 +00:00
sphere
b68a0fda8f Merge branch 'fix-misaligned-access' into 'next'
Do not access memory on misaligned addresses

See merge request STJr/SRB2!2438
2024-06-07 13:26:42 +00:00
sphere
4332a32e44 Merge branch 'fix-clang-warnings' into 'next'
Fix code that generates warnings under Clang

See merge request STJr/SRB2!2477
2024-06-07 13:15:08 +00:00
sphere
60a8d91d44 Merge branch 'resolve-1256' into 'next'
Resolve #1256

Closes #1256

See merge request STJr/SRB2!2475
2024-06-07 13:15:00 +00:00
Hanicef
1718361123 Fix segfault when setting forceskin to None 2024-06-07 12:40:23 +02:00
sphere
ce1901a3bb Merge branch 'fix-spectator-list-resolution' into 'next'
Fix spectator list not compensating for non-green resolutions

See merge request STJr/SRB2!2393
2024-06-06 22:53:25 +00:00
sphere
4e9e321e51 Merge branch 'fix-1153' into 'next'
Fix #1153 and #1198

Closes #1198 and #1153

See merge request STJr/SRB2!2476
2024-06-06 22:45:44 +00:00
Lactozilla
4065860ddd Delete duplicated prototypes 2024-06-05 18:57:48 -03:00
Lactozilla
7751c7f132 Fix code that generated warnings under Clang
Fixed code that generated the following warnings under Clang:
-Wdeprecated-non-prototype
-Wsingle-bit-bitfield-constant-conversion warnings
2024-06-05 18:56:02 -03:00
sphere
44c4d4dabd Merge branch 'raise-textmap-parser-limits' into 'next'
Raise TEXTMAP parser limits

See merge request STJr/SRB2!2473
2024-06-05 21:34:49 +00:00
sphere
7cff7f7746 Merge branch 'avoid-traversing-home' into 'next'
Don't traverse the entire HOME directory to find wads

See merge request STJr/SRB2!2396
2024-06-05 21:33:18 +00:00
sphere
bcd55f778d Merge branch 'fix-buffer-overflow-symlinks' into 'next'
Fix buffer overflow when loading addons through symlinks

See merge request STJr/SRB2!2402
2024-06-05 21:32:57 +00:00
Lactozilla
85376ebe25 Fix #1153 2024-06-05 18:18:02 -03:00
Lactozilla
a50d7f5db5 Fix code that emits -Wcalloc-transposed-args warnings 2024-06-05 17:01:48 -03:00
Lactozilla
89dbfe32db Disable -Wpedantic 2024-06-05 15:40:50 -03:00
sphere
d2cde25177 Merge branch 'next' into 'next'
Fix buffer overflow when setting NETVAR string console variable and ensure servername is within MAXSERVERNAME

See merge request STJr/SRB2!2445
2024-06-05 12:23:25 +00:00
Lactozilla
b480f78c96 Implement support for ZDoom GL2 nodes 2024-06-04 18:35:37 -03:00
Refrag
b16c4df31c
Ensure the servername fits into MAXSERVERNAME before setting it
This commit adds a verification before setting the servername console
variable. We now check that it fits within the MAXSERVERNAME length and
we cancel setting it if it doesn't.
Letting the servername be more than MAXSERVERNAME could lead to crashes
when trying to edit the server name from the menu so, we now avoid
those.
2024-06-04 21:35:53 +02:00
sphere
5de350e028 Merge branch 'fix-segfault-player-spawnmobj' into 'next'
Fix segfault when trying to spawn an MT_PLAYER from Lua

See merge request STJr/SRB2!2276
2024-06-04 10:41:00 +00:00
Lactozilla
37270c871e Raise TEXTMAP parser limits 2024-06-04 02:08:25 -03:00
sphere
b4b72730db Merge branch 'shieldscalefix' into 'next'
Fix shieldscale 0 bugs

See merge request STJr/SRB2!2425
2024-06-03 23:25:02 +00:00
SMS Alfredo
f19ec6f676 Fix shieldscale 0 bugs 2024-06-03 23:25:02 +00:00
sphere
525edab73c Merge branch 'avoid-update-failed-ms' into 'next'
Avoid updating IPv4 MS entry if it failed to register

See merge request STJr/SRB2!2462
2024-06-03 22:41:55 +00:00
sphere
0f479f602e Merge branch 'fix-523' into 'next'
Fix object collision with solid noskew midtextures (resolves #523)

Closes #523

See merge request STJr/SRB2!2447
2024-06-03 22:38:53 +00:00
Lactozilla
d0b420c760 Prevent a memory leak 2024-06-03 13:30:01 -03:00
Lactozilla
16560653a0 Merge branch 'next' into texture-index-255-is-transparent 2024-06-03 13:23:09 -03:00
Lactozilla
04bc7e1e29 Merge branch 'next' into fix-523 2024-06-03 13:19:27 -03:00
sphere
dbe3c0c76d Merge branch 'flingring_perfectbonus' into 'next'
Transform FlingRing when attracted instead of spawning new Ring

Closes #1218

See merge request STJr/SRB2!2390
2024-06-03 14:52:20 +00:00
sphere
02ee3382da Merge branch 'demolition' into 'next'
Fix exitgame-ing a demo crashing the game (resolves #1237)

Closes #1237

See merge request STJr/SRB2!2419
2024-06-03 14:47:28 +00:00
pastel
4840310f1a Fix exitgame-ing a demo crashing the game (resolves #1237) 2024-06-03 14:47:27 +00:00
sphere
432c0eaf2f Merge branch 'add-tofixed-lua' into 'next'
Add tofixed lua function

See merge request STJr/SRB2!2430
2024-06-03 14:43:27 +00:00
sphere
998f7de6ba Merge branch 'fix-crash-2pai-bot' into 'next'
Fix crash when spawning a BOT_2PAI on a dedicated server

See merge request STJr/SRB2!2409
2024-06-03 14:38:45 +00:00
sphere
bba2eed0aa Merge branch 'ulse' into 'next'
Fix tiny spindash math moment

See merge request STJr/SRB2!2421
2024-06-03 14:36:20 +00:00
pastel
b0d5828e79 Fix tiny spindash math moment 2024-06-03 14:36:20 +00:00
sphere
f67d349b35 Merge branch 'fix-buffer-overflow-hud-string' into 'next'
Fix segfault when passing a long string to v.drawString

See merge request STJr/SRB2!2403
2024-06-03 14:25:41 +00:00
sphere
4a599cb8da Merge branch 'nostickztarget' into 'next'
Fix automatic mode z-target bugs and crashes (resolves #751, #758, #1264)

Closes #1264, #758, and #751

See merge request STJr/SRB2!2422
2024-06-03 14:24:06 +00:00
sphere
6d68091f3f Merge branch 'skinvarstuff' into 'next'
Update skin cvar from character select and compare against cvar when warping without a loaded file (resolves #1267, #1117, #1114, #1112)

Closes #1112, #1114, #1117, and #1267

See merge request STJr/SRB2!2467
2024-06-03 14:19:44 +00:00
sphere
6b8f4ab398 Merge branch 'allowdesync' into 'next'
Add a console variable that will allow individual demos to desync....

See merge request STJr/SRB2!2361
2024-06-03 13:45:37 +00:00
sphere
6b160747d8 Merge branch 'alwaysgrabmouse-fix' into 'next'
Fix mouse buttons not working in menus with alwaysgrabmouse on

Closes #1257

See merge request STJr/SRB2!2449
2024-06-03 13:41:54 +00:00
sphere
d3686b3255 Merge branch 'improve-backtrace' into 'next'
Clean up the backtrace code and make it use write() more safely.

See merge request STJr/SRB2!1897
2024-06-03 13:37:48 +00:00
sphere
8ffce81fc3 Merge branch 'whirlybirdridesagain' into 'next'
Removed thokked when hitting springs (resolves #1245)

Closes #1245

See merge request STJr/SRB2!2429
2024-06-03 13:30:16 +00:00
sphere
57e17184d1 Merge branch 'lessthan3emeraldshards' into 'next'
Allow less than 3 emerald shards instead of crashing

See merge request STJr/SRB2!2433
2024-06-03 13:24:58 +00:00
sphere
f54c34e2ee Merge branch 'fix-shearing-vertical-aim' into 'next'
Fix vertical aim being off when using lack of perspective

See merge request STJr/SRB2!2408
2024-06-03 13:17:37 +00:00
sphere
3ef5d14e3a Merge branch 'issue1062' into 'next'
Don't change drawangle while riding on a fan

Closes #1062

See merge request STJr/SRB2!2371
2024-06-03 13:12:38 +00:00