mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-26 10:04:12 +00:00
[MIRROR] Instrument Update (#11645)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
19b8044f61
commit
d8408a2c59
@@ -2,5 +2,8 @@
|
||||
// When the signal is called: (signal arguments)
|
||||
// All signals send the source datum of the signal as the first argument
|
||||
|
||||
///when an atom starts playing a song datum (datum/song)
|
||||
#define COMSIG_ATOM_STARTING_INSTRUMENT "atom_starting_instrument"
|
||||
|
||||
///When the transform or an atom is varedited through vv topic.
|
||||
#define COMSIG_ATOM_VV_MODIFY_TRANSFORM "atom_vv_modify_transform"
|
||||
|
||||
12
code/__defines/dcs/signals/signals_music.dm
Normal file
12
code/__defines/dcs/signals/signals_music.dm
Normal file
@@ -0,0 +1,12 @@
|
||||
// /datum/song signals
|
||||
|
||||
///sent to the instrument when a song starts playing: (datum/starting_song, atom/player)
|
||||
#define COMSIG_INSTRUMENT_START "instrument_start"
|
||||
///sent to the instrument when a song stops playing
|
||||
#define COMSIG_INSTRUMENT_END "instrument_end"
|
||||
///sent to the instrument on /should_stop_playing(): (atom/player). Return values can be found in DEFINES/song.dm
|
||||
#define COMSIG_INSTRUMENT_SHOULD_STOP_PLAYING "instrument_should_stop_playing"
|
||||
///sent to the instrument (and player if available) when a song repeats (datum/song)
|
||||
#define COMSIG_INSTRUMENT_REPEAT "instrument_repeat"
|
||||
///sent to the instrument when tempo changes, skipped on new. (datum/song)
|
||||
#define COMSIG_INSTRUMENT_TEMPO_CHANGE "instrument_tempo_change"
|
||||
Reference in New Issue
Block a user