FILEDATA.CPP 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. /***************************************************************************
  19. ** C O N F I D E N T I A L --- W E S T W O O D A S S O C I A T E S **
  20. ***************************************************************************
  21. * *
  22. * Project Name : File IO System LIbrary *
  23. * *
  24. * File Name : FILEDATA.CPP *
  25. * *
  26. * Programmer : Scott K. Bowen *
  27. * *
  28. * Start Date : April 11, 1994 *
  29. * *
  30. * Last Update : April 11, 1994 [SKB] *
  31. * *
  32. *-------------------------------------------------------------------------*
  33. * Functions: *
  34. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  35. #ifndef WWSTD_H
  36. #include "wwstd.h"
  37. #endif
  38. #ifndef _FILE_H
  39. #include "_file.h"
  40. #endif
  41. /*=========================================================================*/
  42. /* The following PRIVATE functions are in this file: */
  43. /*=========================================================================*/
  44. /*= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =*/
  45. /*
  46. structure for FileDataType is:
  47. BYTE *filename: initialize to actual file name on disk.
  48. LONG size: initialize to actual file size on disk.
  49. BYTE *ptr: initialize to a 0L below.
  50. WORD disk: which floppy disk number (1+) file resides on.
  51. LONG pos: initialize to a 0L below.
  52. UBYTE priority: file priorities can be from 0 to 127. (127 = highest)
  53. if you want the file to be attempted to be made
  54. resident at runtime, add 128 to the file priority
  55. to set the high bit. even though the files
  56. priority will appear to be 128 to 255, it will
  57. still remain 0 to 127.
  58. */
  59. FileDataType FileData[] = {
  60. { "", 0L, 0L, 0, 0L, 0 }
  61. /* Must have an empty entry!!! */
  62. };