-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUnit1.dfm
More file actions
218 lines (218 loc) · 5.06 KB
/
Unit1.dfm
File metadata and controls
218 lines (218 loc) · 5.06 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
object Form1: TForm1
Left = 0
Top = 0
Caption = 'TR4 to PRJ'
ClientHeight = 296
ClientWidth = 463
Color = clBtnFace
Constraints.MinHeight = 355
Constraints.MinWidth = 479
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Menu = MainMenu1
OldCreateOrder = False
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object Gauge1: TGauge
Left = 296
Top = 243
Width = 159
Height = 23
Progress = 0
end
object StatusBar1: TStatusBar
Left = 0
Top = 277
Width = 463
Height = 19
Panels = <
item
Width = 50
end>
end
object Button1: TButton
Left = 296
Top = 8
Width = 145
Height = 41
Action = FileOpen2
TabOrder = 1
end
object Panel1: TPanel
Left = 0
Top = 0
Width = 282
Height = 277
Align = alLeft
BevelOuter = bvNone
TabOrder = 2
object ScrollBox1: TScrollBox
Left = 0
Top = 0
Width = 282
Height = 277
HorzScrollBar.Visible = False
Align = alClient
TabOrder = 0
OnMouseWheel = ScrollBox1MouseWheel
object Image1: TImage
Left = -2
Top = -2
Width = 256
Height = 256
AutoSize = True
PopupMenu = PopupMenu1
end
end
end
object Button2: TButton
Left = 296
Top = 55
Width = 145
Height = 41
Action = UnloadPRJ
TabOrder = 3
end
object GroupBox1: TGroupBox
Left = 296
Top = 102
Width = 145
Height = 91
Caption = 'Copy from TR2PRJ'
TabOrder = 4
object CheckBox1: TCheckBox
Left = 16
Top = 16
Width = 97
Height = 17
Hint = 'May cause errors in geometry'
Caption = 'Doors'
Enabled = False
ParentShowHint = False
ShowHint = True
TabOrder = 0
Visible = False
end
object CheckBox2: TCheckBox
Left = 16
Top = 39
Width = 97
Height = 17
Hint = 'Some errors in NGLE'
Caption = 'Textures'
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object CheckBox3: TCheckBox
Left = 16
Top = 62
Width = 97
Height = 17
Caption = 'Lights'
TabOrder = 2
end
end
object ActionList1: TActionList
Left = 384
Top = 192
object FileOpen1: TFileOpen
Category = 'File'
Caption = '&Open...'
Dialog.DefaultExt = '.tr4'
Dialog.Filter = 'Tomb Raider 4 Files (*.tr4)|*.tr4|All files (*.*)|*.*'
Dialog.Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
Hint = 'Open|Opens an existing file'
ImageIndex = 7
ShortCut = 16463
OnAccept = FileOpen1Accept
end
object FileExit1: TFileExit
Category = 'File'
Caption = 'E&xit'
Hint = 'Exit|Quits the application'
ImageIndex = 43
ShortCut = 27
end
object FileSaveAs1: TFileSaveAs
Category = 'File'
Caption = 'Save &As...'
Dialog.DefaultExt = 'prj'
Dialog.Filter = 'TRLE Project Files (*.prj)|*.prj'
Dialog.Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
Hint = 'Save As|Saves the active file with a new name'
ImageIndex = 30
BeforeExecute = FileSaveAs1BeforeExecute
OnAccept = FileSaveAs1Accept
OnUpdate = FileSaveAs1Update
end
object FileOpen2: TFileOpen
Category = 'File'
Caption = 'Load &TR2PRJ project...'
Dialog.DefaultExt = 'prj'
Dialog.Filter = 'TRLE project Files (*.prj)|*.prj|All Files (*.*)|*.*'
Dialog.Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
Hint = 'Open|Opens an existing file'
ImageIndex = 7
ShortCut = 16463
OnAccept = FileOpen2Accept
OnUpdate = FileOpen2Update
end
object UnloadPRJ: TAction
Caption = 'Unload TR2PRJ project'
Hint = 'Unload a loaded PRJ'
OnExecute = UnloadPRJExecute
OnUpdate = UnloadPRJUpdate
end
end
object MainMenu1: TMainMenu
Left = 424
Top = 192
object File1: TMenuItem
Caption = '&File'
object Open1: TMenuItem
Action = FileOpen1
end
object SaveAs1: TMenuItem
Action = FileSaveAs1
end
object Exit1: TMenuItem
Action = FileExit1
end
end
object Options1: TMenuItem
Caption = '&Options'
Enabled = False
Visible = False
object TR2PRJlinks: TMenuItem
AutoCheck = True
Caption = '&TR2PRJ links'
end
end
end
object SaveDialog1: TSaveDialog
DefaultExt = 'tga'
Filter = 'TrueVision Targa Files (*.tga)|*.tga'
Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofEnableSizing]
Left = 296
Top = 192
end
object PopupMenu1: TPopupMenu
OnPopup = PopupMenu1Popup
Left = 344
Top = 192
object SaveTGA1: TMenuItem
Caption = 'Save TGA...'
OnClick = SaveTGA1Click
end
object Cancel1: TMenuItem
Caption = 'Cancel'
OnClick = Cancel1Click
end
end
end