STAMP.INC 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ;
  2. ; Copyright 2020 Electronic Arts Inc.
  3. ;
  4. ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is free
  5. ; software: you can redistribute it and/or modify it under the terms of
  6. ; the GNU General Public License as published by the Free Software Foundation,
  7. ; either version 3 of the License, or (at your option) any later version.
  8. ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed
  9. ; in the hope that it will be useful, but with permitted additional restrictions
  10. ; under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
  11. ; distributed with this program. You should have received a copy of the
  12. ; GNU General Public License along with permitted additional restrictions
  13. ; with this program. If not, see [https://github.com/electronicarts/CnC_Remastered_Collection]>.
  14. ; This is the control structure at the start of a loaded icon set. It must match
  15. ; the structure in ICONSET.C! This structure MUST be a multiple of 16 bytes long.
  16. ifdef NO_WAY_THIS_WILL_BE_DEFINED_HAHAHAHA
  17. STRUC IControl_Type
  18. Width DW ? ; Width in pixels (per icon).
  19. Height DW ? ; Height in pixels (per icon).
  20. Count DW ? ; Number of icons in this set.
  21. Allocated DW ? ; Was this iconset allocated?
  22. Size DD ? ; Size of entire iconset memory block.
  23. Icons DD ? ; Offset from buffer start to icon data.
  24. Palettes DD ? ; Offset from buffer start to palette data.
  25. Remaps DD ? ; Offset from buffer start to remap index data.
  26. TransFlag DD ? ; Offset for transparency flag data.
  27. Map DD ? ; Icon map offset.
  28. ENDS
  29. else
  30. STRUC IControl_Type
  31. Width DW ? ; Width in pixels (per icon).
  32. Height DW ? ; Height in pixels (per icon).
  33. Count DW ? ; Number of icons in this set.
  34. Allocated DW ? ; Was this iconset allocated?
  35. MapWidth DW ?
  36. MapHeight DW ?
  37. Size DD ? ; Size of entire iconset memory block.
  38. Icons DD ? ; Offset from buffer start to icon data.
  39. Palettes DD ? ; Offset from buffer start to palette data.
  40. Remaps DD ? ; Offset from buffer start to remap index data.
  41. TransFlag DD ? ; Offset for transparency flag data.
  42. ColorMap DD ?
  43. Map DD ? ; Icon map offset.
  44. ENDS
  45. endif
  46. ICON256 EQU 1