home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2000 January / LCD_01_2000.iso / games / doom / pmdoom / include / f_wipe.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-17  |  1.8 KB  |  77 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. /*  DESCRIPTION: */
  18. /*     Mission start screen wipe/melt, special effects. */
  19. /*      */
  20. /* ----------------------------------------------------------------------------- */
  21.  
  22.  
  23. #ifndef __F_WIPE_H__
  24. #define __F_WIPE_H__
  25.  
  26. /*  */
  27. /*                        SCREEN WIPE PACKAGE */
  28. /*  */
  29.  
  30. enum
  31. {
  32.     /*  simple gradual pixel change for 8-bit only */
  33.     wipe_ColorXForm,
  34.     
  35.     /*  weird screen melt */
  36.     wipe_Melt,    
  37.  
  38.     wipe_NUMWIPES
  39. };
  40.  
  41. int
  42. wipe_StartScreen
  43. ( int        x,
  44.   int        y,
  45.   int        width,
  46.   int        height );
  47.  
  48.  
  49. int
  50. wipe_EndScreen
  51. ( int        x,
  52.   int        y,
  53.   int        width,
  54.   int        height );
  55.  
  56.  
  57. int
  58. wipe_ScreenWipe
  59. ( int        wipeno,
  60.   int        x,
  61.   int        y,
  62.   int        width,
  63.   int        height,
  64.   int        ticks );
  65.  
  66. int wipe_doMelt8 (int width,int height,int ticks);
  67. int wipe_doMelt16 (int width,int height,int ticks);
  68. int wipe_doMelt24 (int width,int height,int ticks);
  69. int wipe_doMelt32 (int width,int height,int ticks);
  70.  
  71. #endif
  72. /* ----------------------------------------------------------------------------- */
  73. /*  */
  74. /*  $Log:$ */
  75. /*  */
  76. /* ----------------------------------------------------------------------------- */
  77.