STAMP.INC (2128B)
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 9 ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 10 ; in the hope that it will be useful, but with permitted additional restrictions 11 ; under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 12 ; distributed with this program. You should have received a copy of the 13 ; GNU General Public License along with permitted additional restrictions 14 ; with this program. If not, see [https://github.com/electronicarts/CnC_Remastered_Collection]>. 15 16 ; This is the control structure at the start of a loaded icon set. It must match 17 ; the structure in ICONSET.C! This structure MUST be a multiple of 16 bytes long. 18 19 ifdef NO_WAY_THIS_WILL_BE_DEFINED_HAHAHAHA 20 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 34 else 35 36 37 STRUC IControl_Type 38 39 Width DW ? ; Width in pixels (per icon). 40 Height DW ? ; Height in pixels (per icon). 41 Count DW ? ; Number of icons in this set. 42 Allocated DW ? ; Was this iconset allocated? 43 MapWidth DW ? 44 MapHeight DW ? 45 Size DD ? ; Size of entire iconset memory block. 46 Icons DD ? ; Offset from buffer start to icon data. 47 Palettes DD ? ; Offset from buffer start to palette data. 48 Remaps DD ? ; Offset from buffer start to remap index data. 49 TransFlag DD ? ; Offset for transparency flag data. 50 ColorMap DD ? 51 Map DD ? ; Icon map offset. 52 ENDS 53 54 endif 55 56 ICON256 EQU 1