Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;;================================================================================================;;
  2. ;;//// tga.inc //// (c) Nable, 2007-2008 /////////////////////////////////////////////////////////;;
  3. ;;================================================================================================;;
  4. ;;                                                                                                ;;
  5. ;; This file is part of Common development libraries (Libs-Dev).                                  ;;
  6. ;;                                                                                                ;;
  7. ;; Libs-Dev is free software: you can redistribute it and/or modify it under the terms of the GNU ;;
  8. ;; Lesser General Public License as published by the Free Software Foundation, either version 2.1 ;;
  9. ;; of the License, or (at your option) any later version.                                         ;;
  10. ;;                                                                                                ;;
  11. ;; Libs-Dev is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without  ;;
  12. ;; even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU  ;;
  13. ;; Lesser General Public License for more details.                                                ;;
  14. ;;                                                                                                ;;
  15. ;; You should have received a copy of the GNU Lesser General Public License along with Libs-Dev.  ;;
  16. ;; If not, see <http://www.gnu.org/licenses/>.                                                    ;;
  17. ;;                                                                                                ;;
  18. ;;================================================================================================;;
  19.  
  20. struct tga.FileHeader
  21.   CommentLength db ?
  22.   ColormapType  db ?
  23.   SubType               db ?
  24.   DontKnow1             dw ?
  25.   ColormapSize  dw ?
  26.   ColormapBpp   db ?
  27.   DontKnow2             dd ?
  28.   Width                 dw ?
  29.   Height                dw ?
  30.   BitPerPixel   db ?
  31.   DontKnow3             db ?
  32. ends
  33.  
  34. tga.flags.top_down_row_order equ 32 ;bit5
  35. tga.flags.interlace_type equ 192;bits6/7
  36.