-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
010ed2e
commit d44efad
Showing
7 changed files
with
131 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#define COMSIG_GUN_FIRE "gun_fire" | ||
#define COMSIG_GUN_STOP_FIRE "gun_stop_fire" | ||
#define COMSIG_GUN_FIRE_MODE_TOGGLE "gun_fire_mode_toggle" | ||
#define COMSIG_GUN_AUTOFIREDELAY_MODIFIED "gun_autofiredelay_modified" | ||
#define COMSIG_GUN_BURST_SHOTS_TO_FIRE_MODIFIED "gun_burst_shots_to_fire_modified" | ||
#define COMSIG_GUN_BURST_SHOT_DELAY_MODIFIED "gun_burst_shot_delay_modified" | ||
|
||
#define COMSIG_GUN_VULTURE_FIRED_ONEHAND "gun_vulture_fired_onehand" | ||
#define COMSIG_VULTURE_SCOPE_MOVED "vulture_scope_moved" | ||
#define COMSIG_VULTURE_SCOPE_SCOPED "vulture_scope_scoped" | ||
#define COMSIG_VULTURE_SCOPE_UNSCOPED "vulture_scope_unscoped" | ||
|
||
/// from /obj/item/weapon/gun/proc/recalculate_attachment_bonuses() : () | ||
#define COMSIG_GUN_RECALCULATE_ATTACHMENT_BONUSES "gun_recalculate_attachment_bonuses" | ||
|
||
/// from /obj/item/weapon/gun/proc/load_into_chamber() : () | ||
#define COMSIG_GUN_INTERRUPT_FIRE "gun_interrupt_fire" | ||
|
||
//Signals for automatic fire at component | ||
#define COMSIG_AUTOMATIC_SHOOTER_START_SHOOTING_AT "start_shooting_at" | ||
#define COMSIG_AUTOMATIC_SHOOTER_STOP_SHOOTING_AT "stop_shooting_at" | ||
#define COMSIG_AUTOMATIC_SHOOTER_SHOOT "shoot" | ||
|
||
//Signals for gun auto fire component | ||
#define COMSIG_GET_BURST_FIRE "get_burst_fire" | ||
#define BURST_FIRING (1<<0) | ||
|
||
/// Called before a gun fires a projectile, note NOT point blanks, /obj/item/weapon/gun/proc/handle_fire() | ||
#define COMSIG_GUN_BEFORE_FIRE "gun_before_fire" | ||
#define COMPONENT_CANCEL_GUN_BEFORE_FIRE (1<<0) //continue full-auto/burst attempts | ||
#define COMPONENT_HARD_CANCEL_GUN_BEFORE_FIRE (1<<1) //hard stop firing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.