diff options
Diffstat (limited to 'src/mame/pinball/genpin.h')
-rw-r--r-- | src/mame/pinball/genpin.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/mame/pinball/genpin.h b/src/mame/pinball/genpin.h new file mode 100644 index 00000000000..d75f0fdf8fb --- /dev/null +++ b/src/mame/pinball/genpin.h @@ -0,0 +1,50 @@ +// license:BSD-3-Clause +// copyright-holders:Robbbert +#ifndef MAME_PINBALL_GENPIN_H +#define MAME_PINBALL_GENPIN_H + +#pragma once + +#include "sound/samples.h" +#include "machine/nvram.h" + + +const char *const genpin_sample_names[] = +{ + "*genpin", + "bumper", + "chime1", + "chime2", + "chime3", + "chime4", + "hole", + "knocker", + "sling", + "coinin", + "outhole", + "kickback", + "drop_target_reset", + "coil_coinlockout_engage", + "coil_coinlockout_release", + "relay_engage", + "relay_release", + "solenoid_engage", + "solenoid_release", + nullptr /* end of array */ +}; + +class genpin_class : public driver_device +{ +public: + genpin_class(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + , m_samples(*this, "samples") + { } + + required_device<samples_device> m_samples; + + void genpin_audio(machine_config &config); +}; + + +#endif // MAME_PINBALL_GENPIN_H |