Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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. // $Log:$
  18. //
  19. // DESCRIPTION:
  20. //      Main program, simply calls D_DoomMain high level loop.
  21. //
  22. //-----------------------------------------------------------------------------
  23.  
  24. static const char
  25. rcsid[] = "$Id: i_main.c,v 1.4 1997/02/03 22:45:10 b1 Exp $";
  26.  
  27.  
  28. //#include "SDL.h"
  29.  
  30. #include "doomdef.h"
  31.  
  32. #include "m_argv.h"
  33. #include "d_main.h"
  34.  
  35. int
  36. main( int       argc, char** argv)
  37. {
  38.     static char * tmp[]=
  39.         {"/hd/1/menuetos/doom/mdoom",
  40.          NULL};
  41.     myargc = 1;
  42.     myargv = tmp;
  43.  
  44.  //   chdir("/hd/1/menuetos/doom");
  45.  
  46.     D_DoomMain ();
  47.  
  48.     return 0;
  49. }
  50.