COMPRESS.H 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. ** Command & Conquer Red Alert(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef VQMCOMP_H
  19. #define VQMCOMP_H
  20. /****************************************************************************
  21. *
  22. * C O N F I D E N T I A L -- W E S T W O O D S T U D I O S
  23. *
  24. *----------------------------------------------------------------------------
  25. *
  26. * FILE
  27. * compress.h
  28. *
  29. * DESCRIPTION
  30. * Compression definitions. (32-Bit protected mode)
  31. *
  32. * PROGRAMMER
  33. * Denzil E. Long, Jr.
  34. *
  35. * DATE
  36. * January 26, 1995
  37. *
  38. ****************************************************************************/
  39. /* Prototypes */
  40. #ifdef __cplusplus
  41. extern "C" {
  42. #endif
  43. unsigned long cdecl LCW_Compress(char const *source, char *dest,
  44. unsigned long length);
  45. unsigned long cdecl LCW_Uncompress(char const *source, char *dest,
  46. unsigned long length);
  47. long AudioZap(void *source, void *dest, long size);
  48. long cdecl AudioUnzap(void *source, void *dest, long);
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52. #endif /* VQMCOMP_H */