Main.dfm 6.5 KB

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