From c8a270e51dc22f39ed048ab1cc609e6e456df58f Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sun, 7 Jun 2015 17:49:09 +0200 Subject: Split types.h into separate header for each type --- src/tactic_info_type.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/tactic_info_type.hpp (limited to 'src/tactic_info_type.hpp') diff --git a/src/tactic_info_type.hpp b/src/tactic_info_type.hpp new file mode 100644 index 00000000..da94767d --- /dev/null +++ b/src/tactic_info_type.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "h-basic.h" + +/** + * Tactics descriptor. + */ +struct tactic_info_type +{ + s16b to_hit; + s16b to_dam; + s16b to_ac; + s16b to_stealth; + s16b to_disarm; + s16b to_saving; + cptr name; +}; -- cgit v1.2.3 From 7d918f0df60e38c2c069976e4f82b790b770b894 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 8 Oct 2016 11:38:29 +0200 Subject: Remove unused tactic_info_type.to_disarm field --- src/tactic_info_type.hpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/tactic_info_type.hpp') diff --git a/src/tactic_info_type.hpp b/src/tactic_info_type.hpp index da94767d..4cb330f4 100644 --- a/src/tactic_info_type.hpp +++ b/src/tactic_info_type.hpp @@ -11,7 +11,6 @@ struct tactic_info_type s16b to_dam; s16b to_ac; s16b to_stealth; - s16b to_disarm; s16b to_saving; cptr name; }; -- cgit v1.2.3