Commit graph

19322 commits

Author SHA1 Message Date
NepDisk
fbb69305bf Use Kart/SRB2 console colors 2024-08-01 00:50:25 -04:00
NepDisk
4089f8fc53 port newer V_CubeApply from SRB2 2024-08-01 00:36:28 -04:00
NepDisk
2733480d8c Reapply "Fix saturation not being applied on colormaps in OpenGL"
This reverts commit 6fb38b9c7b.
2024-08-01 00:23:02 -04:00
NepDisk
6fb38b9c7b Revert "Fix saturation not being applied on colormaps in OpenGL"
This reverts commit c3e9b2edff.
2024-08-01 00:21:12 -04:00
Gustaf Alhäll
c3e9b2edff Fix saturation not being applied on colormaps in OpenGL 2024-08-01 00:18:36 -04:00
Gustaf Alhäll
2c458a14fd Fix saturation option not being applied on OpenGL 2024-08-01 00:18:02 -04:00
Gustaf Alhäll
3e46e9d553 Fix segfaults on some systems due to polyvertex being NULL 2024-08-01 00:17:13 -04:00
Lach
7d7e56d060 Invert OpenGL rollangle for papersprites to match software renderer behaviour 2024-08-01 00:15:02 -04:00
Sally Coolatta
bdf8ce3064 Paired down OS Lua library
Pretty much removed everything except for time operations. File operations steps on the toes of the IO library, and the others were useless or invasive. The only one I wasn't sure about was `os.tmpname()`, but I think that's something that could be implemented for IO library instead if necessary.

The main reason I want this is because os.time provides an OK way to initially seed RNG on game first boot. But it would also be cute to let Lua modders be able to re-implement Christmas mode / day&night cycles themselves :p
2024-08-01 00:07:17 -04:00
Sally Coolatta
711e105fe3 Handle sorting against water FOFs properly 2024-07-31 23:59:48 -04:00
Sally Coolatta
96e248490c Improve LINKDRAW with multiple objects
Multiple objects with MF2_LINKDRAW will get sorted between each other, instead of purely done with dispoffset.
2024-07-31 23:57:06 -04:00
ashifolfi
062a08914e add transparency flag support to V_DrawFill 2024-07-31 23:50:00 -04:00
toaster
8412ac9fac Merge branch 'fix-gl-sprite-rollangle' into 'master'
Fix OpenGL sprite rollangle for non-papersprites

Closes #616

See merge request KartKrew/Kart!1416
2024-07-31 23:40:08 -04:00
Arthur
1226a99894 Cut the amplitude on the underwater wave in GL 2024-07-31 23:37:09 -04:00
Zwip-Zwap Zapony
c5e00a926a Uncap water ripples 2024-07-31 23:37:04 -04:00
NepDisk
f42e9752d1 reenable model interp and lighting, fix fov not saving 2024-07-31 23:14:20 -04:00
NepDisk
515be6e6b7 make flashing more accurate and remove the need for inflictor for P_damagemobj 2024-07-31 21:49:14 -04:00
NepDisk
f162efe6db Fix forwardmove 2024-07-31 18:55:24 -04:00
Hanicef
a9e66b7044 Do not access memory on misaligned addresses 2024-07-31 18:47:35 -04:00
NepDisk
75ddcb8fef revert mode set io and specfy this is a binary config. 2024-07-31 18:36:48 -04:00
NepDisk
d7dbe97eb8 Readd oil slik, uncomment things from UZB config 2024-07-31 18:17:11 -04:00
NepDisk
9742e1775a Disable combos, restore old invin visuals, fix constant line beeping 2024-07-31 18:02:47 -04:00
NepDisk
ac72e705a6 Reimplement squishing damange 2024-07-31 17:05:16 -04:00
NepDisk
b37be52225 fix make compile 2024-07-31 12:48:35 -04:00
NepDisk
f2f1a0aa66 Remove ebrake, spindash and fastfall. cleanup unused states and sprites 2024-07-31 12:46:03 -04:00
toaster
e01804c691 Update configuration
- Support new map lump ordering (THANKS STEEL FOR FINDING THESE OPTIONS!!)
- Prevent rotating waypoints causing their IDs to become corrupted
- Rename to `D3R-Config.cfg`
- Synchronise with changelog-tracked resource
- Integrate relevant 2.2 changes
- Add new credits according to historical changelogs
- A whole bunch of other cleanup
2024-07-31 04:06:25 -04:00
NepDisk
fb2167d74a default lagless on, default mindelay 0 2024-07-31 04:02:11 -04:00
James R
6da26877d5 SV_ResetServer: clear player ping data
Fixes lag experienced from watching a replay then
affecting the delay icon when starting a server afterward.
2024-07-31 03:41:16 -04:00
JugadorXEI
346a28a1cd Change mindelay max to 15, MAXPREDICTTICS to 30 2024-07-31 03:32:54 -04:00
James R
f6f41d08f9 Load palette before map data
Fixes PNG patch conversion crashing when called from vres
at game startup.

Also does not reload palette every time the resolution is
changed. (This had no effect on the SDL backend, don't
worry.)
2024-07-31 03:26:30 -04:00
James R
35416cf4d0 Let S_StopSound, S_StopSoundByID, S_StopSoundByNum stop multiple sounds
Previously stopped only one, probably the first that
started playing.
2024-07-31 03:26:21 -04:00
James R
b30cb81ea0 Merge remote-tracking branch 'origin/chat-flood-fix' 2024-07-31 03:22:38 -04:00
Sal
7ca56217f0 Merge branch 'better-splash' into 'master'
TERRAIN expansion pak

See merge request KartKrew/Kart!680
2024-07-31 03:18:55 -04:00
Sal
d91aa69677 Merge branch 'pivot-default' into 'master'
Upgrade SPRTINFO -- default pivot offsets + wildcard

See merge request KartKrew/Kart!691
2024-07-31 03:16:08 -04:00
Sally Coolatta
69b695ed33 Fix drop target cvars & debug distribution 2024-07-31 03:13:06 -04:00
James R
305f86787c Lua spriteinfo default pivot support 2024-07-31 03:12:12 -04:00
James R
8d453b5ecd Update and extend R_ParseSpriteInfo for default pivot
- Set default pivot with DEFAULT block
- Use wildcard star (*) with Sprite/Sprite2Info/Skin to
iterate over all sprites and/or skins
2024-07-31 03:12:04 -04:00
James R
2522a833f4 Add SPRINFO_DEFAULT_PIVOT, change spriteinfo_t.available to bit array
Default is used if the bit is not set for a particular
frame.
2024-07-31 03:11:54 -04:00
James R
1c90971c3d Refactor Lua spriteinfo
Fixes available not being set when pivot list is updated
on its own.
2024-07-31 03:11:46 -04:00
James R
fbc66890ea Refactor R_ParseSpriteInfo
Splits up the function, thus makes me want to kill myself
less.
2024-07-31 03:11:21 -04:00
NepDisk
4b9f9aeb83 Remove this 2024-07-31 03:09:37 -04:00
Oni
fab85e542b Merge branch 'autocope' into 'master'
Offline input delay cvar

See merge request KartKrew/Kart!687
2024-07-31 03:09:10 -04:00
James R
2adeff2488 Merge remote-tracking branch 'origin/cvar-default-ports' 2024-07-31 03:05:44 -04:00
James R
b187f93ef3 Fix -Wsign-compare 2024-07-31 03:02:36 -04:00
James R
545ec73bd8 FixedDiv2: divide numerator before taking absolute value to avoid INT32_MIN overflow to 0 2024-07-31 03:02:15 -04:00
Sal
a4d475dc4c Merge branch 'hostcode' into 'master'
HOSTCODE initial pass

Closes #240

See merge request KartKrew/Kart!615
2024-07-31 03:01:45 -04:00
toaster
8233c6615a Fix compilation issue with nested defines for r_opengl.c UnSetShader 2024-07-31 02:43:32 -04:00
NepDisk
2312b1e530 add r_bbox.c to SourceFile 2024-07-31 02:39:45 -04:00
Sal
94924ae8ac Merge branch 'ogl-bbox' into 'master'
renderhitbox for OpenGL

See merge request KartKrew/Kart!677
2024-07-31 02:36:10 -04:00
Sal
23000c7e86 Merge branch 'bbox' into 'master'
renderhitbox command for Software mode

See merge request KartKrew/Kart!672
2024-07-31 02:35:57 -04:00