Commit graph

21656 commits

Author SHA1 Message Date
James R
650264ea86 media: add libvorbis encoder 2023-02-24 19:21:00 -08:00
James R
e9f5a75d4a media: add "options" cvar abstraction 2023-02-24 19:21:00 -08:00
James R
3b5245f974 Add basic multimedia container and encoder interfaces
Adds the media subdirectory.
2023-02-24 19:21:00 -08:00
James R
8ee785bb7e cpm-ogg.cmake: fix libvorbis cross-build
Vorbis couldn't find ogg so tell it explicitly where it
is.
2023-02-24 19:20:43 -08:00
James R
61198a46e7 Add libvorbis (and ogg) dependency 2023-02-24 19:20:43 -08:00
James R
3741ab1c91 Add libwebm, libvpx, libyuv dependencies
Libvpx is built with configure script and make.
Unfortunate but the configure script is very dense and I'm
not sure if it's worth translating into CMake, since it
apparently does CPU detection for optimizations.
2023-02-24 19:20:43 -08:00
AJ Martinez
432be46a2f Please god just fucking work 2023-02-24 20:04:36 -07:00
toaster
182768aa32 Unlockable sounds updated
- Use sfx_achiev when any Challenge is completed
- If picking up MT_EMBLEM *doesn't* immediately complete a challenge, use sfx_ncitem as before
    - Bugfix: this sound is played even when online, which it wasn't previously doing (because the object couldn't be destroyed and play its sound)
2023-02-25 00:33:56 +00:00
toaster
9779d6066c Challenge Grid: Introduce flipping tiles
- When a tile is selected, flips from category side to specific icon side
- Flips back when unselected
- Hold R (drift) to flip all tiles to visible side
2023-02-25 00:21:28 +00:00
AJ Martinez
7c08634f7e WIP: Turn towards local camera (midgame join broken right now) 2023-02-24 16:59:22 -07:00
toaster
339617a54e extras-challenges.c, M_UpdateChallengeGridExtraData: Be less lazy about reallocation
- Z_Calloc once, on menu load, instead of every time data changes
- Free once, on menu exit, instead of every time data changes
2023-02-24 19:10:44 +00:00
toaster
8dc4971c2a M_DrawChallengeTile: Don't draw the ? stuff if not yet unlocked 2023-02-24 19:06:45 +00:00
toaster
e65bb87ec5 M_DrawChallengeTile: Change the appearance of locked tiles
- Question mark
- If next to an unlocked tile (ie, hint mode)
    - Have ring around when highlighted, per hint ring
    - ELSE, make blink-colormapped + subtractive
2023-02-24 18:15:38 +00:00
toaster
4380876959 Challenges Grid: create dedicated struct for menu extradata
- challengegridextradata_t
- Existing UINT8 data per entry has been converted to "flags" property
- This is a tool that will help us later.
2023-02-24 17:38:08 +00:00
James R
d76a10f2fa Merge branch 'block-tripwire-abuse' into 'master'
Tripwire anti-cheese

See merge request KartKrew/Kart!968
2023-02-24 08:48:54 +00:00
AJ Martinez
63c8c1bdab Rerandomize SF_IRONMAN on UFO hit 2023-02-24 01:21:46 -07:00
Oni
4309df414c Merge branch 'desperation-spindash' into 'master'
Desperation spindash

See merge request KartKrew/Kart!967
2023-02-24 07:31:00 +00:00
AJ Martinez
9b5bd70cae Briefly lock out TRIPWIRE_BLASTER after failing a tripwire 2023-02-24 00:30:21 -07:00
AJ Martinez
2cc02f43fd Double-speed spindash at 0 rings, remove Battle spindash buffs 2023-02-23 23:49:24 -07:00
James R
917acfd16b Refactor pointlimit to be delayed until next round, like timelimit 2023-02-23 18:37:30 -08:00
toaster
9cb176de36 M_DrawCharSelectExplosions: Fix alignment of explosions for Challenges Grid 2023-02-24 00:16:39 +00:00
toaster
2164121ce6 M_DrawChallengeTile: Have different appearance for hovered over tile (current behaviour) and category information 2023-02-24 00:08:58 +00:00
Oni
ffb0596581 Merge branch 'fix-acs-includes' into 'master'
Fix ACS includes

See merge request KartKrew/Kart!963
2023-02-23 23:26:57 +00:00
Oni
5dadf48da1 Merge branch 'local-camera-fixes' into 'master'
Debounce cmd latency in local camera prediction

See merge request KartKrew/Kart!965
2023-02-23 23:25:54 +00:00
AJ Martinez
560050cf2c Remove old anglepredict debug print 2023-02-23 15:21:54 -07:00
AJ Martinez
4062447ee7 Debounce cmd latency in local camera prediction 2023-02-23 15:19:11 -07:00
Chromatian Keiske
aa76ba45db Merge branch 'fix-spb-lightning' into 'master'
Let Lightning Shield destroy SPB

Closes #427

See merge request KartKrew/Kart!933
2023-02-23 21:59:29 +00:00
Chromatian Keiske
016a3f82ca Merge branch 'separate-capsule-tracker' into 'master'
Only draw capsule icon for Break the Capsules HUD tracking

See merge request KartKrew/Kart!964
2023-02-23 21:45:58 +00:00
toaster
2875400397 Challenges Grid: New tile borders + selection reticule
M_DrawChallenges: Adjust all offsets to new 22x22 bordered system (from 16x16)
M_DrawChallengeTile: Border, colorization, and reticule
2023-02-23 21:39:55 +00:00
toaster
97612ba26e Challenge Grid: set height to 4
- In anticipation of next steps of menu redesign
- g_game.c: Increment GD_VERSIONMINOR and burn old challenge grid data
2023-02-23 17:57:01 +00:00
toaster
d17525fac7 M_DrawChallenges: reimplement dark areas for contrast/readability
Now uses V_DrawFadeFill and MENUHINT patch directly.
2023-02-23 17:24:11 +00:00
toaster
d66a4cff81 M_DrawChallenges: Scrolling question mark background 2023-02-23 16:55:36 +00:00
toaster
f9f4d56850 m_cond.c/h: Copyright notice update
Intended to do this in my previous `unlockables-undefeatable` branch but forgot
2023-02-23 15:56:37 +00:00
James R
ecd36144c8 Only draw capsule icon for Break the Capsules HUD tracking 2023-02-23 00:31:45 -08:00
VelocitOni
5bffc13db9 Reduce Gardentop Odds
A bit of a problem still, because I noticed that k_roulette.c isn't matched with our google doc. But this should be less annoying for now
2023-02-23 02:36:55 -05:00
James R
afec876f01 Add exception to let Lightning Shield destroy SPB 2023-02-22 03:42:25 -08:00
James R
c118b3cff1 Merge branch 'fix-cmake-ubuntu-2004' into 'master'
Fix CMake build on Ubuntu 20.04

See merge request KartKrew/Kart!948
2023-02-22 11:25:43 +00:00
James R
b0a4350454 Merge branch 'gachaboss' into 'master'
Use intermittent Gachabom in boss item table

See merge request KartKrew/Kart!954
2023-02-22 11:25:21 +00:00
James R
923b8414a1 Merge branch 'refactor-kitemcap' into 'master'
Refactor kitemcap

See merge request KartKrew/Kart!955
2023-02-22 11:23:51 +00:00
James R
03ada35269 Merge branch 'k-hud-track-cpp' into 'refactor-kitemcap'
Refactor capsule HUD tracking code to C++

See merge request KartKrew/Kart!956
2023-02-22 11:23:37 +00:00
James R
70cd31e04d ACS: include required C++ headers 2023-02-22 03:20:47 -08:00
James R
3e9b2e45e5 ACS: include libraries headers before any game headers 2023-02-22 03:20:47 -08:00
Oni
96862a2a6f Merge branch 'dont-fault-outside-of-race' into 'master'
Don't FAULT outside of Race modes

See merge request KartKrew/Kart!959
2023-02-22 09:59:47 +00:00
Oni
5dddf4c5e9 Merge branch 'despawn-empty-kart' into 'master'
Add 5 second fuse for empty kart, flickers right before despawning

See merge request KartKrew/Kart!961
2023-02-22 09:56:11 +00:00
Oni
b368e6835c Merge branch 'improve-vissprite-rangecheck-message' into 'master'
Add more details to R_DrawVisSprite RANGECHECK message

See merge request KartKrew/Kart!946
2023-02-22 09:29:49 +00:00
Oni
5217650583 Merge branch 'seg-fault-on-i-error' into 'master'
Generate a backtrace for I_Error; add a crash command

See merge request KartKrew/Kart!947
2023-02-22 09:29:26 +00:00
Oni
fd29a03a2b Merge branch 'claw-speedup-noise' into 'master'
More UFO FX

See merge request KartKrew/Kart!960
2023-02-22 08:17:36 +00:00
James R
b4b1543e0e Add 5 second fuse for empty kart, flickers right before despawning 2023-02-22 00:16:40 -08:00
AJ Martinez
fa73500787 More UFO FX 2023-02-22 01:09:34 -07:00
James R
d90351d660 Don't FAULT outside of Race modes 2023-02-21 23:59:56 -08:00