// P_MISC.C #include #include #include #include #include #include "d_global.h" #include "d_ints.h" #include "d_video.h" #include "d_misc.h" int my_argc; char ** my_argv; /* ============================================================================= ODD FUNCTIONS ============================================================================= */ /* ================= = = MS_CheckParm = = Checks for the given parameter in the program's command line arguments = = Returns the argument number (1 to argc-1) or 0 if not present = ================= */ int MS_CheckParm (char *check) { int i; char *parm; for (i = 1;i