-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodCamStructures.bas
More file actions
66 lines (59 loc) · 1.09 KB
/
modCamStructures.bas
File metadata and controls
66 lines (59 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Attribute VB_Name = "modCamStructures"
Option Explicit
Option Base 1
Type CamHeader
Signature As String * 8
Boh01 As Integer
Boh02 As Integer
Boh03 As Long
Boh04 As Long
String01 As String * 4
Boh05 As Long
String02 As String * 4
Boh06 As Long
String03 As String * 4
Boh07 As Long
String04 As String * 4
Boh08 As Long
NameIDNumber As Long
Boh09 As Long
End Type
Type NameIDHeader
NameID As String * 20
Offset As Long
Size As Long
End Type
Type SmallHeader
NameIDNumber As Long
Boh01 As Long
Boh02 As Long
End Type
Type NameIDEntities
NameID As String * 16
Offset As Long
Size As Long
ID As Long
End Type
Type ResHeader
ID As Integer
Colors As Integer
Height As Integer
Width As Integer
Boh01 As Integer
Boh02 As Integer
Boh03 As Long
Boh04 As Long
Boh05 As Integer
Palette As Long
End Type
Type BMPRowHeader
Pos As Integer
PixelNumber As Byte
PixelType As Byte
End Type
Type PaletteColor
R As Byte
G As Byte
B As Byte
A As Byte
End Type