m_misc.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. //
  19. //
  20. //-----------------------------------------------------------------------------
  21. #ifndef __M_MISC__
  22. #define __M_MISC__
  23. #include "doomtype.h"
  24. //
  25. // MISC
  26. //
  27. boolean
  28. M_WriteFile
  29. ( char const* name,
  30. void* source,
  31. int length );
  32. int
  33. M_ReadFile
  34. ( char const* name,
  35. byte** buffer );
  36. void M_ScreenShot (void);
  37. void M_LoadDefaults (void);
  38. void M_SaveDefaults (void);
  39. int
  40. M_DrawText
  41. ( int x,
  42. int y,
  43. boolean direct,
  44. char* string );
  45. #endif
  46. //-----------------------------------------------------------------------------
  47. //
  48. // $Log:$
  49. //
  50. //-----------------------------------------------------------------------------