diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-03-26 17:10:10 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-09-27 14:46:42 +0200 |
commit | cbef37bd5bfb938a2303ee3887520c08be85d8e8 (patch) | |
tree | b604e49323e46af4ea582f9a9e1977b3daa90611 /src/script.cc | |
parent | b9f824effb037a53556e02955cace6c09ff646c3 (diff) |
Switch almost everything over to C++
Diffstat (limited to 'src/script.cc')
-rw-r--r-- | src/script.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/script.cc b/src/script.cc new file mode 100644 index 00000000..a9407352 --- /dev/null +++ b/src/script.cc @@ -0,0 +1,29 @@ +/* File: script.c */ + +/* Purpose: scripting in lua */ + +/* + * Copyright (c) 2001 Dark God + * + * This software may be copied and distributed for educational, research, and + * not for profit purposes provided that this copyright and statement are + * included in all such copies. + */ + +#include "angband.h" +#include "q_library.h" + + +void init_lua_init() +{ + /* Initialize schooled spells */ + schools_init(); + school_spells_init(); + init_school_books(); + + /* Post-spell creation initialization */ + initialize_bookable_spells(); + + /* Finish up the corruptions */ + init_corruptions(); +} |