… | |
… | |
131 | "Turning", |
131 | "Turning", |
132 | "Wounding", |
132 | "Wounding", |
133 | "Death", |
133 | "Death", |
134 | "Light" |
134 | "Light" |
135 | }; |
135 | }; |
136 | |
|
|
137 | /* |
|
|
138 | * It is vital that init_library() is called by any functions |
|
|
139 | * using this library. |
|
|
140 | * If you want to lessen the size of the program using the library, |
|
|
141 | * you can replace the call to init_library() with init_globals() and |
|
|
142 | * init_function_pointers(). Good idea to also call init_vars and |
|
|
143 | * init_hash_table if you are doing any object loading. |
|
|
144 | */ |
|
|
145 | void |
|
|
146 | init_library (void) |
|
|
147 | { |
|
|
148 | init_globals (); |
|
|
149 | init_block (); |
|
|
150 | init_dynamic (); |
|
|
151 | init_attackmess (); |
|
|
152 | init_experience (); |
|
|
153 | } |
|
|
154 | |
136 | |
155 | /* init_environ initialises values from the environmental variables. |
137 | /* init_environ initialises values from the environmental variables. |
156 | * it needs to be called very early, since command line options should |
138 | * it needs to be called very early, since command line options should |
157 | * overwrite these if specified. |
139 | * overwrite these if specified. |
158 | */ |
140 | */ |