… | |
… | |
161 | init_clocks (); |
161 | init_clocks (); |
162 | init_experience (); |
162 | init_experience (); |
163 | } |
163 | } |
164 | |
164 | |
165 | |
165 | |
166 | /* init_environ initializes values from the environmental variables. |
166 | /* init_environ initialises values from the environmental variables. |
167 | * it needs to be called very early, since command line options should |
167 | * it needs to be called very early, since command line options should |
168 | * overwrite these if specified. |
168 | * overwrite these if specified. |
169 | */ |
169 | */ |
170 | void |
170 | void |
171 | init_environ (void) |
171 | init_environ (void) |
… | |
… | |
269 | fprintf (fp, "%lu", todtick); |
269 | fprintf (fp, "%lu", todtick); |
270 | fclose (fp); |
270 | fclose (fp); |
271 | } |
271 | } |
272 | |
272 | |
273 | /* |
273 | /* |
274 | * Initializes the gametime and TOD counters |
274 | * initialises the gametime and TOD counters |
275 | * Called by init_library(). |
275 | * Called by init_library(). |
276 | */ |
276 | */ |
277 | |
277 | |
278 | void |
278 | void |
279 | init_clocks (void) |
279 | init_clocks (void) |
… | |
… | |
300 | LOG (llevDebug, "todtick=%lu\n", todtick); |
300 | LOG (llevDebug, "todtick=%lu\n", todtick); |
301 | fclose (fp); |
301 | fclose (fp); |
302 | } |
302 | } |
303 | |
303 | |
304 | /* |
304 | /* |
305 | * Initializes the attack messages. |
305 | * initialises the attack messages. |
306 | * Called by init_library(). |
306 | * Called by init_library(). |
307 | */ |
307 | */ |
308 | |
308 | |
309 | //attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS]; |
309 | //attackmess_t attack_mess[NROFATTACKMESS][MAXATTACKMESS]; |
310 | |
310 | |