d_main.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. #ifndef __D_MAIN__
  24. #define __D_MAIN__
  25. #include "d_event.h"
  26. #ifdef __GNUG__
  27. #pragma interface
  28. #endif
  29. #define MAXWADFILES 20
  30. extern char* wadfiles[MAXWADFILES];
  31. void D_AddFile (char *file);
  32. //
  33. // D_DoomMain()
  34. // Not a globally visible function, just included for source reference,
  35. // calls all startup code, parses command line options.
  36. // If not overrided by user input, calls N_AdvanceDemo.
  37. //
  38. void D_DoomMain (void);
  39. // Called by IO functions when input is detected.
  40. void D_PostEvent (event_t* ev);
  41. //
  42. // BASE LEVEL
  43. //
  44. void D_PageTicker (void);
  45. void D_PageDrawer (void);
  46. void D_AdvanceDemo (void);
  47. void D_StartTitle (void);
  48. #endif