diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-08 18:59:59 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-08 20:15:58 +0200 |
commit | 6ef98743b002c48fb3bf720fb07936e34926b313 (patch) | |
tree | b834dbbc9501533a29e612d9594c72e749105766 /src/types.h | |
parent | 4275c9d3e7a44080997fce9974d442ba4f9f4a54 (diff) |
Lua: Move "Meta" spell functions to C
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 6 |
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 */ }; /* |