toaster
e67fea3b84
s_sound.c - Add exceptions for demo.rewinding and demo.title to all new music setter functions introduced with 2.2 merge
2023-02-04 17:11:46 +00:00
toaster
57b22f32d5
M_PlayMenuJam
...
Pre-emptive work for more complicated menu music behaviour, permitting consistent implementation of the cycling music.
2023-02-01 22:12:41 +00:00
toaster
b6be0ef6e8
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into music-debug
...
# Conflicts:
# src/audio/xmp.cpp
# src/audio/xmp_player.cpp
# src/sdl/new_sound.cpp
2023-01-22 15:20:14 +00:00
Oni
90274359db
Merge branch 'magician-spectator' into 'master'
...
Heavy Magician adjustment
See merge request KartKrew/Kart!876
2023-01-22 01:59:48 +00:00
toaster
0606fb50ba
S_StartSoundAtVolume, K_PlayPainSound, K_PlayHitEmSound: Use user skin for sounds instead of mobj skin
...
So we'll always hear the clips we pick for Heavy Magician
2023-01-21 12:58:06 +00:00
James R
da60f6ac1d
Fix playsoundsifunfocused callback
...
Just a minor bug. If playsoundsifunfocused was changed
from "Yes" to "Yes" while the window is unfocused, then
sounds would stop briefly.
2023-01-12 19:00:13 -08:00
James R
4e51ad6c78
Add devmode music
...
Song: <NOTHING>
Song: DEMOZ
Format: OGG
Volume: 50/100
Loop A: 00:00.65
Loop B: 01:06.00
Elapsed: 01:09.00
2023-01-12 03:29:43 -08:00
James R
49c5c785bf
Remove musictype_t, S_MusicType and I_SongType return implementation string
...
Lua API change: S_MusicType now returns string instead of number
2023-01-12 02:50:02 -08:00
James R
eb8d03f479
Do not disable and reenable sounds entirely when window focus changes
...
Sounds are not started if the window is unfocused,
regardless of sound_disabled.
Fixes -nosound not working (sounds would always be
reenabled if window comes into focus).
2023-01-11 18:22:06 -08:00
toaster
2fdf5de545
SetChannelsNum: Remove now-unused iterator variable
2023-01-06 11:58:42 +00:00
toaster
3e9231f658
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into drmemory-cleanup
2023-01-06 11:53:58 +00:00
toaster
59d8c540d1
SetChannelsNum: Callocate sound channels, don't mallocate them
2023-01-05 22:14:31 +00:00
James R
24e7e4231d
Print musicdef along with tunes -show
2023-01-04 23:38:59 -08:00
James R
0bf821447e
Add S_FindMusicDef, function to find musicdef by name
...
Use this function wherever the musicdef list is walked.
2023-01-04 23:34:45 -08:00
toaster
17dd15b998
"Special Mode" (Sealed Stars) and "Versus Mode" (bosses) are now gametypes
...
* The existing structs are now exclusively for handling extra data.
* `specialStage` has been renamed to `specialstageinfo`, to reflect that it is not the sole arbiter.
* `specialstageinfo.valid` and `bossinfo.valid` are what must be checked before grabbing data from either struct.
* These are turned on when the gametype extra data is successfully initialised, not on map start.
* `K_InitBossHealthBar(...)` for `bossinfo.valid`
* `K_InitSpecialStage(void)` for `specialstageinfo.valid`
* `K_CanChangeRules(...)` no longer checks these
* No longer uses duplicate encore information.
* The map command (and -warp) now guesses gametype using a general `G_GuessGametypeByTOL(UINT32)` function
* Grabs the first gametype with an overlap between the requested TOL and the gametype's TOL.
* The cool Versus-specific intro is now checked via `K_CheckBossIntro()`.
2022-12-26 23:06:24 +00:00
toaster
ac423b3461
Further changes to musicdef based on discussion with Gunla
...
- Add "author" and "originalcomposers" fields
- "author" is for remixes and original compositions, can be ommitted
- "originalcomposers" will not be visible mid-game, but will be visible in music test. Stores original sound team info
- Store all strings as Zone memory instead of static arrays, since not every field will be relevant for every track
2022-12-17 17:36:44 +00:00
toaster
81fec17bb4
First Musicdef changes in preparation for music test
...
- Add `title` field, to permit seperation from `source`
- Store current displayed string as zone memory, to prevent repeated recalculation
2022-12-17 16:39:10 +00:00
James R
479f9e4d57
S_ReducedVFXSoundAtVolume: use player_t*
2022-11-27 17:27:22 -08:00
Sally Coolatta
e331910fe3
Reduce VFX toggle
...
Can be used to disable VFX, so it can only appear if its owner is a display player. If no owner is provided, then it will be removed entirely.
Applied to most things that Ivo asked for
2022-11-26 20:12:00 -05:00
toaster
ff629a4c78
Merge branch 'kill-nonet' into 'master'
...
Kill last of NONET, DJGPP (DOS), WATTCP (also DOS?), _WINDOWS (DirectDraw)
See merge request KartKrew/Kart!704
2022-09-26 17:02:55 +00:00
Sal
8850432c79
Merge branch 'big-large-map-markers' into 'master'
...
Long map markers
See merge request KartKrew/Kart!327
2022-09-25 17:02:13 +00:00
James R
d970c9198b
Let S_StopSound, S_StopSoundByID, S_StopSoundByNum stop multiple sounds
...
Previously stopped only one, probably the first that
started playing.
2022-09-25 04:39:42 -07:00
James R
89abbd33b4
Kill last of DJGPP, WATTCP, _WINDOWS (ol' DirectDraw)
2022-09-24 19:43:44 -07:00
toaster
1a284ec7c6
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers
...
# Conflicts:
# src/d_netcmd.c
2022-09-17 13:57:26 +01:00
VelocitOni
8a5707ad83
Merge branch 'master' into hostcode
2022-09-13 17:08:15 -04:00
Sal
94d7c497b0
Merge branch 'hooklib-port' into 'master'
...
Hooklib refactor ported and (mostly) squashed
See merge request KartKrew/Kart!662
2022-09-11 06:30:07 +00:00
Sally Coolatta
2fddc9f343
Merge branch 'master' into big-large-map-markers
2022-09-10 16:01:02 -04:00
James R
37c3a55dda
Fix conflicts 522467a88
2022-09-05 11:56:30 -07:00
Sally Coolatta
107622968e
Merge branch 'master' into new-menus
2022-08-27 22:36:58 -04:00
toaster
37f8b0e717
NUMSFX > sfxfree for PlaySound
2022-08-24 22:28:02 +01:00
Sally Coolatta
f571e559d4
Playsound command
...
For scripted global sound cues for the entire server.
2022-08-24 21:02:37 +01:00
James R
7e9dcffdf7
Do not play invalid sfx
2022-06-07 20:54:10 -07:00
toaster
9de7f2393b
Turning music back on while on the menu turns the menu music on, not the title music.
2022-05-25 20:13:14 +01: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
toaster
440203ff89
Resolve #233 - Sounds with non-NULL sources now work when two or more players are near the sound origin.
2022-04-17 23:22:48 +01:00
toaster
bf6b9c6fed
Remove music slot compatibility
...
# Conflicts:
# src/deh_lua.c
# src/lua_baselib.c
2022-03-18 13:54:03 +00:00
toaster
c1f3237157
Boss API + assorted relevant bugfixes, will go over the featureset of this branch with a fine toothed comb when it's time to write the merge request description so this is all you're getting right now
2022-02-24 21:19:03 +00:00
James R
9095261a18
POSITION music
...
Play SA2 "shwing" at title card; play POSITION music once
camera is steady (instantly in 1v1).
Encore: play portal warp sound instead of "shwing"; play
portal drone instead of POSITION music, always start
instantly.
2022-02-15 15:51:47 -08:00
James R
f749424de7
Turn kstart into sfx
2022-02-14 15:04:30 -08:00
Sally Coolatta
fcc5c8e0c4
Interpolate music credits
2021-12-25 04:57:35 -05:00
James R
170d0a2fb9
Toaster suggestions for e82bba18
2021-11-25 13:43:17 -08:00
James R
e82bba18f6
Use volume field of sound, access with SOC/lua
...
Volumes may be defined on a 0-100 scale, but any number is
accepted.
If the volume is negative then the sound will play at
normal volume (therefore the info table won't need to be
modified.)
2021-11-08 18:50:19 -08:00
toaster
303df77b68
Unassigned variable fix (probably going to rip out the closed caption system out of Kart at some point, but this is good for now).
2021-10-17 22:11:30 +01:00
Sryder
710abf6820
Fix sound crash, let a sound be played for multiple players again too.
...
S_getChannel now doesn't do any alterations to the channel, it *only* returns the number of the free channel.
2021-04-27 21:27:42 +01:00
Sally Coolatta
0f14f0cec1
Only check for listenmobj for the splitscreen players
...
Steel's comment is what hinted me to compare the code again -- P1 was the only one who didn't care about their listenmobj existing first.
2021-04-26 04:09:23 -04:00
Sally Coolatta
8958ebd293
Sound refactor
...
- Fix splitscreen volume being too low after james volume fix
- Use loops instead of horrid code duplication
Unfortunately seems to break sounds in menus and I dunno what to look at 😔
2021-04-23 17:38:38 -04:00
Sally Coolatta
de1f67b72a
Use strings in the map header for next level, marathon next, thumbnails, minimaps, encoremaps, and tweakmaps
2021-04-09 21:10:46 -04:00
Sally Coolatta
359cf86efb
Merge branch 'master' into big-large-map-markers
2021-04-09 19:49:33 -04:00
Sally Coolatta
9d7ec0ab8f
Merge SRB2 next
...
Probably doesn't compile yet, but I got rid of all of the conflicts for anyone who wants to take a stab at it.
2021-02-27 05:18:36 -05:00