home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2000 January / LCD_01_2000.iso / games / doom / pmdoom / src / i_main.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-17  |  1.4 KB  |  60 lines

  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. #ifdef ATARI
  25. #include <osbind.h>
  26. #endif
  27.  
  28. #include "doomdef.h"
  29.  
  30. #include "m_argv.h"
  31. #include "d_main.h"
  32. #include "i_version.h"
  33.  
  34. int
  35. main
  36. ( int        argc,
  37.   char**    argv ) 
  38. {
  39. #ifdef ATARI
  40.     char InverseVideoOn[]={27,'H',27,'E',27,'p',0};
  41.     char InverseVideoOff[]={27,'q',0}; 
  42. #endif
  43.  
  44.     myargc = argc; 
  45.     myargv = argv; 
  46.  
  47. #ifdef ATARI
  48.     Cconws(InverseVideoOn);
  49. #endif
  50.     printf(version_name);
  51. #ifdef ATARI
  52.     Cconws(InverseVideoOff);
  53. #endif
  54.     printf("\nbased on Linuxxdoom-1.10\n");
  55.  
  56.     D_DoomMain (); 
  57.  
  58.     return 0;
  59.