Commit graph

22528 commits

Author SHA1 Message Date
Lat
85a103e743 Fix warnings in rideroid.c that popped up after I unfucked my compile flags 2023-09-20 14:46:02 +02:00
Lat
ea8e871176 LSZ bungee: first pass 2023-09-20 14:42:39 +02:00
Lat
35e530be3d LSZ bungee object/variable definitions 2023-09-20 13:47:39 +02:00
Oni
83cbdb4601 Merge branch 'charsel-colorfix-2' into 'master'
Tiny charsel colour fix

See merge request KartKrew/Kart!1512
2023-09-20 06:15:17 +00:00
Oni
198640c4aa Merge branch 'podium-fade' into 'master'
GS_CEREMONY: Fix fade-in keeping screen blank

See merge request KartKrew/Kart!1513
2023-09-20 06:13:15 +00:00
toaster
49595a621c GS_CEREMONY: Fix fade-in keeping screen blank 2023-09-20 00:43:29 +01:00
toaster
58d5e19d72 Merge branch 'minigen-green' into 'master'
minigen: Use index 98 for finish lines per desired spec

See merge request KartKrew/Kart!1511
2023-09-19 23:29:42 +00:00
toaster
0e9997f2cd Character Select: If your profile's color/followercolor have not been unlocked, correct the visible colour to Default when selecting your Profile, instead of on Level start 2023-09-20 00:25:29 +01:00
toaster
6ec7456cd2 VC requests for L Sign
- Permit KARTSPEED_NORMAL, so it's not TOO obnoxious
- However, check for whether you're fighting a sufficient opponent
    - A human player is considered sufficient, because if you've dominated another it's fun to style on them
    - If all other players are bots, make sure they're at least half the difficulty range
2023-09-19 23:38:48 +01:00
toaster
a6fc60a5a3 level_tally_t::UseBonuses: Swap order of checks so the less expensive grandprixinfo comparison is done first 2023-09-19 22:40:13 +01:00
toaster
9574d7a040 Further revision
- Only show SPR2_SIGL for SF_IRONMAN. You've gotta work for that stuff!
- Instead of duplicating some of the behaviour the tally code does manually, simply use tally state directly
2023-09-19 22:40:13 +01:00
toaster
3a0d6fd2fb Minor fixes for K_RaceLapCount
- Fix comment in k_race.c
- Use numlaps for level_tally_t::Init instead, as this is the cache'd form and permits us to remove k_race.h from the dependencies
2023-09-19 22:40:12 +01:00
toaster
e438ef0a97 SPR2_SIGL
If you achieve a perfect race (OK hand for every lap) on Hard speed (or better), use a special taunting signpost frame.
2023-09-19 22:40:12 +01:00
toaster
35a06ed175 P_SetupSignObject: Set old_z to fix interp on spawning 2023-09-19 22:40:12 +01:00
toaster
5b7b57e580 MT_SIGN: Improve player property grabbing
Instead of using the skin of the object and the color of the player, use a direct player reference to get both skin and color from.
Now correctly tracks Heavy Magicians at all times, not just after exiting.
2023-09-19 22:40:12 +01:00
toaster
8ef64474b7 minigen: Use index 98 for finish lines per desired spec 2023-09-19 18:47:32 +01:00
toaster
de60a2dbba new_sound.cpp: Compilation fix for non-TRACY 2023-09-19 18:46:23 +01:00
Eidolon
8305466a94 Merge branch 'tracy-profiler' into 'master'
Add Tracy profiler client

See merge request KartKrew/Kart!1509
2023-09-19 01:04:34 +00:00
Eidolon
e8e72fceed Tracy instrument TryRunTics, or at least try to 2023-09-18 17:25:11 -05:00
Eidolon
b5d606a7f3 Instrument D_Display 2023-09-18 17:25:11 -05:00
Eidolon
686150875c Convert d_main.cpp 2023-09-18 17:25:10 -05:00
Eidolon
689f5b8365 Tracy instrument software BSP traversal and render 2023-09-18 16:19:31 -05:00
Eidolon
01240b1bd6 Tracy instrument new audio callback 2023-09-18 16:18:51 -05:00
Eidolon
f62cf5fc83 Tracy Instrument I_FinishUpdate, software display 2023-09-18 16:18:38 -05:00
Eidolon
17f6f9297a Add Tracy memory instrumentation
Does not capture C++17 aligned new/delete.
2023-09-18 16:17:04 -05:00
Eidolon
42e5646c15 Add Tracy frame time instrumentation 2023-09-18 16:16:08 -05:00
Eidolon
e9d789abc9 Add Tracy client library and build preset 2023-09-18 16:13:19 -05:00
James R.
307fd0eb71 K_FastFallBounce: use consistent bounce strength, regardless of Shrink/Grow 2023-09-18 11:42:52 -07:00
James R.
37ce3dba27 E-Brake ring: visual consistency and polish
- Always spawns on the ground below the player
- If falling fast enough, spawn afterimages around the
  player like "falling through hoops"
- Also fix scaling to Shrink/Grow
2023-09-18 11:42:52 -07:00
James R.
ea579457bc K_FastFallBounce: trigger bad bounces more often and reduce speed with less jerk 2023-09-18 11:34:21 -07:00
Lat
908bbba4ec Rideroid: second pass 2023-09-18 18:14:00 +02:00
Lat
aef958d7ed Rideroid: first pass 2023-09-18 16:54:16 +02:00
Sal
63db455211 Merge branch 'hyudoro-release-prep' into 'master'
Misc. code changes in preparation for Hyudoro final pass + debugcheese cvar

See merge request KartKrew/Kart!1503
2023-09-18 13:30:54 +00:00
James R.
543fd03b11 Add Obj_EmeraldCanHUDTrack to handle MT_EMERALD being used for Hyudoro orbiting 2023-09-18 04:21:10 -07:00
toaster
036577402d Change Scroller Direction (linedef 435): Do not crash on Tag_Find for sidedef scrollers 2023-09-18 10:22:44 +01:00
Sally Coolatta
c9291b0f61 Mobj thinker freeze condition rework
- There's a freeze cheat bool to freeze everything except for players.
- There's a level freeze bool to freeze literally everything.
- There's a frozen bool on mobj_t to explicitly control freeze status on an object.
2023-09-18 03:24:58 -04:00
Lat
56d8ae67ae Base mobj/state/sound definitions 2023-09-18 08:55:22 +02:00
James R.
08056a9ae2 hyudoro_patrol_hit_player: do not make 1st place invisible 2023-09-17 21:59:35 -07:00
James R.
4347af5069 Hyudoro: increase hitbox size 2023-09-17 21:56:20 -07:00
James R.
2fd5ae3cb3 Player hyudorotimer: use modulate blendmode instead of flickering
- Player invisibility is preserved for other players
- Flicker blendmode (and visibility, for other players) at
  beginning and end of hyudorotimer
2023-09-17 21:56:20 -07:00
James R.
6878c7dd90 Apply PF_CASTSHADOW when player touches patrolling Hyudoro's shadow, darken player to pure black 2023-09-17 21:56:20 -07:00
James R.
5c1332f977 Add R_CustomShadowZ, Obj_FakeShadowZ, Obj_HyudoroShadowZ; let Hyudoro shadow float while patrolling 2023-09-17 21:56:19 -07:00
James R.
25837afc8c Hyudoro: use B frame when holding item 2023-09-17 21:56:19 -07:00
James R.
0a6fedc48a Hyudoro: carry item capsule back to player, use MT_EMERALD for collect animation
- Carry back item capsule, painted with the skincolor of
  the player who was stolen from
- Give player item by orbiting and shrinking into the
  player like an emerald
  - Lock player item box while animation plays, draw an
    empty item box on the HUD
  - At end of animation, burst item capsule to place item
    in player's hotbar
- Hyudoros can no longer stack items in the hotbar --
  consistent with item capsules
  - (If you have a Super Ring in your hotbar and Hyudoro
    is holding a Super Ring too, it will wait for you to
    use yours)

---

MT_ITEMCAPSULE changes:

- extravalue2 != 0: use this color on caps
- MF2_STRONGBOX: award items like the roulette
  - Super Ring is placed in the hotbar instead of awarding
    rings directly
  - SPB is placed in the hotbar instead of throwing it
    immediately
- DMG_INSTAKILL: don't respawn
2023-09-17 21:56:19 -07:00
James R.
3eeaaefc5f Hyudoro: stack uses modulate blendmode (with ghost trick) if player is in first place
- If player is in first place, they cannot use the stack
- Use ghost trick to lessen the effect, since modulate
  blendmode cannot be controlled with translucency
2023-09-17 21:56:19 -07:00
James R.
e0d7d08dde Hyudoro: flickering shadows for patrolling and stealing from a player
- Shadow flickers in high contrast colors while patrolling
- Shadow flickers black/white for short time after Hyudoro
  steals from a player
- (Resetting shadow for hovering stack already handled by
  append_hyudoro)
2023-09-17 21:56:19 -07:00
James R.
43ca8a2f4c Hyudoro: toggle shadow in hovering stack so multiple shadows are not rendered 2023-09-17 21:56:19 -07:00
James R.
1cd0781648 Hyudoro: spawn ghost trail, colorized to owner, on return to owner 2023-09-17 21:56:19 -07:00
James R.
d86aaa8c0c Hyudoro: smoothly transition vertical position in hovering stack 2023-09-17 21:56:18 -07:00
James R.
3b19376848 append_hyudoro, pop_hyudoro: fix linked list handling
- Use P_SetTarget to handle reference counting properly
- Properly unlink from the start of the list
2023-09-17 21:56:18 -07:00