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
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
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
James R
19a85c25e2
Merge branch 'fix-spectator-offroad' into 'master'
...
Fix spectators spawning offroad particles
Closes #394
See merge request KartKrew/Kart!865
2023-01-10 02:45:04 +00:00
James R
344cc2ced4
Merge branch 'split-menudef' into 'master'
...
Split k_menudef.c into menus folder
See merge request KartKrew/Kart!873
2023-01-10 02:40:52 +00:00
Eidolon
f43de07fd1
cxx: clang-format adjustments
2023-01-09 20:02:19 -06:00
Eidolon
9f649d7701
audio: conditionally shutdown SFX/Music players
...
Fixes a potential segfault during startup where the sound hasn't been
initialized yet, but an I_Error occurs while loading data.
2023-01-09 14:58:59 -06:00
Eidolon
1b859f5073
cxx: Add srb2::Overload for using std::visit
2023-01-09 13:05:35 -06:00
toaster
c7525fb5a6
Introduce MT_OVERLAY exception flags
...
- Applied via threshold of Overlay mobj
- OV_DONTSCREENOFFSET
- spritexoffset, spriteyoffset
- Given to Item Capsule quantity numbers
- OV_DONT3DOFFSET
- sprxoffset, spryoffset, sprzoffset
- OV_DONTXYSCALE
- spritexscale, spriteyscale
- OV_DONTROLL
- rollangle, pitch, roll
Makes overlay on UFO emerald follow the emerald's spriteyoffset now
2023-01-08 18:16:04 +00:00
toaster
ba3a3f4203
Follower hitlag
...
- If a player enters hitlag, put their follower in hitlag too
- If a follower exists and is in hitlag, don't update it in K_HandleFollower
2023-01-08 16:51:58 +00:00
toaster
2aa43f04b2
Additional memory safety for follower handling
2023-01-08 16:48:43 +00:00
toaster
2a87cfcdf1
Additional P_SetTarget mobj_t pointer fixes on player struct
...
* CL_ClearPlayer (player departing server)
- In GS_LEVEL, decrement refcount for all relevant pointer
- Clearer comments
* G_PlayerReborn (initialisation before any player spawn)
- Preserve skybox data and hoverhyudoro (except between maps)
- Clean up follower handling
* Cross-codebase: use P_SetTarget for setting skybox-specific pointers, to match p_saveg.c
2023-01-08 15:15:44 +00:00
toaster
3d9137a9cf
Pre-emptively fixes a possible issue where a player who is exiting would have their realtime adjusted on respawn, affecting final results.
2023-01-08 14:02:02 +00:00
toaster
9980631e2f
Fix bots' realtime not ticking upwards when all human players have exited
...
This corrects the issue where bots have the same time on exit as the last human player, and therefore tie with them, with disastrous consequences for GP.
2023-01-08 13:58:14 +00:00
James R
9be7563353
sdl/i_video.cpp: fix -Wsign-compare
2023-01-07 07:51:54 -08:00
James R
0b3d04bbfd
Split k_menudef.c into menus subdirectory
...
- src/menu contains files for each menu's definitions.
- src/menu/transient contains menus which are reused in
many places or are separate from Main Menu entirely.
File names ending in "-1" are menus which contain
a submenu. The suffix is added so that the parent menu
sorts before all its children in directory lists.
It's also done so Tab completion doesn't stop such that
a hyphen (-) would need to be typed.
For example (this is how I auto complete file names):
"ex" <TAB> completes to "extras" because the choices are
"extras.c" or "extras-addons.c" etc. Now you need to reach
away from the home row of a keyboard to type a "-" in
order to complete any of the submenu file names.
VS
"ex" <TAB> completes to "extras-". You only need to reach
to type a "1" for one menu. There may be more than one
submenu and submenu names start with letters, which are
closer to the home row.
2023-01-07 07:40:45 -08:00
Sally Coolatta
fdbd1a5f62
Merge branch 'master' into acs
2023-01-07 03:12:39 -05:00
Sally Coolatta
bc3d9d9cf7
Add string comparison funcs for ACS
2023-01-07 03:09:41 -05:00
Eidolon
b57c92efd3
cxx: Convert sdl/i_video.cpp
2023-01-07 01:24:55 -06:00
Sally Coolatta
5cc8aa004b
Fix linedef action 435 being terrible
...
This action has apparently always applied the carry scroll factor to both the carrying thinker and the scrolling thinker, so using this means that the conveyor's visual speed is significantly slower than intended and reversed.
Just ran into on a whim when working on the ACS example map
2023-01-07 01:29:40 -05:00
Sally Coolatta
0601579af3
Disable linedef executors in UDMF maps
2023-01-07 00:00:27 -05:00
Oni
cf609113f3
Merge branch 'lightsnake-polish' into 'master'
...
Lightsnake polish
Closes #309 and #299
See merge request KartKrew/Kart!870
2023-01-07 00:33:46 +00:00
toaster
9a1c377e30
Merge branch 'fix-tiregrease-offroad' into 'master'
...
Apply tiregrease exception to offroad TERRAIN
See merge request KartKrew/Kart!866
2023-01-06 15:14:34 +00:00
toaster
8cf5ebd564
Merge branch 'fix-comprevision-replays' into 'master'
...
Stricter compbranch and comprevision
Closes #398
See merge request KartKrew/Kart!864
2023-01-06 15:13:46 +00:00
toaster
f4071ce42f
Fix getting race-endingly stuck in zoom tubes while respawning
2023-01-06 13:50:47 +00:00