Commit graph

26348 commits

Author SHA1 Message Date
SteelT
cc99ead23b Merge branch 'bugfix-roundup' into 'master'
Misc bug fixes

Closes #1097 and #1096

See merge request KartKrew/Kart!1992
2024-03-03 01:45:35 +00:00
Sal
16f021d7a5 Merge branch 'legacy-gl-is-unsupported' into 'master'
Bring back OpenGL "USE AT ROBOTNIK'S RISK" warning screen

See merge request KartKrew/Kart!1987
2024-03-03 01:31:50 +00:00
James R.
5bc7d105cc Merge branch 'battle-powerup-feedme' into 'master'
Battle: Visual and audio feedback for power-ups

See merge request KartKrew/Kart!1986
2024-03-03 01:30:54 +00:00
Oni
b00255e333 Merge branch 'replay-stupid-parties' into 'master'
Emulate parties when watching replays

Closes #1090

See merge request KartKrew/Kart!1977
2024-03-02 21:29:43 +00:00
Oni
b2959d8b48 Merge branch 'shitty-signs' into 'master'
Add shittysigns cheat

See merge request KartKrew/Kart!1991
2024-03-02 20:28:03 +00:00
Oni
87d189ee09 Merge branch 'extend-noshowhelp' into 'master'
Prevent CV_NOSHOWHELP cvars from being accessed or modified through the console at all

See merge request KartKrew/Kart!1978
2024-03-02 20:27:05 +00:00
Oni
48859ba80e Merge branch 'move-your-car' into 'master'
Move your car

See merge request KartKrew/Kart!1990
2024-03-02 20:26:53 +00:00
Eidolon
2775378ac2 Use G_LoadDemoInfo to validate in playdemo/TA menu
Fixes KartKrew/Kart#1096
2024-03-02 12:24:46 -06:00
Eidolon
5fd7f4ee65 Allow G_LoadDemoInfo to load TA demos 2024-03-02 12:24:07 -06:00
Eidolon
a19f0139af Reset demo.attract in title attract responder
Fixes KartKrew/Kart#1097
2024-03-02 11:17:07 -06:00
AJ Martinez
052d69e835 Don't set shittysigns value directly 2024-03-02 04:43:22 -07:00
AJ Martinez
81bb3500a4 Merge remote-tracking branch 'origin/master' into shitty-signs 2024-03-02 04:32:05 -07:00
AJ Martinez
47a9cce133 Add shittysigns cheat 2024-03-02 04:27:41 -07:00
AJ Martinez
c8757b10b2 Merge branch '4th-gear' into 'master'
Add "let's get fired up!" cheat (4th Gear)

See merge request KartKrew/Kart!1970
2024-03-02 10:38:02 +00:00
AJ Martinez
a1fd0f5353 Merge remote-tracking branch 'origin/master' into move-your-car 2024-03-02 01:25:47 -07:00
AJ Martinez
4fc6567dc6 Merge branch 'ring-shooter-fixes' into 'master'
Ring Shooter polyobject interaction + Ring Shooter cooldown

Closes #989

See merge request KartKrew/Kart!1968
2024-03-02 07:58:13 +00:00
AJ Martinez
9d00cd4851 Merge branch 'instant-ufo-sound-update' into 'master'
UFO sound fixups

See merge request KartKrew/Kart!1979
2024-03-02 07:57:58 +00:00
AJ Martinez
8f795d7b5f Merge branch 'altmusic-demo-consis' into 'master'
(demo v9) Demo save unlocks and mapmusrng

Closes #1004 and #1093

See merge request KartKrew/Kart!1981
2024-03-02 07:57:41 +00:00
AJ Martinez
75adf359cb Merge branch 'fix-sliptide-extension' into 'master'
Fix sliptide extensions activating out of fast drifts

See merge request KartKrew/Kart!1971
2024-03-02 07:57:09 +00:00
James R
1e44088373 Bring back OpenGL "USE AT ROBOTNIK'S RISK" warning screen 2024-03-01 18:38:16 -08:00
James R
13af88b318 player_t.powerupVFXTimer tic_t -> UINT8 2024-03-01 18:03:54 -08:00
SteelT
cb21a9c8cd Flicker player and add hitlag when collecting a powerup 2024-03-01 18:03:52 -08:00
AJ Martinez
0d417a5055 Use guard break sound for Special UFO destruction 2024-03-01 18:36:19 -07:00
SteelT
126c43b250 Rename BATTLE_POWERUP_ANIM_TIME to BATTLE_POWERUP_VFX_TIME 2024-03-01 20:03:57 -05:00
VelocitOni
255c9222b0 More priority sounds
Raised priority from 64 -> 255, even if I manually raised them in sounds.pk3, we may as well keep this change.
2024-03-01 20:03:57 -05:00
SteelT
5181c7a6c2 Associate sounds with powerups and set g_darkness 2024-03-01 20:03:57 -05:00
SteelT
f3a715eae1 Battle powerup feedback sound definitions 2024-03-01 20:03:57 -05:00
James R
e00b676dd8 Replays: fix camera reset when promoting splits
- Off-by-one error
2024-03-01 16:56:44 -08:00
Oni
2641ba2380 Merge branch 'tether-refinements' into 'master'
Bot tether refinements

See merge request KartKrew/Kart!1975
2024-03-01 23:51:49 +00:00
Eidolon
ad538b3bb9 Fix returning to menu after TA replay 2024-03-01 17:38:22 -06:00
Eidolon
20cb01fb94 (demo v9) Demo save unlocks and mapmusrng
Fixes KartKrew/Kart#1093
2024-03-01 17:27:41 -06:00
AJ Martinez
385fc27303 Special UFO: Don't wait for hitstop to play new damage hum 2024-03-01 15:53:57 -07:00
AJ Martinez
a87e557e4e Immediately update UFO health hum 2024-03-01 15:51:18 -07:00
James R
a9e181cde5 Prevent CV_NOSHOWHELP cvars from being accessed or modified through the console at all 2024-03-01 07:34:20 -08:00
James R
b3ff71ad0f Fix cv_mentalsonic too 2024-03-01 07:31:44 -08:00
James R
fff200d174 Save 4thgear cheat in replays
For a cvar cheat to save in replays do this:

- Make sure it's a netvar
  - Only netvars are saved in replays
  - Use OnlineCheat
- Make sure it's not CV_HIDDEN
  - CV_HIDDEN cvars are not added to the linked list, so
    replays cannot find them
  - Use CV_NOSHOWHELP instead, to prevent people from
    modifying it in console
- Use CV_Set or CV_SetValue to change a cvar's value
  - Setting cvar_t.value directly will not change its
    string value
  - The string value is used to determine how it should be
    saved in replays
2024-03-01 07:28:19 -08:00
James R
adebfb000c Replays: keep party in sync with current viewpoints
- More and more parts of the game rely on parties
- Parties are assumed to match the displayplayers
- This fixes A/B/C/D nametags
2024-03-01 06:09:07 -08:00
James R
3179183df7 Replays: do not initialize displayplayers to INT32_MAX
- Only demo playback does this and it's a mystery why
2024-03-01 06:04:20 -08:00
James R
1eb5dabbd0 Improve displayplayers command
- Tabulate data
- Show party members
2024-03-01 06:03:21 -08:00
James R
567a7cf4f1 Add G_LocalSplitscreenPartyMember 2024-03-01 06:03:21 -08:00
AJ Martinez
b5e4311704 Merge remote-tracking branch 'origin/master' into tether-refinements 2024-03-01 00:42:38 -07:00
AJ Martinez
80990c82b0 Remove debug bot tether block indicator 2024-02-29 21:56:19 -07:00
AJ Martinez
4f5063f71f Fix sliptide extensions activating out of fast drifts 2024-02-29 18:34:36 -07:00
Oni
f7f98ff6d1 Merge branch 'last-lap-points' into 'master'
Fix player->lappoints for ending last lap (resolves #1086)

Closes #1086

See merge request KartKrew/Kart!1969
2024-03-01 01:13:09 +00:00
AJ Martinez
d4d426e64b Add "let's get fired up!" cheat (4th Gear) 2024-02-29 17:43:07 -07:00
toaster
2ac891abe8 Fix player->lappoints for ending last lap
- Previous order:
    - K_HandleLapIncrement
        - K_UpdateAllPlayerPositions
            - Sets player->position
            - !! Relies on player->exiting
        - Set lap points
            - !! Based on player->position
        - Set latestlap
        - P_DoPlayerExit
            - Set player->exiting
            - K_UpdateAllPlayerPositions
                - Sets player->position
                - Relies on player->exiting
            - Overwrites latestlap if not set
            - K_InitPlayerTally
                - Based on lap points
- New order:
    - K_HandleLapIncrement
        - Set latestlap
        - If ending last lap, P_DoPlayerExit
            - Set player->exiting
            - K_UpdateAllPlayerPositions
                - Sets player->position
                - Relies on player->exiting
            - Overwrites latestlap if not set
            - [NO LONGER INITS TALLY]
        - OTHERWISE, K_UpdateAllPlayerPositions
            - Sets player->position
            - Relies on player->exiting
        - Set lap points
            - Based on player->position
    - P_PlayerAfterThink
        - If player is exiting and no tally, K_InitPlayerTally

Hopefully you can see the magnitude of the gordian knot I had to untangle to fix this
2024-02-29 20:50:04 +00:00
James R
3402c3af64 Polyobjects: add po_movecount member to mobj_t instead of using lastlook
- Polyobject carrying set lastlook on mobjs for internal
  tracking
- lastlook is used by some objects to track their own
  state
- Ring Shooter uses lastlook to remember which player
  summoned it
- A Ring Shooter spawned right next to a polyobject would
  become buggy; If its owner player pressed the respawn
  button again before the Ring Shooter despawned, that
  player would be teleported back to the Ring Shooter
  instead of spawning a new Ring Shooter (which would be
  the correct behavior)
2024-02-29 03:36:07 -08:00
James R
4ccb9b22c8 Ring Shooter: add a 2 second cooldown after respawning before you can touch a Ring Shooter
This does not prevent you from using the respawn button to
summon a Ring Shooter.

- Ring Shooter only tracks the last player who touched it,
  to prevent that player from reusing it
- If another player touches the Ring Shooter, it loses
  track of the original user
- Near a Block Lightsnake waypoint, this would enter an
  endless loop where both players are able to touch the
  Ring Shooter and use it to respawn, placing them right
  above the Ring Shooter (and the cycle repeats)
2024-02-29 03:28:53 -08:00
Oni
1990c10635 Merge branch 'title-tempest' into 'master'
Title and Credits attract fixes

Closes #1056 and #1055

See merge request KartKrew/Kart!1950
2024-02-29 10:25:25 +00:00
Oni
786e4a098d Merge branch 'throwdir-restoration' into 'master'
Improve analog handling / input display

See merge request KartKrew/Kart!1967
2024-02-29 10:25:07 +00:00