STAMP.INC 2.0 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. ; This is the control structure at the start of a loaded icon set. It must match
  19. ; the structure in ICONSET.C! This structure MUST be a multiple of 16 bytes long.
  20. ifdef NO_WAY_THIS_WILL_BE_DEFINED_HAHAHAHA
  21. STRUC IControl_Type
  22. Width DW ? ; Width in pixels (per icon).
  23. Height DW ? ; Height in pixels (per icon).
  24. Count DW ? ; Number of icons in this set.
  25. Allocated DW ? ; Was this iconset allocated?
  26. Size DD ? ; Size of entire iconset memory block.
  27. Icons DD ? ; Offset from buffer start to icon data.
  28. Palettes DD ? ; Offset from buffer start to palette data.
  29. Remaps DD ? ; Offset from buffer start to remap index data.
  30. TransFlag DD ? ; Offset for transparency flag data.
  31. Map DD ? ; Icon map offset.
  32. ENDS
  33. else
  34. STRUC IControl_Type
  35. Width DW ? ; Width in pixels (per icon).
  36. Height DW ? ; Height in pixels (per icon).
  37. Count DW ? ; Number of icons in this set.
  38. Allocated DW ? ; Was this iconset allocated?
  39. MapWidth DW ?
  40. MapHeight DW ?
  41. Size DD ? ; Size of entire iconset memory block.
  42. Icons DD ? ; Offset from buffer start to icon data.
  43. Palettes DD ? ; Offset from buffer start to palette data.
  44. Remaps DD ? ; Offset from buffer start to remap index data.
  45. TransFlag DD ? ; Offset for transparency flag data.
  46. ColorMap DD ?
  47. Map DD ? ; Icon map offset.
  48. ENDS
  49. endif
  50. ICON256 EQU 1