Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | 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. //      System specific interface stuff.
  21. //
  22. //-----------------------------------------------------------------------------
  23.  
  24.  
  25. #ifndef __D_MAIN__
  26. #define __D_MAIN__
  27.  
  28. #include "d_event.h"
  29.  
  30. #ifdef __GNUG__
  31. #pragma interface
  32. #endif
  33.  
  34.  
  35.  
  36. #define MAXWADFILES             20
  37. extern char*            wadfiles[MAXWADFILES];
  38.  
  39. void D_AddFile (char *file);
  40.  
  41.  
  42.  
  43. //
  44. // D_DoomMain()
  45. // Not a globally visible function, just included for source reference,
  46. // calls all startup code, parses command line options.
  47. // If not overrided by user input, calls N_AdvanceDemo.
  48. //
  49. void D_DoomMain (void);
  50.  
  51. // Called by IO functions when input is detected.
  52. void D_PostEvent (event_t* ev);
  53.  
  54.        
  55.  
  56. //
  57. // BASE LEVEL
  58. //
  59. void D_PageTicker (void);
  60. void D_PageDrawer (void);
  61. void D_AdvanceDemo (void);
  62. void D_StartTitle (void);
  63.  
  64. #endif
  65.