| MCS' Coding Tips
Cleaning up your project directory
Written by MCS
Tested by myself
Tips - "Success"!
Original Wolf 3D
|When you install the original ID source code package, you'll end up with 105 files and 2 subdirectories in your source directory.
A lot of those files aren't needed at all and are just a waste of drive space (I know that isn't really an issue with the large volumes these days, but I like my project directories to be as clean as possible :-)
The following table shows which files are necessary for your project. You can safely delete any file in your source directory not listed here. Mind you, the subdirectory OBJ is necessary and has to stay intact.
When you're dealing with a Spear of Destiny project, you should keep the SOD files instead of the WL6 ones (e.g. MAPSWL6.H should read MAPSSOD.H). In that case, also keep the file F_SPEAR.H.
If you're too lazy to sort it all out, you might want to download this zipfile. It contains only the files mentioned above. Using the method described in the "Borland setup" tutorial, you will keep things as compact as possible.
CAUTION: If you installed your project files in the Borland program directory (strongly discouraged!) you should be extremely careful not to delete any essential program files!! It's highly recommended to spend some time to set up things in a decent way. It really pays!
NOTE: You can also leave out the files C0.ASM, WOLFHACK.C and WHACK_A.ASM, provided you remove them from your project file as well. Please refer to the "Abnormal Program Termination" tutorial for more information.