[Package Index | Mudlib Index | Effect Index]

File /obj/handlers/soul_compiler.c

This compiles the soul files into a non human readable format. The format is far more useful to the soul though :)

Includes

This class includes the following files /include/soul.h and /include/user_parser.h

Method index

Public Functions

These are functions that everyone can access.

compile_directory
void compile_directory(string fname)

Compiles up a directory full of files.

Parameters:
fname - the directory name to compile

See also:
compile_file()


compile_file
int compile_file(string fname)

Compiles up the file into the useful soul format. It also tells the soul about it.

See the soul data files in /save/new_soul for details of the format for the soul files. The file has to come from the soul save directory or the call will not work.

Parameters:
fname - the name of the file to compile