m_argv.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Emacs style mode select -*- C++ -*-
  2. //-----------------------------------------------------------------------------
  3. //
  4. // $Id:$
  5. //
  6. // Copyright (C) 1993-1996 by id Software, Inc.
  7. //
  8. // This source is available for distribution and/or modification
  9. // only under the terms of the DOOM Source Code License as
  10. // published by id Software. All rights reserved.
  11. //
  12. // The source is distributed in the hope that it will be useful,
  13. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
  15. // for more details.
  16. //
  17. // DESCRIPTION:
  18. // Nil.
  19. //
  20. //-----------------------------------------------------------------------------
  21. #ifndef __M_ARGV__
  22. #define __M_ARGV__
  23. //
  24. // MISC
  25. //
  26. extern int myargc;
  27. extern char** myargv;
  28. // Returns the position of the given parameter
  29. // in the arg list (0 if not found).
  30. int M_CheckParm (char* check);
  31. #endif
  32. //-----------------------------------------------------------------------------
  33. //
  34. // $Log:$
  35. //
  36. //-----------------------------------------------------------------------------