summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-12-06 14:15:43 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-12-06 14:15:49 -0800
commit3eea219548e84efdbc3148ce378fcba865f97a01 (patch)
tree6ece594f60ddff038cf9c1d94b99d8d66a00bc20 /src/map/magic-interpreter.hpp
parent1458563f00deebbbcf3e8049dc90157fb825fae3 (diff)
downloadtmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.gz
tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.bz2
tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.xz
tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.zip
Add basic source formatting tools
Diffstat (limited to 'src/map/magic-interpreter.hpp')
-rw-r--r--src/map/magic-interpreter.hpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/map/magic-interpreter.hpp b/src/map/magic-interpreter.hpp
index a0abe7a..8afb8af 100644
--- a/src/map/magic-interpreter.hpp
+++ b/src/map/magic-interpreter.hpp
@@ -1,17 +1,17 @@
#ifndef MAGIC_INTERPRETER_HPP
#define MAGIC_INTERPRETER_HPP
-#include "magic-interpreter.t.hpp"
+# include "magic-interpreter.t.hpp"
-#include <cassert>
+# include <cassert>
-#include "../strings/fwd.hpp"
-#include "../strings/fstring.hpp"
+# include "../strings/fwd.hpp"
+# include "../strings/fstring.hpp"
-#include "magic.hpp"
-#include "map.hpp"
-#include "script.hpp"
-#include "skill.t.hpp"
+# include "magic.hpp"
+# include "map.hpp"
+# include "script.hpp"
+# include "skill.t.hpp"
struct fun_t;
struct op_t;
@@ -82,7 +82,7 @@ struct val_t
/* Expressions */
/* ----------- */
-#define MAX_ARGS 7 /* Max. # of args used in builtin primitive functions */
+# define MAX_ARGS 7 /* Max. # of args used in builtin primitive functions */
struct e_location_t
{
@@ -288,15 +288,15 @@ struct magic_conf_t
/* Execution environment */
// these are not an enum they're a nasty intern hack
-#define VAR_MIN_CASTTIME 0
-#define VAR_OBSCURE_CHANCE 1
-#define VAR_CASTER 2
-#define VAR_SPELLPOWER 3
-#define VAR_SPELL 4
-#define VAR_INVOCATION 5
-#define VAR_TARGET 6
-#define VAR_SCRIPTTARGET 7
-#define VAR_LOCATION 8
+# define VAR_MIN_CASTTIME 0
+# define VAR_OBSCURE_CHANCE 1
+# define VAR_CASTER 2
+# define VAR_SPELLPOWER 3
+# define VAR_SPELL 4
+# define VAR_INVOCATION 5
+# define VAR_TARGET 6
+# define VAR_SCRIPTTARGET 7
+# define VAR_LOCATION 8
struct magic_config;
@@ -316,7 +316,7 @@ struct env_t
};
-#define MAX_STACK_SIZE 32
+# define MAX_STACK_SIZE 32
struct cont_activation_record_t
{