Commit graph

22859 commits

Author SHA1 Message Date
Eidolon
c193930b4e rhi: Add more sampler-related uniform names 2023-04-01 15:07:31 -05:00
Sal
e97068dc15 Merge branch 'seed-waypoint-search' into 'master'
Improve player waypoint search speed

See merge request KartKrew/Kart!1125
2023-04-01 20:06:04 +00:00
Sal
c4ee8301e8 Merge branch 'fix-position-music' into 'master'
Fix empty position music header field pointing to garbage string

See merge request KartKrew/Kart!1129
2023-04-01 20:04:24 +00:00
James R
faccea6207 Hardcode assist, part J (jartha)
- Add read-only `actionname` field to Lua states.
    - Resolves to function name definition of global Lua functions.
    - Resolves to all-uppercase name for C actions.
    - Resolves to "NULL" string if nil.
2023-04-01 05:44:59 -07:00
AJ Martinez
08e1e8de6e Add -profile through -profile4 flags for splitscreen testing 2023-04-01 03:02:59 -07:00
SteelT
5020e564e2 Fix empty position music header field pointing to garbage string 2023-03-31 15:41:58 -04:00
toaster
3bd0fd8330 G_ExitLevel: Fix K_PlayerFinishGrandPrix not being called in Sealed Star
Fixes Emerald collection not being recorded
2023-03-31 18:38:29 +01:00
toaster
0c4ea2f51a GP Cup Select drawer: Use the Super Emerald graphic for cups with emerald numbers higher than 7 2023-03-31 18:35:36 +01:00
toaster
49f7b75454 UCRP_ISCHARACTER:: Show as "???" if you haven't unlocked the character 2023-03-31 16:09:19 +01:00
toaster
9f1ab11bb1 UCRP_TRIGGER: Since we're not doing the custom condition string, just say the player has to "do something special on [levelname]". 2023-03-31 16:03:52 +01:00
toaster
0708c282fc Challenges screen: Always digest pendingkeyrounds when running out of things to look at
Without this commit, if you didn't unlock a Chao Key, it would always handle unlocks, then when you returned to the menu a second time digest any pending key rounds. (Chao Key earning was always correct.)
2023-03-31 16:01:18 +01:00
toaster
0d2f598c3e Hardcode assist, part 1
- Add read-only `string` field to several info table metatables already available in Lua.
    - mobjinfo[i].name
    - states[i].name
    - sfxinfo[i].string
2023-03-31 14:36:16 +01:00
James R
530c2c5348 acs/CMakeLists.txt: remove ACSVM_NOFLAGS, fix Apple Clang 14 compile
This should be more correct everywhere but it specifically
broke Apple Clang 14 compiling.
2023-03-31 05:27:59 -07:00
Oni
78b4b6f5ec Merge branch 'increase-minz' into 'master'
Increase MINZ from 4 fracunits to 16

See merge request KartKrew/Kart!1122
2023-03-31 09:42:17 +00:00
Oni
fd5186bfea Merge branch 'fix-gme-length' into 'master'
Fix GME not reporting song length most of the time

See merge request KartKrew/Kart!1123
2023-03-31 09:40:08 +00:00
James R
bd7613cd09 K_GetPlayerNextWaypoint: use player's current waypoint as a hint
Improves best waypoint search time on huge maps with many
waypoints, such as City Escape.
2023-03-31 01:42:38 -07:00
James R
71626dbc76 K_GetBestWaypointForMobj: add a hint argument
The hint argument is a known nearby waypoint that can be
used to optimize the waypoint search.
2023-03-31 01:41:31 -07:00
James R
345e4475a3 Convert k_waypoint.c to k_waypoint.cpp 2023-03-31 01:15:09 -07:00
James R
18287e2ed4 cmake: always build libgme, even if SRB2_CONFIG_SYSTEM_LIBRARIES 2023-03-30 23:44:53 -07:00
James R
fccdefb840 Audio: fix GME not reporting song length most of the time
Now add the intro time and looping time together to get
the length of the song, if the length field itself is not
specified (it's usually not).
2023-03-30 23:18:17 -07:00
James R
7867ffa335 Increase MINZ from 4 fracunits to 16
Prevents sprites from rendering too close to the camera.
Such as when precipitation is too close and the sprite
corrupts visually. Perspective also breaks down when too
close.
2023-03-30 23:08:28 -07:00
AJ Martinez
535fc17875 Fix RRID/crypto primitive size defines 2023-03-30 20:36:10 -07:00
AJ Martinez
495b51f6c2 Merge branch 'licenses' into 'master'
Add LICENSE-3RD-PARTY.txt

See merge request KartKrew/Kart!1110
2023-03-31 03:00:58 +00:00
Oni
dec66ee9b1 Merge branch 'jam-project' into 'master'
Stereo Mode

See merge request KartKrew/Kart!1097
2023-03-31 01:07:38 +00:00
James R
da004414a3 Play a goofy sound when I_Erroring
Reorders shutdown in I_Error a little bit so the message
box displays before I_ShutdownSound and SDL_Quit (so the
sound can continue playing while the message box is open).
This should not have any other effects and
I_ShutdownGraphics is still done beforehand, which closes
the main game window.
2023-03-30 17:13:55 -07:00
James R
c6f891f545 Add sfx_etexpl 2023-03-30 17:13:55 -07:00
James R
6082d222fd Merge branch 'fix-encore-capsules' into 'master'
Don't render item capsule numbers mirrored in Encore mode

Closes #493

See merge request KartKrew/Kart!1119
2023-03-31 00:12:06 +00:00
James R
1592369071 Merge branch 'musicdef-volume-debug' into 'master'
Add musicdef console command

See merge request KartKrew/Kart!1114
2023-03-31 00:11:50 +00:00
toaster
5a5a607c9a M_DrawSoundTest: STER_DOT
Draws a dot matrix over the background level icon
2023-03-31 00:28:15 +01:00
toaster
027fd2be04 Time elapsed functionality
- Shown on the menu
- soundtest.autosequence
    - Plays all songs in sequence, skipping over the soundtest entry.
        - Plays each looping song twice (and fades out if it's the last one in the musicdef's tracks)
        - Plays non-looping songs once with no fade ever
   - Disabled when S_SoundTestStop called
- Songs that end outside of autosequence will now stop the visible Playing.
2023-03-31 00:27:20 +01:00
toaster
6f99a75c24 Duplicate current track title per VC discussion 2023-03-30 23:31:37 +01:00
toaster
fe8db18066 Store non-looping information in musicdef
Preface with a `\` (ie `Lump VOTEEA,\VOTEEB`) to indicate the preference is not to loop.
This is for special jingles that have definitive conclusions.
2023-03-30 23:28:51 +01:00
toaster
2c0645cba2 Improve Stereo text header drawing
- Use LSTitleHighString at the top of the menu for the music's title/Sound Test
- Only show Track for relevant entries
- Show cv_soundtest.value in hex for that Classic Sonic soundtest flavour
2023-03-30 18:36:09 +01:00
toaster
99f4641700 Improve level select icon handling
- Make it full base resolution...
- ...but use ClipRect to make it fit inside the window of the Stereo
2023-03-30 18:31:18 +01:00
AJ Martinez
9f8ed9c4ec Update more third-party licenses 2023-03-29 23:59:31 -07:00
James R
1c9ccab159 Use foflayer when spawning mapthings
- foflayer offsets the thing from an FOF in its sector.
  - foflayer 0 uses the base sector heights.
  - foflayer 1 uses the lowest FOF top height, or highest
    FOF bottom height when the thing is flipped.
  - foflayer 2 uses the second lowest / second highest and
    so on.
2023-03-29 22:23:56 -07:00
James R
881f8d8407 UDMF: add foflayer field to things TEXTMAP 2023-03-29 22:23:02 -07:00
James R
75d5c5b68f Move P_GetMobjSpawnHeight to p_mapthing.cpp 2023-03-29 20:21:57 -07:00
James R
ed0d3adccc Don't render item capsule numbers mirrored in Encore mode 2023-03-29 19:09:45 -07:00
James R
0f5370efbb Merge branch 'palette-reload-fix' into 'master'
Reload palette even if rewinding a replay or reloading the gamestate (Resolves #443)

Closes #443

See merge request KartKrew/Kart!1118
2023-03-30 01:28:34 +00:00
James R
6e79ae9a3e Command_MusicDef_f: fix typo 2023-03-29 18:24:49 -07:00
James R
4e149d04cf Merge branch 'fix-skybox-change-after-finish' into 'master'
Do not change skybox for players after they finish the race

See merge request KartKrew/Kart!1115
2023-03-30 01:23:57 +00:00
James R
9aacbf6472 Merge branch 'improve-devmode-visibility' into 'master'
Improve devmode visibility and usability

See merge request KartKrew/Kart!1113
2023-03-30 01:23:40 +00:00
James R
43949031ac Merge branch 'fix-tripwire-lighting' into 'master'
Force Trip Wires to render at maximum brightness

Closes #318

See merge request KartKrew/Kart!1112
2023-03-30 01:23:04 +00:00
toaster
5a802219ce M_SoundTestNextPrev: Set cv_soundtest to 0 when returning to the soundtest entry 2023-03-30 01:11:22 +01:00
toaster
e5c3b566bf Stereo Volume
Access to soundvolume and musicvolume through the Stereo Mode menu
- Draws a knob and volume bar (with loudness warning)
- Changes which cvar is associated with it depending on selected song/lack of
    - If on any regular song, use digital music volume
    - If on soundtest, use sound volume
        - unless on entry 0 aka N/A, where no volume is visible at all
2023-03-30 01:01:16 +01:00
toaster
f9975d6a71 stereospecial_e
No more magic numbers for M_DrawSoundTest
2023-03-29 23:28:45 +01:00
Sal
1e06209659 Merge branch 'no-lua' into 'master'
Add -nolua command line parameter

See merge request KartKrew/Kart!1117
2023-03-29 21:42:42 +00:00
SteelT
4e8bc36521 Reload palette even if rewinding a replay or reloading the gamestate 2023-03-29 14:29:00 -04:00
James R
542e5b1cdf Add -nolua command line parameter
Disables loading Lua scripts entirely.
2023-03-29 09:03:37 -07:00