Commit graph

294 commits

Author SHA1 Message Date
AJ Martinez
09cdc60697 Suppress bufo spawn, bufo sound, and hud messages when exiting 2024-02-21 17:22:15 -07:00
Oni
ff20f38ffa Merge branch 'in-flight-menus' into 'master'
Course List QOL

See merge request KartKrew/Kart!1867
2024-01-28 23:31:59 +00:00
Sal
3958c15dfe New Credits 2024-01-28 23:31:30 +00:00
James R
fc40d86a73 HUD: draw sphere meter under player nametags 2024-01-26 15:12:46 -08:00
James R
25fa76104f HUD: draw item box next to player nametags if GTR_ITEMARROWS (in Battle) 2024-01-26 14:30:57 -08:00
James R
3278685ef4 HUD: load 4P item spy graphics 2024-01-26 14:30:57 -08:00
James R
23aef8f673 HUD tracking: cull nametags
- Background overlapping nametags become 60% transparent
- Culling is performed separately from other HUD trackers
2024-01-26 14:30:57 -08:00
James R
8ac2efe82c HUD tracking: refactor nametags to use generic HUD tracker sorting 2024-01-26 14:30:57 -08:00
James R
2364fb80a0 Battle: remove overhead arrows (physical object)
Old shitty object from v1 that is about to be replaced by
HUD tracking. :D
2024-01-26 14:30:56 -08:00
toaster
748dd9080d Fix tiny medals for Time Attack mode 2024-01-25 22:40:51 +00:00
Oni
4bda042d69 Merge branch 'fix-replay-hudmessage' into 'master'
Fix HUD messages not being replay / party-aware

See merge request KartKrew/Kart!1859
2024-01-23 16:23:55 +00:00
James R
1f4bebe6da HUD: Battle points HUD (1P and 4P versions), displays right next to bumpers 2024-01-22 16:43:00 -08:00
James R
1cb306ac87 HUD: replace 4P bumpers/prisons sticker with srb2::Draw version
The color is one shade off, but we'll see if it matters.
2024-01-22 16:42:31 -08:00
James R
e06e0dcb3a Battle: emerald win HUD polish
- Bigger
- Aligned to the Tally boxes
- Each emerald slides in one-by-one over the duration of
  the Tally
- Flash after the final emerald slides into place
2024-01-22 16:42:29 -08:00
AJ Martinez
4bbbe82fdc Fix HUD messages not being replay / party-aware 2024-01-19 20:40:16 -07:00
Oni
973d5ba658 Merge branch 'objective-hud' into 'master'
Add persistent objective messages via K_AddMessage, expose to ACS

See merge request KartKrew/Kart!1843
2024-01-20 00:19:17 +00:00
Oni
9d0b29b73d Merge branch 'fix-bufo-spawn' into 'master'
Fix Battle UFO spawn not cycling; fix Super Flicky minimap crash

Closes #938

See merge request KartKrew/Kart!1844
2024-01-17 05:31:19 +00:00
Eidolon
bdc0795704 Fix several Clang compile warnings 2024-01-16 06:11:43 -05:00
James R
c3748ff91a Fix minimap crash if Super Flicky owner spectates 2024-01-15 18:11:06 -08:00
AJ Martinez
9b224356fe Add persistent objective messages via K_AddMessage, expose to ACS 2024-01-15 17:49:10 -07:00
AJ Martinez
6f2d467542 Merge remote-tracking branch 'origin/master' into message-drawer 2024-01-14 17:58:52 -07:00
AJ Martinez
36dd4e171d UFO conveyance fixes 2024-01-14 17:58:03 -07:00
AJ Martinez
516e418912 HUD messages: 2P split fixes, text revisions 2024-01-14 17:30:09 -07:00
AJ Martinez
e9ee268965 Per-viewport HUD messages 2024-01-14 17:13:03 -07:00
AJ Martinez
25149db4eb WIP: Per-player mid-round announcements 2024-01-14 04:18:54 -07:00
AJ Martinez
1e39081856 WIP: Mid-round status messages 2024-01-14 03:05:49 -07:00
James R
2213386498 HUD: fix 1P Battle GOAL offset in Duel 2024-01-13 22:56:19 -08:00
James R
26b03a810c HUD: fix GOAL not turning rainbow if point limit is less than 5 2024-01-13 22:56:18 -08:00
James R
4bcdd22e2c HUD: Battle GOAL uses leading player's color by default 2024-01-13 12:34:28 -08:00
James R
4694cb79ff HUD: Battle rankings and GOAL (2P version) + 2P minimap tweak
- 2P version just reuses 4P version
- Minimap shifted over slightly to make room
2024-01-12 07:30:34 -08:00
James R
02719ef2bf HUD: Battle GOAL cycles colors when someone comes within 5 points of winning
- Colors cycle at a speed of 4 tics
- Adjusted "KO" flashing rate from 6/12 -> 8/16
2024-01-12 06:54:19 -08:00
James R
f232647868 HUD: Battle rankings and GOAL (4P version) + 4P timer tweak
- 4P version only displays top 2 players
- Compared to 1P version, local player is not required to
  be on the list
- Skull is displayed if any of the party members have
  reached the point limit
- 4P timers reduced to just digits, in order to make space
  for rankings
2024-01-12 06:53:42 -08:00
James R
c3a6f6b77d K_drawKartPositionFaces: refactor into class so splitscreen drawing methods can be added 2024-01-12 05:25:27 -08:00
James R
a14adfa410 HUD: Battle rankings and GOAL (1P version only)
Battle-specific HUD:

- 3 players in rankings
- Display player always appears on rankings (even if they
  are not in the top 3)
- GOAL icon at the top of the rankings
  - Normally displays point limit
  - Becomes a skull when display player has reached point limit
  - "KO" flashes over the skull, at a rate of 6/12 tics
2024-01-12 05:06:51 -08:00
James R
45ef00fb63 HUD: load Battle GOAL graphics 2024-01-12 05:02:14 -08:00
James R
e26a95af6e Battle: show rank number on Tally screen 2024-01-12 01:10:37 -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
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
Eidolon
4a761c2e27 Fix clang errors 2024-01-02 13:17:50 -06:00
James R
d5c92bf725 Minimap: only show dot indicating player angle for local party players 2024-01-01 21:27:29 -08:00
AJ Martinez
a71b979f8c debugbots: display bot modifier as float 2023-12-30 18:05:31 -07:00
AJ Martinez
c738fc9020 debugbots: show map complexity 2023-12-29 22:01:57 -07:00
James R
e91ce8ba7a debugwaypoints: sort minimap dots drawing order
Revised order, back to front:

- normal waypoints
- shortcuts
- deactivated waypoints
- ego orbs
- player's next waypoint
2023-12-23 14:38:51 -08:00
James R
93c38c9754 Convert k_hud.c -> k_hud.cpp 2023-12-23 14:36:30 -08:00
Renamed from src/k_hud.c (Browse further)