summaryrefslogtreecommitdiff
path: root/src/school_type.hpp
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2020-05-27 16:31:00 -0700
committerManoj Srivastava <srivasta@debian.org>2020-05-27 16:31:00 -0700
commitd7533e931cfb49a68dc8e6e3f524d49e364cef83 (patch)
tree06d31523b9647d3de8ce8888f6e83d24f046aa82 /src/school_type.hpp
parent4e9b9c402ed95bf9a17fd6d795bc49bb4128a6fa (diff)
New upstream version 2.41-ah~0.git.20200131
Diffstat (limited to 'src/school_type.hpp')
-rw-r--r--src/school_type.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/school_type.hpp b/src/school_type.hpp
index 7a5702b4..5386969d 100644
--- a/src/school_type.hpp
+++ b/src/school_type.hpp
@@ -1,21 +1,21 @@
#pragma once
-#include "h-basic.h"
+#include "h-basic.hpp"
#include "deity_type_fwd.hpp"
struct school_type
{
- cptr name; /* Name */
+ const char *name; /* Name */
s16b skill; /* Skill used for that school */
- bool_ spell_power; /* Does spell power affect spells in this school? */
- bool_ sorcery; /* Does Sorcery affect this school? */
+ bool spell_power; /* Does spell power affect spells in this school? */
+ bool sorcery; /* Does Sorcery affect this school? */
int deity_idx; /* Deity; if <=0, no deity required */
deity_type *deity; /* Direct pointer to deity */
int (*bonus_levels)(); /* Calculate number of bonus levels */
- bool_ (*depends_satisfied)(); /* Are dependendies satisfied? */
+ bool (*depends_satisfied)(); /* Are dependendies satisfied? */
struct school_provider_list *providers; /* List of secondary providers of this school */
};