From 6a32f2ab21eac3093544b7ecfca1bebf9075d072 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:22:19 +0300 Subject: [PATCH] defines --- modular_ss220/text_to_speech/code/_defines.dm | 3 +++ modular_ss220/text_to_speech/code/~undefs/~undefs.dm | 2 ++ 2 files changed, 5 insertions(+) diff --git a/modular_ss220/text_to_speech/code/_defines.dm b/modular_ss220/text_to_speech/code/_defines.dm index 1e46ef58ef60..3ea651de7da4 100644 --- a/modular_ss220/text_to_speech/code/_defines.dm +++ b/modular_ss220/text_to_speech/code/_defines.dm @@ -89,3 +89,6 @@ #define COMSIG_ATOM_TTS_TRAIT_ADD "atom_tts_trait_add" //from base of atom/tts_trait_remove(): (atom/user, trait) #define COMSIG_ATOM_TTS_TRAIT_REMOVE "atom_tts_trait_remove" +//from base of atom/cast_tts(): (mob/listener, message, atom/location, is_local = TRUE, effect = SOUND_EFFECT_NONE, traits = TTS_TRAIT_RATE_FASTER, preSFX, postSFX) +#define COMSIG_ATOM_PRE_TTS_CAST "atom_pre_tts_cast" + #define COMPONENT_TTS_INTERRUPT (1<<0) diff --git a/modular_ss220/text_to_speech/code/~undefs/~undefs.dm b/modular_ss220/text_to_speech/code/~undefs/~undefs.dm index c09e423220c4..23d9103a46fd 100644 --- a/modular_ss220/text_to_speech/code/~undefs/~undefs.dm +++ b/modular_ss220/text_to_speech/code/~undefs/~undefs.dm @@ -41,5 +41,7 @@ #undef COMSIG_ATOM_TTS_SEED_CHANGE #undef COMSIG_ATOM_TTS_CAST +#undef COMSIG_ATOM_PRE_TTS_CAST + #undef COMPONENT_TTS_INTERRUPT #undef COMSIG_ATOM_TTS_TRAIT_ADD #undef COMSIG_ATOM_TTS_TRAIT_REMOVE