Andrew Stitt
2004 the Source Mage Team
Delve is a tool for running individual spell files during the build and install phase. This can be used as a debugging tool or to "force" a spell to be installed. Use with caution and keep your hands off if you dont know what you are doing.
Loads OPTS and all the other log files to provide the appropriate environment for spell files
a complaint if the step is not valid
Determines if a step is valid for the current spell if the BUILD_API number is not found in the parameter list complain and return 1
BUILD_API
fill in the states from begin to end from the given BUILD_API
fills in STATES, continue_start, continue_end, and FORCE as applicable
This is obviously the main function of delve, it loads the spell figures out what states to run and then loops through them.