Commit graph

21259 commits

Author SHA1 Message Date
toaster
a4a74a7d2f Do not continue to run thinker for MT_MAGICIANBOX if removed by running out of lifespan 2023-01-21 12:30:00 +00:00
toaster
79401a888f Do not spawn Heavy Magician box/particles, or play associated sounds, if the player is a spectator 2023-01-21 12:30:00 +00:00
James R
63bed732f2 G_Responder: remove check to finalecount before opening menu from title screen
This is handled by M_StartControlPanel anyway and the
condition did not match anymore.
2023-01-19 21:28:03 -08:00
James R
e8bc7035f5 Always select current profile in profile options menu
Fixes Guest profile being selected if opening the game
from command line (without going to title screen) and
opening the profile select from the options menu.
2023-01-19 21:27:16 -08:00
James R
83a6acd5c8 Do not force Guest profile when selecting profile for first time
This lets ttlprofilen persist if backing out of profile
select.
2023-01-19 21:26:21 -08:00
James R
ddb55c95c7 Merge branch 'split-menufunc' into 'master'
Move all specialized code out of k_menufunc.c

See merge request KartKrew/Kart!888
2023-01-20 03:16:00 +00:00
Oni
5488f723e1 Merge branch 'loud-ufo' into 'master'
Add UFO hum + hit reaction SFX

See merge request KartKrew/Kart!893
2023-01-20 01:59:58 +00:00
AJ Martinez
0eba5c5a74 Fix UFO hum level clamping 2023-01-19 15:56:36 -07:00
AJ Martinez
3165deb43b Clamp UFO hum SFX to safe values 2023-01-19 15:41:10 -07:00
AJ Martinez
eebce28b7e Fix bad loop on UFO pinch hit hums 2023-01-18 02:59:46 -07:00
AJ Martinez
5837f983e8 Add UFO hum + hit reaction SFX 2023-01-18 02:15:18 -07:00
Oni
892a19c85f Merge branch 'adjust-garden-top' into 'master'
Adjust Garden Top physics

See merge request KartKrew/Kart!890
2023-01-17 06:24:10 +00:00
Eidolon
128c3b063a Merge branch 'hwr2' into 'master'
Render Hardware Interface Part 1: A New Hope

See merge request KartKrew/Kart!891
2023-01-15 19:39:11 +00:00
toaster
8555c66d61 activator_t: Before Z_Freeing, consistently decrement refcount for activator->mo per review 2023-01-15 15:12:30 +00:00
toaster
083d3df96f d_main.c: Adjust shaders.pk3 handling per my comments 2023-01-15 14:00:43 +00:00
toaster
ad50e67ae9 r_data.c: Resolve defined-but-unused function warning intefering with compilation
Removes `R_Init8to16` and its inline helper, `makecol15`, the last bastion of an abandoned 16-bit drawer rework
2023-01-15 13:10:09 +00:00
James R
1ba7842068 hwr2 legacy opengl: restore fps counter etc 2023-01-14 18:57:45 -08:00
James R
8ff95af61d Disable Drop Dashing while on the Garden Top 2023-01-14 18:35:49 -08:00
Eidolon
7db8b7d20c hwr2 gl3core: Fix FBO depth attachment 2023-01-14 20:30:52 -06:00
Eidolon
095aa635b0 hwr: Store T in Slab directly 2023-01-14 20:27:56 -06:00
James R
610e2c66be Adjust Garden Top physics
- 110% -> 150% top speed
- no friction decrease if grinding
- 250% -> 300% gravity when grinding (for slope sliding)
- 275% -> 325% max boost when releasing grind
- 60% minimum boost speed when relasing grind
2023-01-14 18:11:46 -08:00
Eidolon
ccc10eadd0 hwr2: Reformat C++ code 2023-01-14 19:59:41 -06:00
Eidolon
fcb4dfe3d7 hwr2: Restore legacy OpenGL temporarily 2023-01-14 19:52:33 -06:00
Eidolon
b932607359 hwr2: Remove sw testing state from sdl video 2023-01-14 19:52:10 -06:00
Eidolon
286c96173a hwr2 gl3core: Implement render pass FBOs 2023-01-14 19:29:19 -06:00
Eidolon
01ddbf6dcf (WIP) hardware: add render hardware interface 2023-01-14 18:40:26 -06:00
toaster
cafe7603b8 Merge branch 'follower-hitlag' into 'master'
Follower hitlag

See merge request KartKrew/Kart!877
2023-01-14 12:28:52 +00:00
Oni
3d6b6a94b9 Merge branch 'fix-loopms' into 'master'
Fix songs that use LOOPMS not looping correctly

Closes #407

See merge request KartKrew/Kart!886
2023-01-14 03:50:10 +00:00
James R
b26cd786ec Move all specialized code out of k_menufunc.c
Adds new files:

- menus/extras-statistics.c
- menus/play-online-room-select.c
- menus/transient/cup-select.c
- menus/transient/explosions.c
- menus/transient/gametype.c
- menus/transient/message-box.c
- menus/transient/virtual-keyboard.c
2023-01-12 20:31:31 -08:00
James R
d5302d9e5d Merge branch 'clang-format-adjustments' into 'master'
cxx: clang-format adjustments

See merge request KartKrew/Kart!880
2023-01-12 19:09:41 -08:00
James R
da60f6ac1d Fix playsoundsifunfocused callback
Just a minor bug. If playsoundsifunfocused was changed
from "Yes" to "Yes" while the window is unfocused, then
sounds would stop briefly.
2023-01-12 19:00:13 -08:00
toaster
9ed9147640 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into overlay-offsets 2023-01-12 16:30:48 +00:00
toaster
51a9a6d363 P_RefreshItemCapsuleParts: Check for NULL before P_MobjWasRemoved 2023-01-12 16:14:16 +00:00
toaster
1ac869cbb3 P_RefreshItemCapsuleParts: Correctly assign part->tracer's OV_DONTSCREENOFFSET 2023-01-12 16:14:12 +00:00
toaster
d5491612f2 Merge branch 'fix-curl-protocols-str' into 'master'
d_netfil.c: fix usage of CURLOPT_PROTOCOLS_STR

See merge request KartKrew/Kart!887
2023-01-12 16:12:54 +00:00
James R
e194353da9 d_netfil.c: fix usage of CURLOPT_PROTOCOLS_STR
blame be7cabc50
2023-01-12 07:55:42 -08:00
James R
f7787e45ec Expose current position for XMP 2023-01-12 04:41:16 -08:00
James R
398c137c1a Fix reported loop point for GME 2023-01-12 04:41:16 -08:00
James R
dbdda14061 Fix LOOPMS loop point for OGG player 2023-01-12 04:36:44 -08:00
James R
4e51ad6c78 Add devmode music
Song: <NOTHING>

        Song:    DEMOZ
      Format:      OGG
      Volume:   50/100
      Loop A: 00:00.65
      Loop B: 01:06.00
     Elapsed: 01:09.00
2023-01-12 03:29:43 -08:00
James R
49c5c785bf Remove musictype_t, S_MusicType and I_SongType return implementation string
Lua API change: S_MusicType now returns string instead of number
2023-01-12 02:50:02 -08:00
James R
ba27c87ff0 Add capsuletest cvar
- capsuletest off - default behavior.

- capsuletest multiplayer - always spawn non time attack
capsules, even in FREE PLAY.

- capsuletest timeattack - always spawn time attack
capsules, even in multiplayer.
2023-01-11 21:46:21 -08:00
James R
eb8d03f479 Do not disable and reenable sounds entirely when window focus changes
Sounds are not started if the window is unfocused,
regardless of sound_disabled.

Fixes -nosound not working (sounds would always be
reenabled if window comes into focus).
2023-01-11 18:22:06 -08:00
Oni
78f04f8c71 Merge branch 'bot-realtime-fix' into 'master'
Bot `realtime` fix

See merge request KartKrew/Kart!874
2023-01-12 00:35:08 +00:00
James R
bdbcceb212 Merge branch 'fix-audio-null-deref' into 'master'
audio: conditionally shutdown SFX/Music players

See merge request KartKrew/Kart!881
2023-01-11 03:01:11 +00:00
James R
fc6c83577c Merge branch 'fix-curlopt-deprecated' into 'master'
Fix libcurl deprecation warnings in d_netfil.c

See merge request KartKrew/Kart!882
2023-01-11 02:56:46 +00:00
toaster
fae160babb CL_ClearPlayer: re-add missing invitation set 2023-01-10 15:03:19 +00:00
toaster
4ba0ed20e0 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into refcount-goofin 2023-01-10 15:00:44 +00:00
James R
567bd2a84a d_netfil: use CURLOPT_XFERINFOFUNCTION
Fixes deprecated warning since libcurl 7.32.0 (2013-08-12).
2023-01-09 19:34:15 -08:00
James R
be7cabc50f d_netfil: use CURLOPT_PROTOCOLS_STR if libcurl >= 7.85.0 (2022-08-31) 2023-01-09 19:30:23 -08:00