Commit graph

662 commits

Author SHA1 Message Date
toaster
7e484150bd Cup Select preview: Draw strongly abbreviated Medal list in Time Attack 2025-02-19 15:46:06 +00:00
toaster
43f2dbe786 Level Select block: Draw relevant Medals on map thumbnail
- Medals in Time Attack
- Spray Can & Ancient Shrine in Match Race
2025-02-19 15:46:06 +00:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Eidolon
22b20b5877 Add netgame voice chat
Implemented using libopus for the Opus codec, same as is used in Discord.
This adds the following cvars:

- `voice_chat` On/Off, triggers self-deafen state on server via weaponprefs
- `voice_mode` Activity/PTT
- `voice_selfmute` On/Off, triggers self-mute state on server via weaponprefs
- `voice_inputamp` -30 to 30, scales input by value in decibels
- `voice_activationthreshold` -30 to 0, if any peak in a frame is higher, activates voice
- `voice_loopback` On/Off, plays back local transcoded voice
- `voice_proximity` On/Off, enables proximity effects for server
- `voice_distanceattenuation_distance` distance in fracunits to scale voice volume over
- `voice_distanceattenuation_factor` distance in logarithmic factor to scale voice volume by distance to. e.g. 0.5 for "half as loud" at or above max distance
- `voice_stereopanning_factor` at 1.0, player voices are panned to left or right speaker, scaling to no effect at 0.0
- `voice_concurrentattenuation_factor` the logarithmic factor to attenuate player voices with concurrent speakers
- `voice_concurrentattenuation_min` the minimum concurrent speakers before global concurrent speaker attenuation
- `voice_concurrentattenuation_max` the maximum concurrent speakers for full global concurrent speaker attenuation
- `voice_servermute` whether voice chat is enabled on this server. visible from MS via bitflag
- `voicevolume` local volume of all voice playback

A Voice Options menu is added with a subset of these options, and Server Options has server mute.
2024-12-13 17:12:14 -06:00
FreakyMutantMan
af8f7398a0 Fixes skincolors past the 256th displaying incorrectly on character select. 2024-11-19 15:32:10 -08:00
FreakyMutantMan
700ff96ea1 Replaced background graphics with separated graphic lumps; added a button on the menu to automatically revert to the default color profile. 2024-11-03 19:58:47 -08:00
FreakyMutantMan
67400f3c6d In-game color profile menu now removes background tint for optimal use. 2024-11-03 06:09:15 -08:00
FreakyMutantMan
6ce4b76d9f Created M_DrawOptionsColorProfile to handle new background assets for color profile menu. SKINCOLOR_COLORPROFILE has been removed entirely, since it is no longer needed. 2024-11-03 04:14:27 -08:00
Antonio Martinez
94db0ebc0e Admin Tools descriptige input 2024-09-28 03:03:40 -07:00
Antonio Martinez
555e4eaa4c Final raw button literal fixups?! 2024-09-27 04:44:59 -07:00
Antonio Martinez
f12f69559b Unused warning TWO 2024-09-27 03:30:52 -07:00
Antonio Martinez
92c2f5d5a5 Unused warning 2024-09-27 03:29:07 -07:00
Antonio Martinez
89036e07eb big ol fucking fuck 2024-09-27 03:29:07 -07:00
Antonio Martinez
8e47e37af1 Responsive button display setting, no more standardbuttons 2024-09-27 03:28:40 -07:00
Antonio Martinez
cad7273ff4 Controller type refactor 2024-09-27 03:28:40 -07:00
Antonio Martinez
80912b173c Descriptiveinput in profiles, various 6bt. modes 2024-09-27 03:28:40 -07:00
Antonio Martinez
16727f8df8 Fix spacing on profile charsel control help 2024-09-27 03:28:39 -07:00
Antonio Martinez
81d6ac9f6e FUCK A DRAWBUTTON 2024-09-27 03:28:39 -07:00
Antonio Martinez
7573c7dac9 idk 2024-09-27 03:28:38 -07:00
Antonio Martinez
43960d7a23 Animated keyboard, prelim large buttons 2024-09-27 03:28:38 -07:00
Antonio Martinez
9edeaaf0ba Keyboard label fuckapalooza 2024-09-27 03:28:37 -07:00
Antonio Martinez
af4dc813e2 The text spacing vortex consumes all 2024-09-27 03:28:37 -07:00
Antonio Martinez
7019c77b96 Generic input nightmare fuck 2024-09-27 03:28:37 -07:00
Antonio Martinez
31eb1a8f5d Descriptive input: visually box control legends, better bind search 2024-09-27 03:28:37 -07:00
Antonio Martinez
dbd43859fe Descriptive input: K_DrawGameControl rich text wrapper (WIP) 2024-09-27 03:28:36 -07:00
Antonio Martinez
57c4fccd03 gameplay prototyping lightning round 2024-08-27 19:42:56 -07:00
Sally Coolatta
6b87b586d2 "snapshotmaps" command
Takes two screenshots for a list of maps that have an "Alternate View Point" thing with tag 0 -- one intended for level select pictures and another for Discord Rich Presence. If no view point exists, the map is skipped.
2024-07-21 08:54:49 -04:00
AJ Martinez
d32ba6cf64 Vicious difficulty 2024-05-05 13:57:18 -07:00
AJ Martinez
1a8b4dc78f Retheme difficulty modes 2024-05-05 20:56:40 +01:00
toaster
c44fbc8200 Communicate the total number of Spray Cans to grab on the Courses & Medals page of the Statistics screen 2024-05-02 20:49:45 +01:00
Oni
7bb49a9f67 Merge branch 'always-musicdef-author' into 'master'
Always show author on song credit (resolves #1332)

Closes #1332

See merge request KartKrew/Kart!2333
2024-05-02 02:45:10 +00:00
toaster
68ee118078 Wordwrap the original composers field on the Stereo, so that nobody gets cut off 2024-05-01 15:02:06 +01:00
Eidolon
20ea98d563 Always cache EMEMAP/SUPMAP in PU_HUDGFX tag
These particular patches need to be cached in
K_LoadKartHUDGraphics, but caching them anywhere else with a
different tag causes them to potentially be freed and then later
use-after-freed during a Sealed Star run, causing a crash. Instead,
let's cache them as PU_HUDGFX in all cases where they are used.

Fixes KartKrew/Kart#1240
2024-04-30 17:03:17 -05:00
toaster
a2f57032ae Funny magician stat block rave for Engine Class drawer 2024-04-15 01:38:06 +01:00
toaster
1034dd7ec9 Grand Prix course preview adjustment: Show Prison Break stages too, just like on Challenges Board preview
- All gametypes will be shown in the drawer, as opposed to just Race
- However, don't attempt to add the preview pic for CUPCACHE_SPECIAL (the Sealed Star)
2024-04-09 17:47:30 +01:00
toaster
1f6038be65 Add "Time Tracked" page to Statistics
Ugly but releasable
2024-04-06 22:19:51 +01:00
toaster
825eda9861 Statistics "Characters & Engine Classes" page: Show Wins/Rounds, not just Wins 2024-04-06 22:16:51 +01:00
toaster
e3a22019ab Update Statistics menu to use the same font as the micro version of the Timestamp 2024-04-05 00:46:19 +01:00
toaster
0427f7f3ff Don't show uncollected Platinum medals
You'll see the Platinum time to reach as a guiding star when Time Attacking the specific course, but with no accompanying empty medal icon.

Also
- fixes an x coordinate issue for higher medal quantity on the version that draws under the timestamp
- cache SECRET_ENCORE and SECRET_SPBATTACK availability in the statistics drawer too
2024-04-05 00:45:31 +01:00
toaster
b8c67dcc9e Copyright update: Recieved notice of legal name change
(which is formal speak for I got back in contact with an old friend :D )
2024-04-03 20:44:19 +01:00
toaster
dea698a276 Tasteless Taunts
Uninhibited voices/horns (see the "meme" setting in v1).
Removes the SECRET_MEMETAUNTS unlock, which didn't fit the general level of cohesion main game content should have.
2024-04-02 23:26:57 +01:00
toaster
224deed01d More copyright updates
- TehRealSalt and Lat` are currently preoccupied, so handle their credits
- Correct some accidential copypastes of existing boilerplate into new files
- Add a handful more of mine
- Consistency for Kaito Sinclaire's online handle
2024-04-02 22:14:49 +01:00
toaster
30bf2e4cc4 M_DrawChallengeScrollbar: Fade to white based on the % of challenges unlocked in the column, not the raw count
Means blank squares won't cause this to be permanently incomplete
2024-04-01 18:43:05 +01:00
toaster
7b2e0f9491 Oversight for debugchallenges: use the correct numeric value for debugchallenges highlight
Avoids dereferencing ref->conditionset, given ref can be NULL for blank squares
2024-04-01 18:29:25 +01:00
toaster
0aaf5649dd Server Browser last-minute adjustments
- Menu string for server count
- Thin string for server name
- Gear instead of difficulty (renamed to keep the old assets just in case online GP)
- Pwr fixes
    - Handle -1 case as "No Pwr"
    - Adjust draw coords a little
- Custom gametype support
    - Shows name as net-communicated instead of Pwr
    - Affects d_clisrv side a little bit too
        - All custom gametypes MUST show up on the Modded room, no exceptions
        - Cache gametype info instead of constant strcmp
2024-03-29 22:04:17 +00:00
toaster
73426e099a Options menus accessed via Egga Channel screens now draw over the logo, a little like Goner 2024-03-29 22:04:17 +00:00
toaster
31288a6f21 Introduce a variant of M_DrawEggaChannel aligned to center or left depending on parameter 2024-03-29 22:04:17 +00:00
toaster
32ce2b4744 M_DrawCupPreview: Prevent glitchy rollover state (resolves #1183, #1048)
Now performs unsigned portion of calculation including modulo, THEN multiplied by FRACUNIT
Variable names have been adjusted a little to make this clearer
2024-03-29 22:04:16 +00:00
toaster
25da02f0e6 Rework debugchallenges a little
- Instead of referring to conditionset id, the number you provide is unlockable id (as seen in unlocks.pk3, so plus one).
    - This is preferable because multiple unlocks have the same conditionset.
- Show flashing highlight for the desired unlockable id on the scrollbar, too
    - Different flash to unlock that hasn't been inspected yet
2024-03-26 21:36:33 +00:00