Commit graph

25808 commits

Author SHA1 Message Date
James R
2bdb7d4349 Battle UFO: power-up drops take player momz, pick up immediately 2024-01-05 20:59:18 -08:00
James R
e07fbd9a6e Do not spawn digits for overhead item display
This fixes desyncs in Battle when picking up stacks of
items :D
2024-01-05 19:39:25 -08:00
James R
d0259b0896 Super Flicky: speed changes
- Slows down when close to its target
- Slow when stunned (whipped or blocked)
- Stun time increased
  - Whip: 5s -> 10s
  - Block: 1s -> 5s
- Blocking launches the Flicky into the air
2024-01-05 18:34:46 -08:00
James R
07e53b7b50 Battle: lose 5 spheres on guard instead of 10 2024-01-05 18:34:02 -08:00
James R
19d9d1e318 Battle: use Easing_OutSine to shrink Overtime Barrier
Modifies netsave.
2024-01-05 18:05:41 -08:00
James R
8d2327c5c9 Battle UFO: do not suck up into tractor beam if player is fast-falling 2024-01-05 17:48:44 -08:00
James R
fe60216559 Battle UFO: slow down horizontal player momentum in tractor beam 2024-01-05 17:44:58 -08:00
James R
cd405290c1 HUD tracking: hide text for overlapping trackers 2024-01-05 17:30:10 -08:00
James R
5c3783bf62 HUD tracking: trackers behind walls are transparent, instead of flickering 2024-01-05 17:23:29 -08:00
Oni
0e854b5340 Merge branch 'bad-ghost-crash-fix' into 'master'
Defer ghost deallocation til FreeGhosts

Closes #824

See merge request KartKrew/Kart!1769
2024-01-06 00:51:37 +00:00
AJ Martinez
c854a3262b What the fuck are turbines 2024-01-05 17:45:37 -07:00
Eidolon
79c7fe848e Fix sector specialflags typo in p_setup.cpp 2024-01-05 18:42:57 -06:00
Oni
483e45c3bf Merge branch 'o-joyous-mulch-balloons' into 'master'
Hardcode Joypolis trick balloons

See merge request KartKrew/Kart!1787
2024-01-06 00:40:46 +00:00
Oni
f56574c852 Merge branch 'crate-sound' into 'master'
Crate sound

See merge request KartKrew/Kart!1786
2024-01-06 00:39:36 +00:00
Eidolon
61db93db0c Hardcode Joypolis trick balloons 2024-01-05 17:56:38 -06:00
James R
05ce2b7861 Battle: darken screen while outside of Overtime Barrier 2024-01-05 15:56:24 -08:00
James R
df0d342e04 Let level darkness be changed per splitscreen, use player_t variables
Modifies netsave.

- Add darkness_start, darkness_end to player_t
2024-01-05 15:56:24 -08:00
James R
8430489673 Replace darktimer/darkness with g_darkness
Modifies netsave.

- Instead of setting a timer, set a start time and end
  time
- Interpolated darkness value itself doesn't need to be
  netsynced
2024-01-05 15:56:24 -08:00
James R
a759626335 Battle: flash emeralds on screen when someone wins by collecting all 7
- Modifies netsave
2024-01-05 15:56:23 -08:00
James R
6431ef8250 Battle: screen shake when Barrier arms and once it reaches smallest radius
- Plays sound effect when Barrier reaches minimum size.
2024-01-05 15:56:23 -08:00
James R
c9398e21be Battle: cecho "HURRY UP!!" when Barrier appears 2024-01-05 15:56:23 -08:00
James R
2bfad76c1e Add HU_DoTitlecardCEchoForDuration; letter disappearing time scales by total cecho duration 2024-01-05 15:56:23 -08:00
James R
c192e57426 Battle: Overtime music
- Fade out level music for 1.5 seconds when "Hurry up!"
  plays.
- Play SHWDWN when level music finishes fading out.
- Switch to SHWDN2 when there are 2 players left and the
  Overtime Barrier has reached its smallest size.
  - Plays a loud noise to mask the transition.
2024-01-05 15:56:23 -08:00
James R
b7c9c92749 Music_Seek: argument in milliseconds instead of tics 2024-01-05 15:56:23 -08:00
James R
15775adcb9 HUD tracking: give overlapping trackers in the background transparency
- Assuming every tracker is a 30x30 square, to determine
  overlap.
2024-01-05 15:56:23 -08:00
James R
a6fa84af3a HUD tracking: refactoring
- Store tracking result on struct
- Put flickering trackers in the vector anyway
2024-01-05 15:56:23 -08:00
Oni
0f468c4634 Merge branch 'auto-medal-times' into 'master'
Add automedal time configs and calculation

Closes #790

See merge request KartKrew/Kart!1777
2024-01-05 23:01:24 +00:00
toaster
5c2a4ae68f M_DrawCupPreview: Fix interpolation flicker (resolves #832) 2024-01-05 22:37:50 +00:00
toaster
aa3033575b crate.cpp: Add crate sfx to configuration
- sfx_cratew for wooden SA2 crates
- sfx_cratem for metal SA2 crates
- sfx_s3k82 for Ice Cap blocks (copied from MT_SMK_ICEBLOCK)
2024-01-05 21:33:36 +00:00
toaster
69e8d15974 dehacked.c: Forbid not providing an Emblem ID
Too much of gamedata is dependent on explicit ordering
2024-01-05 20:52:02 +00:00
toaster
e9b7ed8101 Intentfully permit gaps between Emblem IDs
Introduces ET_NONE, to match SECRET_NONE for Challenges
2024-01-05 20:50:54 +00:00
toaster
1b2cad90e7 Make gamedata transfer for increased max emblem count
Increments gamedata version
2024-01-05 20:49:31 +00:00
toaster
2c8e342d4b Double MAXEMBLEMS one more time, per Eidolon's recommendation
4096 is probably forward-thinking enough
2024-01-05 12:48:08 +00:00
toaster
b5c1e89645 Merge branch 'goner-assignment' into 'master'
Assign p1 device during goner/title + unassign all

See merge request KartKrew/Kart!1768
2024-01-05 12:35:20 +00:00
toaster
414f0ec70c Merge branch 'fix-tutorial-hologram-items' into 'master'
Fix tutorial items spawning as holograms

See merge request KartKrew/Kart!1784
2024-01-05 12:34:43 +00:00
toaster
01738e2264 Command_cxdiag_f: Evaluate Time Medals as well
- Tag-0 specified times of less than a second
- Invalid tags
    - <= AUTOMEDAL_MAX (invalid Auto Medal)
    - >= course's ghostCount (invalid specific Ghost-matching Medal)
- AUTOMEDAL_ with invalid number of Ghosts
    - PLATINUM with no best Ghost to match
    - All other types with less than two associated ghosts
2024-01-05 12:32:25 +00:00
toaster
6feb8370f6 AUTOMEDAL_MAX for range checks
Comments have also been updated to acknowledge the AUTOMEDAL_ constants
2024-01-05 12:03:18 +00:00
Oni
b1bcc727fe Merge branch 'no-minimap-dot-for-others' into 'master'
Minimap: only show dot indicating player angle for local party players

See merge request KartKrew/Kart!1764
2024-01-05 01:11:53 +00:00
Oni
9820563fd5 Merge branch 'metal-crates-crush' into 'master'
Metal SA2 Crate crushes players if it falls onto them

See merge request KartKrew/Kart!1765
2024-01-05 01:11:08 +00:00
Oni
aa0fc8cbf8 Merge branch 'fix-focus-lost-width' into 'master'
Menus: only adjust text box size for menu options

See merge request KartKrew/Kart!1773
2024-01-05 01:10:56 +00:00
AJ Martinez
fe416626a5 Merge branch 'interp-challenges-scrolling' into 'master'
Interpolate scrolling on Challenge Board

See merge request KartKrew/Kart!1782
2024-01-04 22:21:45 +00:00
AJ Martinez
66d2243c10 Merge branch 'optimize-challenges-menu' into 'master'
Optimize Challenge Board drawing

See merge request KartKrew/Kart!1783
2024-01-04 22:21:35 +00:00
AJ Martinez
eddeb0d568 Fix tutorial items spawning as holograms 2024-01-04 14:49:32 -07:00
Sal
6a241772fc Merge branch 'bots-disable-no-ring-shooter' into 'master'
No Ring Shooter in disable controls bot controller

See merge request KartKrew/Kart!1774
2024-01-04 11:02:01 +00:00
Sal
94b2711e30 Merge branch 'bots-flame-shield' into 'master'
Fix bot Flame Shield

See merge request KartKrew/Kart!1775
2024-01-04 11:00:47 +00:00
James R
9eb1f1403e Menus/Challenges: optimize drawing by caching unturned tile graphics once 2024-01-04 02:11:33 -08:00
James R
b676d5137e Menus/Challenges: interpolate scrolling 2024-01-04 01:16:41 -08:00
James R.
3f58a01774 Merge branch 'vaseline-for-challenges' into 'master'
Interpolate challenges menu

See merge request KartKrew/Kart!1778
2024-01-04 08:36:39 +00:00
James R.
00f19a5f19 Merge branch 'fix-top-getting-possessed-by-angry-ghosts' into 'master'
Fix top being dropped when players hit your items

See merge request KartKrew/Kart!1776
2024-01-04 08:32:00 +00:00
James R.
c335348c8f Merge branch 'hold-your-horses' into 'master'
Reset playbackspeed to 1 in G_DoPlayDemo

Closes #834

See merge request KartKrew/Kart!1779
2024-01-04 08:31:29 +00:00