Commit graph

624 commits

Author SHA1 Message Date
zander3312
50f007b653 Menu music plays after credits (fixes #189) 2025-09-30 17:03:22 -05:00
toaster
b5b2652255 Fix off-by-one error in down-down-down input 2025-08-28 20:21:59 +01:00
toaster
94fe67e87b Don't allow devmode arrow-key skips if you haven't gotten all the way through Goner 2025-08-28 13:33:11 +01:00
Eidolon
892a6b8620 Merge public master 2025-08-12 16:49:14 -05:00
Eidolon
255570cfca Dynamically allocate skins
This avoids an issue where the skins array takes up a fixed, but large
amount of memory at runtime. On x86_64 linux, that array is roughly 80
megabytes in memory, most of which is unused when the game is unmodded.
Instead, we treat `skins` as a dynamically resizing array, and it is an
array-of-pointers into separate allocated `skin_t`.

This is based on Lactozilla's skin limit MR for SRB2, but I've rewritten
it because RR has diverged quite a bit.

This was verified to check every access of `skins` by using clangd's
find-all-references function. However, I have only tested plain skins,
not Lua addons, so that could afford some extra checking.
2025-08-12 15:33:00 -05:00
toaster
db0dfe7be1 Update year count in KKD screen from 11y to 12y 2025-07-23 19:35:38 +01:00
Antonio Martinez
4bc768eb43 "devexec" cheat 2025-05-12 13:43:16 -04:00
AJ Martinez
4c689c5a37 Merge remote-tracking branch 'origin/master' into ringbox-rebalance 2025-05-09 19:56:37 -04:00
AJ Martinez
95cd51cada Dynamic tripwire 2025-05-01 17:12:40 -04: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
Antonio Martinez
c5a9be9d28 TA2, attempt 2 2024-09-29 21:13:27 -07:00
Antonio Martinez
1500423f4d Fix skip loop only working by accident 2024-08-28 18:19:37 -07:00
Antonio Martinez
0d97e525bb Advertise when using Quick Online 2024-08-28 18:05:02 -07:00
Antonio Martinez
2374af0a04 Chrome but louder 2024-08-28 18:02:13 -07:00
Antonio Martinez
f29a8d5d75 Quick intro skip sequences 2024-08-28 17:52:02 -07:00
SMS Alfredo
83c420f512 Allow Skipping through the Sega Logo Faster 2024-08-09 05:16:55 +00:00
toaster
6d9d9b2c2f Add "Technical Kart Racer" to goner title screen drawer 2024-05-06 00:43:44 +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
James R
56b142e737 Legacy GL: hack to fix blank screen once "kartkrew.org" and "2013 - 11 years - 2024" text appears 2024-04-14 00:59:28 -07:00
toaster
86b9d1a7c2 Widescreen support for Y_IntermissionButton 2024-04-10 00:51:09 +01:00
James R
a18cfeb58d Init evaluation screen at start of credits, to circumvent clobbered grandprixinfo
- Credits demos will erase grandprixinfo
- Call F_InitGameEvaluation (new function) at the
  beginning of the credits to cache the needed data from
  grandprixinfo
- Fixes the evaluation screen not showing up for GP
  credits
2024-04-08 22:06:58 -07:00
SteelT
2bc281b278 Fix double free in F_DisclaimerDrawScene 2024-04-07 16:34:47 -04:00
toaster
7f6de407f1 Copyright update: Add Kart Krew (2024) in general for high-traffic inherited sourcefiles 2024-04-02 17:42:38 +01:00
toaster
695afa2b1e Goner Disclaimer adjustments
- This game should not be sold.
- GNU General Public License 2.0
2024-03-30 21:56:19 +00:00
Oni
b85d9d0017 Merge branch 'intro-sound-fuck' into 'master'
Sounds + intro polish

See merge request KartKrew/Kart!2162
2024-03-27 22:41:59 +00:00
Sally Coolatta
6833885948 Don't go to krew screen in goner 2024-03-27 01:07:53 -04:00
James R.
fea4b0bd2a Merge branch 'credits-music-tidy' into 'master'
Credits music tidy

See merge request KartKrew/Kart!2160
2024-03-27 04:11:55 +00:00
toaster
4e617198cd Merge branch 'lawyer-unsummon' into 'master'
Refine disclaimer

See merge request KartKrew/Kart!2159
2024-03-25 20:37:33 +00:00
Sally Coolatta
9aa6831a13 Use wipe code for SEGA screen
This sucked to figure out LOL
2024-03-25 02:12:02 -04:00
Sally Coolatta
8e9e4c7aac New vroom sound 2024-03-25 01:34:53 -04:00
James R.
779108175f Merge branch 'chengi-video' into 'master'
Chengi Video

See merge request KartKrew/Kart!2156
2024-03-25 02:45:30 +00:00
James R
df0e256c00 Credits: remove music fade out into evaluation screen
This is handled earlier by a JSON definition.
2024-03-24 18:09:24 -07:00
AJ Martinez
9126c14066 Refine disclaimer 2024-03-24 15:44:54 -07:00
toaster
93b08c8512 Dehardcode "titlemusicstart" (position in O__TITLE the titlescreen starts on) 2024-03-23 16:21:03 -07:00
James R
a4f2712d8a WIP - credits audio/wipe fixes, document this later 2024-03-23 16:21:03 -07:00
toaster
34ec886d34 (WIP) Play Title music after credits track ends
For some reason I_GetSongLength is not reliable here, and try to accomodate fastforward...
2024-03-23 16:21:03 -07:00
toaster
5eb5c087d0 Evaluation: Hide overlay text in DEVELOP if soundtest override greater than the number of evaluation types is in play 2024-03-23 20:51:46 +00:00
toaster
e2b09f53fb Update for SEGA Corporation (from SEGA Enterprises) 2024-03-23 20:42:49 +00:00
toaster
7df91d0cf7 Update the joyeaux anniversary text into our URL halfway through the text underneath being visible on the KartKrew splash 2024-03-22 17:58:05 +00:00
toaster
c317562bd5 Megamix Disclaimer before the game has truly started
Exactly the same unskippable duration, but much more text.
2024-03-22 15:31:01 +00:00
toaster
fa26a50b92 Improved Goner titlescreen
Still minimalist, but much stronger.
2024-03-21 22:18:17 +00:00
toaster
aeaad8026c F_VersionDrawer: Fade in on titlescreen 2024-03-21 22:17:20 +00:00
toaster
0a09f4dd05 Improvements to Kart Krew Dev splash
- Drop down the team's name under the logo, with mildly pleasing Chaotix sound
- Add fading in/out 11 years anniversary message
- For first boot, only use Eggman's voice clip
2024-03-21 21:53:08 +00:00
toaster
10681e7d6f Fix x offset of Kart Krew Dev logo (resolves #1184) 2024-03-20 12:11:41 +00:00
toaster
1c971660a9 Rework intro skipping
- Pressing/holding any input will now skip only ONE screen of the Intro, like a REAL VIDEOGAME
- Allow you to skip before the end of INTROSCENE_DISCLAIMER, but only once the text has been solid for half a second
- Fix regression re exiting title demos after using -skipintro command line parameter
    - intro_scenenum was stuck at 0, so the game was softlocked!
2024-03-19 22:03:09 +00:00
toaster
15344f56cd Intro disclaimer: Use the same datatype for dc_lasttime as intro_curtime so the final fadeout isn't uncapped 2024-03-19 22:00:08 +00:00
James R
f1df1b8555 Attract, Credits: do not spend more than 2 seconds real time skipping forward in a replay 2024-03-18 02:42:22 -07:00
James R
4281cd1283 Attract: fade out and timescale at end of demo
- Do not use a wipe so player can keep moving while fading
  out
- Timescale by half for a "slowdown" effect
2024-03-18 02:42:21 -07:00
James R
244d5e1063 Attract: play demo for 30 seconds, starts at random timestamp
- Starting timestamp is not truly "random"
  - Uses a lookup table because I didn't like the PRNG
    distribution
2024-03-18 02:42:21 -07:00