Commit graph

23383 commits

Author SHA1 Message Date
James R
e5a533544d Add sonicloopvars_t to player_t 2023-02-28 19:14:35 -08:00
James R
49bb2a377e Add P_SpawnItemLine, spawn a row of mapthings between two points 2023-02-28 19:14:35 -08:00
James R
290d3fd3e8 Do not selectively reset mobj interpolation state at the beginning of P_MobjThinker
Fixes P_MoveOrigin not interpolating if used before
P_MobjThinker, i.e. during player think.

These are reset at the start of a tic anyway, before
anything else, with R_UpdateMobjInterpolators.
2023-02-28 19:14:35 -08:00
James R
ff15fc142b Add FSIN/FCOS, shortcuts to FINESINE/FINECOSINE 2023-02-28 19:11:48 -08:00
James R
36113f2d47 AngleDelta: return angle_t
This function can return ANGLE_180, which when cast to
a signed integer, is a negative value.
2023-02-28 19:11:48 -08:00
SteelT
de00dd15fc Fix building errors with webm, catch missing SRB2_CONFIG_ENABLE_WEBM_MOVIES condition 2023-02-28 21:49:24 -05:00
Eidolon
639a56bdfd hwr2: fix encore wipe to white 2023-02-28 19:49:17 -06:00
Eidolon
42fa2cf286 hwr2: restore software CustomFadeScreen 2023-02-28 19:20:31 -06:00
toaster
5ee9b9d5b6 Merge branch 'fix-ghost-checks' into 'master'
Use correct ziptic size parsing RA ghosts

See merge request KartKrew/Kart!989
2023-02-28 11:33:05 +00:00
Oni
f93f4e5dfd Merge branch 'buff-monitor-tiregrease' into 'master'
Buff the damage given to battle monitors when in spring grease state

See merge request KartKrew/Kart!987
2023-02-28 10:06:24 +00:00
AJ Martinez
41be94ec5f Use correct ziptic size parsing RA ghosts 2023-02-27 23:10:14 -07:00
SteelT
43b88b9d29 Buff the damage given to battle monitors when in spring grease state 2023-02-27 21:41:07 -08:00
James R
4e025836eb Merge branch 'fix-director-debounce' into 'master'
Director: fix positiondelay debounce

See merge request KartKrew/Kart!985
2023-02-28 05:10:31 +00:00
Oni
ce4ab6c5a8 Merge branch 'fix-director-splitscreen' into 'master'
Director: skip splitscreen players when switching

See merge request KartKrew/Kart!986
2023-02-28 05:10:22 +00:00
Oni
85f3d66f2c Merge branch 'spectator-rework' into 'master'
Rework spectator mode

See merge request KartKrew/Kart!980
2023-02-28 05:08:50 +00:00
Eidolon
f82bdd878d hwr2: remove now-unused software wiggle 2023-02-27 21:46:40 -06:00
Eidolon
83b6c30952 hwr2: add wipe mode to F_RunWipe, fix all wipes 2023-02-27 21:45:59 -06:00
Eidolon
98ce714614 hwr2: integrate avrecorder with RHI and legacy GL 2023-02-27 19:49:45 -06:00
toaster
c9dd133b2d play-local-race-difficulty: Make check for Encore option based off the local state (do not attempt to check online unlock) 2023-02-27 19:56:07 +00:00
toaster
54a58178a1 Add Extras-related unlocks
- When SECRET_ADDONS is locked
    - No Addons option on Extras submenu
    - No mid-game Addons in K_CanChangeRules
    - Forced onto CORE on Server Browser room selection page
        - Semi-related: If modifiedgame is true, force onto MODDED, even if you haven't unlocked it
        - TODO: Update UI to show you can't switch in a more elegant way
    - Hide Addons Options on Data Options submenu
- When SECRET_EGGTV is locked
    - No Egg TV option on Extras submenu
    - Semi-related: Rename to Egg TV per team discussion
2023-02-27 19:55:11 +00:00
toaster
b0ae6a7532 M_HandleMenuInput: remove extra newline from "this cannot be done in a modified game" 2023-02-27 17:39:48 +00:00
toaster
6d43d8ef09 Add SECRET_ONLINE.
- Online menu is inaccessible until unlocked.
- Unlike most unlocks, the fact that it's not enabled is very clearly signposted.
    - This is because the previous entry in the series barely had any offline content at all, so the fact you'll have to work for it will catch a lot of people by surprise.
    - Has a message that straight up tells you you need experience in Grand Prix mode.
- Has no affect in TESTERS builds, for which this is the only method of play available.
2023-02-27 17:01:15 +00:00
toaster
36d5c38915 Fixes for -skill parameter on game boot
- Forbid Hard Speed and Master Mode when not unlocked
- Don't set invalid game speed if provided skill is invalid
2023-02-27 14:26:18 +00:00
toaster
102ada37ca Unlock system: Imprement SECRET_MASTERMODE
- Locks Master difficulty in GP difficulty select.
- Remove SECRET_LEGACYBOXRUMMAGE at the same time, because that plan is long dead.
2023-02-27 13:39:47 +00:00
toaster
95a1cb7108 Merge branch 'viewpoint-and-director-fixes' into 'master'
Fixes for F12 and Director Cam

See merge request KartKrew/Kart!979
2023-02-27 11:45:06 +00:00
toaster
c5a6d1169c Merge branch 'desperation-leniency' into 'master'
More friendly desperation spindash

See merge request KartKrew/Kart!983
2023-02-27 11:37:32 +00:00
Oni
42dc2a1bfd Merge branch 'keep-powerups-in-midair' into 'master'
Make powerup timers less frustrating

See merge request KartKrew/Kart!981
2023-02-27 07:04:27 +00:00
Oni
3a0c72e7c0 Merge branch 'menu-dribdrabs' into 'master'
Menu Dribdrabs

See merge request KartKrew/Kart!982
2023-02-27 07:04:02 +00:00
James R
9d8c2cd703 Director: skip splitscreen players when switching
This makes sure director only tries switching to players
who aren't splitscreen players.
2023-02-26 21:39:37 -08:00
Oni
ca64bcdb70 Merge branch 'special-stage-magician' into 'master'
Rerandomize SF_IRONMAN on UFO hit

See merge request KartKrew/Kart!970
2023-02-27 05:27:06 +00:00
Oni
d540b3ed4d Merge branch 'pananoia-default-develop' into 'master'
Make PARANOIA be on by default for DEVELOP builds

Closes #455

See merge request KartKrew/Kart!984
2023-02-27 05:26:45 +00:00
James R
57cf6dab26 Director: fix positiondelay debounce
I'll be honest, this is hard to wrap my head around but it
seems to be saying if the currently viewed player is not
who we should be viewing, then switch to the new player
even if the new player's position is fluctuating.
2023-02-26 21:24:19 -08:00
SteelT
ff15a4bf69 Make PARANOIA be on by default for DEVELOP builds 2023-02-26 22:27:52 -05:00
James R
a19b476d3d hwr2: do GIF recording in screenshot pass 2023-02-26 20:28:05 -06:00
Eidolon
11fecebc47 Make AVRecorder WebM an optional part of the build 2023-02-26 20:18:05 -06:00
AJ Martinez
4d8a1c1d27 Desperation spindash unique sound, no longer blows up at 2x speed 2023-02-26 19:00:27 -07:00
toaster
a6d0edc5a0 Merge branch 'local-camera-fudge' into 'master'
Turn towards your local camera

See merge request KartKrew/Kart!972
2023-02-27 01:15:00 +00:00
AJ Martinez
b0ae0b55db Fix music restart when stacking Grow from item box 2023-02-26 18:07:00 -07:00
Eidolon
7c01136247 hwr2: Imgui EndFrame if we didn't Render
fixes a failed ImGui assertion in Debug builds
2023-02-26 18:47:42 -06:00
Eidolon
1958394635 hwr2: add g_wipeskiprender 1-frame workaround 2023-02-26 18:47:42 -06:00
Eidolon
158aaa6803 hwr2: fix DrawFill full screen special case 2023-02-26 18:47:42 -06:00
Eidolon
31ce947659 hwr2: overhaul wipe rendering 2023-02-26 18:47:42 -06:00
Eidolon
0a9e9bbbae hwr2: use palette manager in twodee 2023-02-26 18:47:42 -06:00
Eidolon
e875c8e20d hw2: add screenshot pass 2023-02-26 18:47:42 -06:00
Eidolon
b9cf1316bd Convert m_misc.c to .cpp 2023-02-26 18:47:42 -06:00
Eidolon
d855d96a10 hwr2: Add hardware 2D rendering 2023-02-26 18:47:42 -06:00
AJ Martinez
2cbc035411 Make Grow less irritating (allow stack, don't insta strip from shrink) 2023-02-26 17:25:28 -07:00
toaster
7684cc1cf3 M_SetupGametypeMenu: Fix skipping to the Race select setup menu if Capsules and Special aren't unlocked 2023-02-26 23:37:00 +00:00
Oni
b1c0f2481b Merge branch 'menu-tooltip-button-graphics' into 'master'
Load Menu Tooltip Button graphics

See merge request KartKrew/Kart!978
2023-02-26 23:33:52 +00:00
toaster
26ceb13672 Character Select: Press R (drift) to toggle an "extra info" mode
- Hides "A PLAYER/A $profilename" text
- Shows extra info relevant text
    - Early stages: "[EXTRAINFOMODE]"
    - Grid select: Speed and weight
    - Clone select/READY!!: Character name
    - Color: Color name
    - Follower category: Category name
    - Follower: Follower name
    - Follower color: Follower color name
- The hidden setup_page toggle feature now only uses L button
2023-02-26 23:28:00 +00:00