summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h
index ea66ff5f..8e06c4fd 100644
--- a/src/types.h
+++ b/src/types.h
@@ -1843,6 +1843,9 @@ struct player_type
/* Help */
help_info help;
+ /* Inertia control */
+ s32b inertia_controlled_spell;
+
/*** Temporary fields ***/
bool_ did_nothing; /* True if the last action wasnt a real action */
@@ -2487,7 +2490,8 @@ struct timer_type
s32b delay; /* Delay between activations */
s32b countdown; /* The current number of turns passed, when it reaches delay it fires */
- cptr callback; /* The lua function to call upon firing(no C callback yet .. maybe) */
+ cptr callback; /* The lua function to call upon firing (if any) */
+ void (*callback_c)(); /* The C function to call upon firing */
};
/*