Exemplo n.º 1
0
CALLSET_ENTRY (kickback, sw_light_kickback)
{
	if (!lamp_flash_test (LM_LIGHT_KICKBACK))
	{
		lamp_flash_off (LM_LIGHT_KICKBACK);
		kickback_enable ();
	}
}
Exemplo n.º 2
0
CALLSET_ENTRY (kickback, sw_right_standup)
{
	if (lamp_flash_test (LM_LITE_KICKBACK)) {
		lamp_flash_off(LM_LITE_KICKBACK);
		lamp_flash_off(LM_RIGHT_STANDUP_ARROW);
		sound_start (ST_SAMPLE, SND_BLASTER, SL_1S, PRI_GAME_QUICK3);
		kickback_enable ();
	} else {
		sound_start (ST_SAMPLE, SND_BOING, SL_1S, PRI_GAME_QUICK3);
	}
}