Subversion Repositories Kolibri OS

Rev

Rev 1079 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1079 Rev 3055
Line 1... Line 1...
1
;;================================================================================================;;
1
;;================================================================================================;;
2
;;//// tga.inc //// (c) Nable, 2007-2008 /////////////////////////////////////////////////////////;;
2
;;//// tga.inc //// (c) Nable, 2007-2008, (c) dunkaist, 2012 /////////////////////////////////////;;
3
;;================================================================================================;;
3
;;================================================================================================;;
4
;;                                                                                                ;;
4
;;                                                                                                ;;
5
;; This file is part of Common development libraries (Libs-Dev).                                  ;;
5
;; This file is part of Common development libraries (Libs-Dev).                                  ;;
6
;;                                                                                                ;;
6
;;                                                                                                ;;
7
;; Libs-Dev is free software: you can redistribute it and/or modify it under the terms of the GNU ;;
7
;; Libs-Dev is free software: you can redistribute it and/or modify it under the terms of the GNU ;;
Line 15... Line 15...
15
;; You should have received a copy of the GNU Lesser General Public License along with Libs-Dev.  ;;
15
;; You should have received a copy of the GNU Lesser General Public License along with Libs-Dev.  ;;
16
;; If not, see .                                                    ;;
16
;; If not, see .                                                    ;;
17
;;                                                                                                ;;
17
;;                                                                                                ;;
18
;;================================================================================================;;
18
;;================================================================================================;;
Line 19... Line 19...
19
 
19
 
20
struct tga.FileHeader
20
struct tga_colormap_spec
21
  CommentLength	db ?
-
 
22
  ColormapType	db ?
-
 
23
  SubType		db ?
-
 
24
  DontKnow1		dw ?
21
    first_entry_index   dw ?
25
  ColormapSize	dw ?
-
 
26
  ColormapBpp	db ?
-
 
27
  DontKnow2		dd ?
-
 
28
  Width			dw ?
-
 
29
  Height		dw ?
22
    colormap_length     dw ?
30
  BitPerPixel	db ?
-
 
31
  DontKnow3		db ?
23
    entry_size          db ?
Line -... Line 24...
-
 
24
ends
-
 
25
 
-
 
26
struct tga_image_spec
-
 
27
    x_origin        dw ?
-
 
28
    y_origin        dw ?
-
 
29
    width           dw ?
-
 
30
    height          dw ?
-
 
31
    depth           db ?
-
 
32
    descriptor      db ?
-
 
33
ends
-
 
34
 
-
 
35
struct tga_header
32
ends
36
    id_length       db ?
-
 
37
    colormap_type   db ?
33
 
38
    image_type      db ?
-
 
39
    colormap_spec   tga_colormap_spec
-
 
40
    image_spec      tga_image_spec
-
 
41
ends
-
 
42