fMainD.dfm 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. object Form1: TForm1
  2. Left = 268
  3. Top = 248
  4. Caption = 'Pak Editor'
  5. ClientHeight = 493
  6. ClientWidth = 685
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. Menu = MainMenu1
  14. Position = poScreenCenter
  15. OnCreate = FormCreate
  16. DesignSize = (
  17. 685
  18. 493)
  19. TextHeight = 13
  20. object Bevel1: TBevel
  21. Left = 0
  22. Top = 0
  23. Width = 691
  24. Height = 9
  25. Anchors = [akLeft, akTop, akRight]
  26. Shape = bsTopLine
  27. ExplicitWidth = 545
  28. end
  29. object ListView: TListView
  30. Left = 161
  31. Top = 0
  32. Width = 524
  33. Height = 493
  34. Margins.Left = 4
  35. Margins.Top = 4
  36. Margins.Right = 4
  37. Margins.Bottom = 4
  38. Align = alClient
  39. Columns = <
  40. item
  41. AutoSize = True
  42. Caption = 'Name'
  43. end
  44. item
  45. Caption = 'Size'
  46. Width = 70
  47. end>
  48. Enabled = False
  49. Items.ItemData = {
  50. 054E0000000100000000000000FFFFFFFFFFFFFFFF00000000FFFFFFFF000000
  51. 001A4F00700065006E0020006F00720020006300720065006100740065002000
  52. 700061006B002000660069006C0065002E002E002E00}
  53. MultiSelect = True
  54. SmallImages = ImageList1
  55. TabOrder = 0
  56. ViewStyle = vsReport
  57. OnChange = ListViewChange
  58. OnClick = ListViewClick
  59. OnDblClick = ListViewDblClick
  60. OnKeyDown = ListViewKeyDown
  61. end
  62. object PanelTree: TPanel
  63. Left = 0
  64. Top = 0
  65. Width = 161
  66. Height = 493
  67. Align = alLeft
  68. Caption = ' '
  69. TabOrder = 1
  70. object TreeView: TTreeView
  71. Left = 1
  72. Top = 1
  73. Width = 159
  74. Height = 299
  75. Align = alClient
  76. Images = ImageList1
  77. Indent = 23
  78. ShowRoot = False
  79. TabOrder = 0
  80. ToolTips = False
  81. OnChange = TreeViewChange
  82. OnCollapsing = TreeViewCollapsing
  83. OnKeyDown = TreeViewKeyDown
  84. end
  85. object GLSceneViewer1: TGLSceneViewer
  86. Left = 1
  87. Top = 300
  88. Width = 159
  89. Height = 192
  90. Camera = GLCamera1
  91. VSync = vsmSync
  92. Buffer.BackgroundColor = clWhite
  93. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  94. Buffer.AntiAliasing = aa2x
  95. FieldOfView = 76.969398498535160000
  96. PenAsTouch = False
  97. Align = alBottom
  98. TabOrder = 1
  99. end
  100. end
  101. object MainMenu1: TMainMenu
  102. Left = 230
  103. Top = 176
  104. object File1: TMenuItem
  105. Caption = 'File'
  106. object New1: TMenuItem
  107. Caption = 'New...'
  108. OnClick = New1Click
  109. end
  110. object Open1: TMenuItem
  111. Caption = 'Open...'
  112. OnClick = Open1Click
  113. end
  114. object N1: TMenuItem
  115. Caption = '-'
  116. end
  117. object Exit1: TMenuItem
  118. Caption = 'Exit'
  119. OnClick = Exit1Click
  120. end
  121. end
  122. object Edit1: TMenuItem
  123. Caption = 'Edit'
  124. object Createfolder1: TMenuItem
  125. Caption = 'Create folder...'
  126. OnClick = Createfolder1Click
  127. end
  128. object Addfiles1: TMenuItem
  129. Caption = 'Add file(s)...'
  130. OnClick = Addfiles1Click
  131. end
  132. object N4: TMenuItem
  133. Caption = '-'
  134. end
  135. object Compression1: TMenuItem
  136. Caption = 'Compression'
  137. object None1: TMenuItem
  138. Caption = 'None'
  139. Checked = True
  140. GroupIndex = 2
  141. OnClick = None1Click
  142. end
  143. object Fast1: TMenuItem
  144. Tag = 1
  145. Caption = 'Fast'
  146. GroupIndex = 2
  147. OnClick = None1Click
  148. end
  149. object Default1: TMenuItem
  150. Tag = 2
  151. Caption = 'Default'
  152. GroupIndex = 2
  153. OnClick = None1Click
  154. end
  155. object Max1: TMenuItem
  156. Tag = 3
  157. Caption = 'Max'
  158. GroupIndex = 2
  159. OnClick = None1Click
  160. end
  161. end
  162. object N3: TMenuItem
  163. Caption = '-'
  164. GroupIndex = 2
  165. end
  166. object Deleteselectedfile1: TMenuItem
  167. Caption = 'Delete selected file(s)'
  168. GroupIndex = 2
  169. OnClick = Deleteselectedfile1Click
  170. end
  171. object Deleteselectedfolder1: TMenuItem
  172. Caption = 'Delete selected folder'
  173. GroupIndex = 2
  174. OnClick = Deleteselectedfolder1Click
  175. end
  176. object N2: TMenuItem
  177. Caption = '-'
  178. GroupIndex = 2
  179. end
  180. object Extractselectedfiles1: TMenuItem
  181. Caption = 'Extract selected file(s)'
  182. GroupIndex = 2
  183. OnClick = Extractselectedfiles1Click
  184. end
  185. end
  186. end
  187. object OpenDialog1: TOpenDialog
  188. Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
  189. Left = 184
  190. Top = 64
  191. end
  192. object SaveDialog1: TSaveDialog
  193. DefaultExt = 'glp'
  194. Filter = 'All (Pak, Zlib)|*.pak;*.zlib|PAK files|*.pak|ZLib Files|*.zlib'
  195. Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
  196. Left = 216
  197. Top = 64
  198. end
  199. object ImageList1: TImageList
  200. Height = 20
  201. Width = 20
  202. Left = 216
  203. Top = 32
  204. end
  205. object GLScene1: TGLScene
  206. Left = 248
  207. Top = 32
  208. object GLCamera1: TGLCamera
  209. DepthOfView = 100000.000000000000000000
  210. FocalLength = 100.000000000000000000
  211. NearPlaneBias = 0.100000001490116100
  212. TargetObject = GLCube1
  213. Position.Coordinates = {0000F04100002042000048420000803F}
  214. object GLLightSource1: TGLLightSource
  215. ConstAttenuation = 1.000000000000000000
  216. SpotCutOff = 180.000000000000000000
  217. end
  218. end
  219. object GLFreeForm1: TGLFreeForm
  220. end
  221. object GLSprite1: TGLSprite
  222. Material.MaterialLibrary = GLMaterialLibrary1
  223. Material.LibMaterialName = 'image'
  224. Position.Coordinates = {0000A0420000A042000000000000803F}
  225. Visible = False
  226. Width = 160.000000000000000000
  227. Height = 160.000000000000000000
  228. Rotation = 0.000000000000000000
  229. end
  230. object GLCube1: TGLCube
  231. Material.MaterialLibrary = GLMaterialLibrary1
  232. Material.LibMaterialName = 'image'
  233. Visible = False
  234. end
  235. end
  236. object GLMaterialLibrary1: TGLMaterialLibrary
  237. Materials = <
  238. item
  239. Name = 'image'
  240. Tag = 0
  241. Material.Texture.ImageClassName = 'TGLCompositeImage'
  242. Material.Texture.Image.Width = 256
  243. Material.Texture.Image.Height = 256
  244. Material.Texture.Image.Depth = 0
  245. Material.Texture.Disabled = False
  246. end>
  247. Left = 248
  248. Top = 64
  249. end
  250. object GLSimpleNavigation1: TGLSimpleNavigation
  251. Form = Owner
  252. GLSceneViewer = GLSceneViewer1
  253. FormCaption = 'GLScene Pak Editor - %FPS'
  254. KeyCombinations = <
  255. item
  256. ShiftState = [ssLeft, ssRight]
  257. Action = snaZoom
  258. end
  259. item
  260. ShiftState = [ssLeft]
  261. Action = snaMoveAroundTarget
  262. end
  263. item
  264. ShiftState = [ssRight]
  265. Action = snaMoveAroundTarget
  266. end>
  267. Left = 280
  268. Top = 32
  269. end
  270. object GLSArchiveManager1: TGLSArchiveManager
  271. Archives = <
  272. item
  273. Name = 'LibArchive'
  274. end>
  275. Left = 280
  276. Top = 64
  277. end
  278. end