Commit graph

328 commits

Author SHA1 Message Date
James R.
4819290ca2 itemroulette_t: add reserved member, block roulette and P_CanPickupItem, draw empty item box in HUD 2023-09-17 21:56:18 -07:00
James R.
591a2d94f5 k_drawKartHUD: disable HUD tracking with cv_drawpickups 2023-09-13 00:40:25 -07:00
James R.
5475cc37d5 K_drawKartMinimap: fix splitscreen player icons 2023-09-11 18:30:40 -07:00
James R.
2316671733 K_drawKartMinimap: let minimap fade in relative to st_translucency
- Fixes progression bar sometimes not appearing in Sealed
  Stars.
- Matches timing of V_SLIDEIN.
2023-09-11 18:30:40 -07:00
Sally Coolatta
9d3772b15e Remove tens -> ones place push
Looked better but broke splitscreen again while I wasn't looking, fuck this code
2023-09-09 03:29:32 -04:00
Sally Coolatta
e7642109b7 Fix 4P position numbers > 9 2023-09-09 03:29:32 -04:00
Sally Coolatta
96f7dcb5b8 Fix 3/4P position number 2023-09-09 03:29:10 -04:00
Sal
0675a4e527 Tally screen 2023-09-09 05:27:55 +00:00
James R.
c454843837 Spraycan HUD tracking 2023-09-08 02:55:48 -07:00
James R.
11f428b67a Add 4P variants for TARGET HUD tracking 2023-09-07 00:08:42 -07:00
toaster
fc075b24b4 Merge branch 'gp-lives-steenky' into 'master'
Lives & Rings Cleanup (resolves #647)

Closes #647

See merge request KartKrew/Kart!1447
2023-09-01 20:43:24 +00:00
VelocitOni
85e6e743d4 End user facing edit
"Starpost" --> "Cheat Check" when using debugwaypoints
2023-09-01 12:28:47 -04:00
VelocitOni
8845700c06 Starpost Gentrification
Replaced all mentions of starpostnum and Starpost w/ cheatchecknum and CheatCheck (so Ivo can stop asking why we still need it when its going to save our asses on release patches)
2023-09-01 00:31:49 -04:00
toaster
3c04951375 GP Lives HUD: for 10 lives, use the small number from the position rankings
Per VC discussion, the HUD was adjusted without consideration for negative rings, so preserve the feng shui it was designed around
2023-08-31 22:00:39 +01:00
toaster
a44576ad8d Fix some issues with Rings in Grand Prix
- Store a netsynced SINT8 `hudrings` on the player struct which stores the last rings the player has during play
    - So this doesn't get updated after you finish the level
    - Fixes the issue where the bot ghost that inhabits your body after finishing will use your rings, muddying how many you took into the total
- Fixed order of operations that prevented lives earned with GP rings from being given
    - Also uses hudrings for consistency
- Make the life-give context in P_DoPlayerExit cleaner
    - GPEVENT_NONE
    - no GTR_SPHERES
2023-08-31 21:55:25 +01:00
toaster
79699f47d5 Sealed Star finish cleanup
- No FINISH text
- No voices
- Warp sound on crossing the line, not any other stuff
2023-08-26 23:48:18 +01:00
AJ Martinez
3900189199 Auto Spin -> Auto Roulette 2023-08-20 16:26:34 -07:00
AJ Martinez
fbfc75df71 Item box autospin 2023-08-20 05:08:53 -07:00
James R
c7bd74c661 Let replays use director controls 2023-08-19 05:01:40 -07:00
James R
fcc35c1bb1 Toggle between freecam and director using C button 2023-08-19 05:01:40 -07:00
James R
943086a902 K_TimerInit: disable POSITION in FREE PLAY 2023-08-12 16:38:01 -07:00
toaster
9a35a39f5d Challenges Chao Key usage: Eggman numbers to REALLY drive home that you have to hold the button, and that you can release it early 2023-08-10 00:28:18 +01:00
toaster
92ce673416 K_drawKartTimestamp: Don't va() a constant string 2023-08-10 00:28:17 +01:00
James R
56c5e367ab K_drawKartSlotMachine: fix uninitialized variable
This caused the Ring Box HUD to disappear whenever the
player was turning. But I'm the only one who got this
behavior. Funny how undefined behavior works.
2023-08-07 13:39:33 -07:00
Oni
ced5a56db4 Merge branch 'super-flicky-tracking' into 'master'
Super Flickies now have HUD tracking and map icons

See merge request KartKrew/Kart!1363
2023-08-07 05:05:14 +00:00
AJ Martinez
0c45500901 Ring Box dopamine 2023-07-30 22:15:50 -07:00
VelocitOni
3b1edb903c Super Flicky trackables
Super Flickies have HUD tracking, have map tracking, and are 3x big when chasing instead of 2x
2023-07-30 00:48:59 -04:00
AJ Martinez
6607722b64 Simpler 120-tic flame shield behavior 2023-07-29 05:10:14 -07:00
toaster
55cda3dd5c Correctly flip minimap player icon dot in encore mode
Resolves #582
2023-07-19 22:29:43 +01:00
toaster
c5dc430b50 V_6WIDTHSPACE no longer a pitfall for using V_DrawThinString
The bunched text behaviour is now the primary mode of operation for TINY_FONT.
2023-07-12 09:00:29 +01:00
toaster
a536f884ce V_ALLOWLOWERCASE --> V_FORCEUPPERCASE
Content of commit was originally written by Sal, but as a monolithic commit. The author of this commit is chunking it up for easier review.

Simple inversion on the face of things, but with a long tail of consequences, including 19 changed files.

Forced uppercase has been applied in a handful of locations where it was aesthetically imperative. Most menus will follow in another commit, so that that may be reverted if we change the default menu font.
2023-07-12 09:00:29 +01:00
James R
7fdfa56451 Show point count next to rank icons HUD in Battle
If the player has reached the point limit, the numbers
dance and flash tangerine (indicating that they are about
to win, after they kill someone).
2023-07-03 06:20:21 -04:00
James R
e65b1531ae Draw MMAPDOT in front of players' facing angles on the minimap 2023-07-03 06:20:20 -04:00
Sally Coolatta
5067bb854a Split hitlag into its own file 2023-06-30 23:05:40 -07:00
Oni
0c94ce41eb Merge branch 'battle-ufo' into 'splitscreen-timer'
Battle: Power-up UFO

See merge request KartKrew/Kart!1308
2023-06-30 06:08:37 +00:00
James R
38c5703020 Add Battle UFO to minimap 2023-06-29 23:01:27 -07:00
James R
34b65a7c59 Add K_TranslateTimer, get the correct timer value for time limit; use this function for splitscreen timer 2023-06-29 21:44:31 -07:00
James R
81dab762ff Add power-up HUD
- Power-up icons are sorted by time remaining, most to
  least, left to right
2023-06-29 19:37:22 -07:00
James R
299a8b707c Add 2P and 3P/4P timer HUD variations 2023-06-29 19:27:36 -07:00
Oni
93e3b2aca0 Merge branch 'conclusions' into 'master'
Conclusions

See merge request KartKrew/Kart!1300
2023-06-28 00:51:45 +00:00
AJ Martinez
c71bb7092e Merge remote-tracking branch 'origin/master' into ringbox 2023-06-26 19:19:21 -07:00
AJ Martinez
c495106ee5 Ringbox: playtest fixups 2023-06-26 19:02:39 -07:00
AJ Martinez
a43744aa24 1P hud fixes 2023-06-26 17:51:42 -07:00
AJ Martinez
0a6bac0dcc Ringbox: HUD, transform time define, ring-box-only, scaling rewards 2023-06-26 17:36:41 -07:00
AJ Martinez
f371a21258 Ringbox proto functionality 2023-06-25 23:18:06 -07:00
toaster
2c09f39796 K_drawKartHUD: Draw laps if there's 0 laps, because that's more likely to be a testing environment 2023-06-25 23:49:18 +01:00
Sally Coolatta
7842032eee Split ringbox stuff from itembox stuff 2023-06-16 05:55:33 -04:00
toaster
1fee9f65fb Servant Hand
- Points in the direction of the best waypoint to take
- Vwoops in and out like a drop target squash-n-stretch
- Shows WRONG WAY only on debugwaypoints
- Flexible enough to be used for custom purposes and other gametypes, the only caveat being if those gametypes use GTR_CIRCUIT conflicting with the other purpose of PF_WRONGWAY
2023-06-15 18:46:44 +01:00
AJ Martinez
41540ed9e5 WIP: Ring Box 2023-06-14 23:32:31 -07:00
toaster
2949495c76 K_drawButton: Explicitly convert boolean inputs to numerical index, instead of assuming false is 0 and true is 1 2023-06-09 14:36:08 +01:00