Commit graph

408 commits

Author SHA1 Message Date
NepDisk
d9bfb3c192 Rename freeroam to nocountdown and clean up some relatedcode
Also yes no skipping introtime now
2025-06-29 14:30:21 -04:00
NepDisk
e2524356da Fix DSradio bug in chat for clang users 2025-06-28 22:58:55 -04:00
GenericHeroGuy
76daf2f0e0 Fix music names longer than 6 chars not being truncated anymore 2025-06-27 23:33:59 +02:00
GenericHeroGuy
24de618653 Remove W_CheckNumForName
NOW long menuitem patches are supported lol
Staff ghosts support long map names now
The runsoc command and linedef special 415 support longnames now
2025-06-26 01:27:28 +02:00
GenericHeroGuy
146ac557ba Remove W_GetNumForName
Still no longnames for sounds/music, but that's a story for another day
2025-06-26 00:18:20 +02:00
GenericHeroGuy
7aae6775e6 Use LUMPERROR instead of INT16_MAX, and MAX_WADFILES instead of UINT16_MAX
The 32768th lump of a file works now lol
2025-06-25 17:47:57 +02:00
GenericHeroGuy
684ded7647 Formally deprecate the shortname functions
and make TestValidLump actually work
2025-06-25 14:57:37 +02:00
GenericHeroGuy
4ffd4621e4 Let's clean this shit up properly
lumpinfo_t is now private. Wanna iterate thru lumps? Use the W_* functions
2025-06-25 00:43:46 +02:00
GenericHeroGuy
927f30e51f Aww yeah, string buffers baby! 2025-06-24 01:05:56 +02:00
GenericHeroGuy
23fb99cc9e Refactor menu tree iterators to use menustack, fix menu music 2025-06-17 18:20:02 +02:00
GenericHeroGuy
c936c24d15 Replace mainwads with an enum
The mainwads check in G_SetGameModified is replaced by a modifiedgame check
in D_SRB2Main
2025-04-03 17:36:13 +02:00
NepDisk
911afb22a6 Move freecam state to camera_t
Based on fa89576f34 p1 still controls both cameras for now.
2025-04-01 13:57:27 -04:00
James R
6531cc065e Fix sound handling in demo freecam
- Object sounds are audible from the location of the
  camera
- Certain HUD sounds should no longer be audible
  - For instance, lap complete sfx
2025-03-30 08:44:56 -04:00
NepDisk
663ba19923 Fix more Music Test Crashes 2025-03-13 13:28:40 -04:00
NepDisk
175e7e3cab Revert 'Use Author like RR for now'
This reverts commit 1d4da50b00.
2025-03-12 15:28:37 -04:00
NepDisk
1d4da50b00 Use Author like RR for now 2025-03-12 14:48:28 -04:00
NepDisk
f1c27ff963 Use musicdef from main.pk3 instead. 2025-03-12 14:45:15 -04:00
NepDisk
1f6e8f25cd Music Test port from Saturn pt1
Mostly ported over but its kind of broken for whatever reason...
2025-03-12 12:36:07 -04:00
NepDisk
b0bbf07bdb Custom gametype and gametyperules additions
Many new options have been added.

You can now specify "menucolor" when creating a gametype. This accepts a V_ colorchar flag (IE V_PURPLEMAP) and will be used to color hud elements in menus and on the HUD.

Encore is now controlled by GTR_ENCORE. This allows for custom modes that don't accept encore.

Itemodds are now controlled by GTR_RACEODDS and GTR_BATTLEODDS respectively. If neither is specified on gametype creation, completely random items will be rolled.

General GTR_FREEROAM adjustments
2025-03-02 11:41:30 -05:00
James R
b31e79b742 Kill last of DJGPP, WATTCP, _WINDOWS (ol' DirectDraw) 2025-02-25 00:42:42 +01:00
NepDisk
b181133810 Fix streamersafemusic Cvar 2025-02-18 14:50:02 -05:00
NepDisk
718960ffdc Add R_PointOnSideFast and R_PointInSubsectorFast and use it to optimize some stuff 2025-02-09 12:27:04 -05:00
NepDisk
bc0f662f56 Forgot something 2025-01-26 18:52:12 -05:00
NepDisk
37afbae95d Orbit object fixed 2025-01-26 18:51:31 -05:00
NepDisk
28d8f15bfc Merge branch 'v2dev3' into ACS2 2024-11-16 14:27:34 -05:00
hayaunderscore
98f8bd46cd support for legacy v1 musicdefs 2024-11-16 14:22:08 -05:00
NepDisk
049c182288 Massive warning clean up 2024-10-23 00:01:03 -04:00
NepDisk
6a6b804339 Fix mapid music lumps 2024-10-21 23:57:28 -04:00
NepDisk
46efa73d5f Fix mapid music lumps 2024-10-21 23:55:41 -04:00
NepDisk
8854918375 ACtually Fix content id music cvar 2024-10-09 19:16:52 -04:00
NepDisk
249c4afd6d Fix content id music cvar 2024-10-09 19:08:55 -04:00
NepDisk
e45ad78b18 Fix rng desync 2024-09-09 15:16:21 -04:00
James R
d6fa3023b7 Do not set cvars with S_SetSfxVolume or S_SetMusicVolume
Don't do this because in sdl/i_video.cpp,
S_InitMusicVolume is called to unmute music when the
window is refocused. Because I_StartupGraphics is called
before those cvars are added and it is an error to try to
set a cvar before it is added.
2024-09-07 15:21:17 -04:00
Oni
8012a21070 Merge branch 'alt-music' into 'master'
Alt Music

See merge request KartKrew/Kart!915
2024-09-07 13:57:13 -04:00
NepDisk
a12f67cbbf Streamer Safe music cvar 2024-09-07 01:39:59 -04:00
Eidolon
957a051692 Add 'contentidunsafe' property to MUSICDEF
This allows marking music in MUSICDEF as unsafe for Content ID and
other similar content surveillance mechanisms.
2024-09-07 00:45:24 -04:00
toaster
16aa826eb4 S_FindMusicDef: Handle NULL/empty string explicitly 2024-09-07 00:41:36 -04:00
Oni
f6edce1f88 Merge branch 'multi-musicdef' into 'master'
Multi Musicdef

See merge request KartKrew/Kart!1084
2024-09-07 00:41:27 -04:00
toaster
4f6ebff439 musicdef_t: Add hash field
Slight optimisation for S_FindMusicDef, but will net us some big wins with our next feature.
2024-09-07 00:17:09 -04:00
James R
a4b073a76b Merge branch 'tunes-show-credit' into 'master'
Print musicdef along with tunes -show

See merge request KartKrew/Kart!854
2024-09-07 00:15:48 -04:00
Sal
dc84a294cb Merge branch 'find-musicdef' into 'master'
Add S_FindMusicDef, function to find musicdef by name

See merge request KartKrew/Kart!860
2024-09-07 00:14:58 -04:00
Oni
110c9e2dc7 Merge branch 'musicdef-update' into 'master'
First Musicdef changes in preparation for music test

See merge request KartKrew/Kart!812
2024-09-07 00:14:41 -04:00
Zwip-Zwap Zapony
9090568eab Interpolate captions 2024-09-05 19:57:55 -04:00
James R
35416cf4d0 Let S_StopSound, S_StopSoundByID, S_StopSoundByNum stop multiple sounds
Previously stopped only one, probably the first that
started playing.
2024-07-31 03:26:21 -04:00
Sal
a4d475dc4c Merge branch 'hostcode' into 'master'
HOSTCODE initial pass

Closes #240

See merge request KartKrew/Kart!615
2024-07-31 03:01:45 -04:00
Sal
1d8475a958 Merge branch 'hooklib-port' into 'master'
Hooklib refactor ported and (mostly) squashed

See merge request KartKrew/Kart!662
2024-07-31 02:30:20 -04:00
NepDisk
9b307973ef Assorted stuff
Things include brining back kstart music, removing position etc
2024-07-30 00:13:53 -04:00
James R
7e9dcffdf7 Do not play invalid sfx 2022-06-07 20:54:10 -07:00
toaster
2b2ba53e93 Minor refactor: Handle *sep entirely within S_AdjustSoundParams, instead of having a component partly outside. 2022-04-18 17:13:27 +01:00
toaster
dfbff49a52 Delete accidentially-committed whitespace 2022-04-17 23:50:43 +01:00