f_wipe.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. #ifndef __F_WIPE_H__
  22. #define __F_WIPE_H__
  23. //
  24. // SCREEN WIPE PACKAGE
  25. //
  26. enum
  27. {
  28. // simple gradual pixel change for 8-bit only
  29. wipe_ColorXForm,
  30. // weird screen melt
  31. wipe_Melt,
  32. wipe_NUMWIPES
  33. };
  34. int
  35. wipe_StartScreen
  36. ( int x,
  37. int y,
  38. int width,
  39. int height );
  40. int
  41. wipe_EndScreen
  42. ( int x,
  43. int y,
  44. int width,
  45. int height );
  46. int
  47. wipe_ScreenWipe
  48. ( int wipeno,
  49. int x,
  50. int y,
  51. int width,
  52. int height,
  53. int ticks );
  54. #endif
  55. //-----------------------------------------------------------------------------
  56. //
  57. // $Log:$
  58. //
  59. //-----------------------------------------------------------------------------