fConsoleC.dfm 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. Caption = 'Console'
  9. ClientHeight = 760
  10. ClientWidth = 992
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'Tahoma'
  16. Font.Style = []
  17. OnCreate = FormCreate
  18. OnKeyDown = FormKeyDown
  19. OnKeyPress = FormKeyPress
  20. OnResize = FormResize
  21. PixelsPerInch = 168
  22. TextHeight = 23
  23. object Splitter1: TSplitter
  24. Left = 366
  25. Top = 0
  26. Width = 626
  27. Height = 760
  28. Margins.Left = 5
  29. Margins.Top = 5
  30. Margins.Right = 5
  31. Margins.Bottom = 5
  32. Align = alClient
  33. Beveled = True
  34. MinSize = 70
  35. end
  36. object Viewer: TGLSceneViewer
  37. Left = 366
  38. Top = 0
  39. Width = 626
  40. Height = 760
  41. Margins.Left = 5
  42. Margins.Top = 5
  43. Margins.Right = 5
  44. Margins.Bottom = 5
  45. Camera = GLCamera1
  46. Buffer.BackgroundColor = clMoneyGreen
  47. Buffer.AmbientColor.Color = {9A99993E9A99993E9A99993E0000803F}
  48. FieldOfView = 161.848007202148400000
  49. PenAsTouch = False
  50. Align = alClient
  51. OnMouseDown = ViewerMouseDown
  52. TabOrder = 0
  53. end
  54. object Panel1: TPanel
  55. Left = 0
  56. Top = 0
  57. Width = 366
  58. Height = 760
  59. Margins.Left = 5
  60. Margins.Top = 5
  61. Margins.Right = 5
  62. Margins.Bottom = 5
  63. Align = alLeft
  64. Caption = 'Panel1'
  65. TabOrder = 1
  66. object Splitter2: TSplitter
  67. Left = 1
  68. Top = 407
  69. Width = 364
  70. Height = 352
  71. Margins.Left = 5
  72. Margins.Top = 5
  73. Margins.Right = 5
  74. Margins.Bottom = 5
  75. Align = alClient
  76. MinSize = 53
  77. ExplicitLeft = 2
  78. ExplicitTop = 408
  79. ExplicitWidth = 362
  80. ExplicitHeight = 350
  81. end
  82. object GroupBox1: TGroupBox
  83. Left = 1
  84. Top = 407
  85. Width = 364
  86. Height = 352
  87. Margins.Left = 5
  88. Margins.Top = 5
  89. Margins.Right = 5
  90. Margins.Bottom = 5
  91. Align = alClient
  92. Caption = 'Console options'
  93. TabOrder = 0
  94. ExplicitLeft = 2
  95. ExplicitTop = 408
  96. ExplicitWidth = 362
  97. ExplicitHeight = 350
  98. object Label1: TLabel
  99. Left = 107
  100. Top = 138
  101. Width = 157
  102. Height = 23
  103. Margins.Left = 5
  104. Margins.Top = 5
  105. Margins.Right = 5
  106. Margins.Bottom = 5
  107. Caption = ' Typed Commands'
  108. end
  109. object Label2: TLabel
  110. Left = 121
  111. Top = 179
  112. Width = 128
  113. Height = 23
  114. Margins.Left = 5
  115. Margins.Top = 5
  116. Margins.Right = 5
  117. Margins.Bottom = 5
  118. Caption = 'Console Output'
  119. end
  120. object CheckBox1: TCheckBox
  121. Left = 14
  122. Top = 28
  123. Width = 343
  124. Height = 30
  125. Margins.Left = 5
  126. Margins.Top = 5
  127. Margins.Right = 5
  128. Margins.Bottom = 5
  129. TabStop = False
  130. Caption = 'AutoCompleteCommandsOnKeyPress'
  131. TabOrder = 0
  132. OnClick = CheckBox1Click
  133. end
  134. object CheckBox2: TCheckBox
  135. Left = 14
  136. Top = 56
  137. Width = 338
  138. Height = 30
  139. Margins.Left = 5
  140. Margins.Top = 5
  141. Margins.Right = 5
  142. Margins.Bottom = 5
  143. TabStop = False
  144. Caption = 'AutoCompleteCommandsOnEnter'
  145. TabOrder = 1
  146. OnClick = CheckBox2Click
  147. end
  148. object CheckBox3: TCheckBox
  149. Left = 14
  150. Top = 84
  151. Width = 341
  152. Height = 30
  153. Margins.Left = 5
  154. Margins.Top = 5
  155. Margins.Right = 5
  156. Margins.Bottom = 5
  157. TabStop = False
  158. Caption = 'ShowConsoleHelpIfUnknownCommand'
  159. TabOrder = 2
  160. OnClick = CheckBox3Click
  161. end
  162. object Button1: TButton
  163. Left = 14
  164. Top = 126
  165. Width = 77
  166. Height = 44
  167. Margins.Left = 5
  168. Margins.Top = 5
  169. Margins.Right = 5
  170. Margins.Bottom = 5
  171. Caption = 'Save'
  172. TabOrder = 3
  173. TabStop = False
  174. OnClick = Button1Click
  175. end
  176. object Button2: TButton
  177. Left = 14
  178. Top = 168
  179. Width = 77
  180. Height = 44
  181. Margins.Left = 5
  182. Margins.Top = 5
  183. Margins.Right = 5
  184. Margins.Bottom = 5
  185. Caption = 'Save'
  186. TabOrder = 4
  187. TabStop = False
  188. OnClick = Button2Click
  189. end
  190. object Button6: TButton
  191. Left = 271
  192. Top = 124
  193. Width = 77
  194. Height = 44
  195. Margins.Left = 5
  196. Margins.Top = 5
  197. Margins.Right = 5
  198. Margins.Bottom = 5
  199. Caption = 'Load'
  200. TabOrder = 5
  201. TabStop = False
  202. OnClick = Button6Click
  203. end
  204. object Button7: TButton
  205. Left = 271
  206. Top = 166
  207. Width = 77
  208. Height = 44
  209. Margins.Left = 5
  210. Margins.Top = 5
  211. Margins.Right = 5
  212. Margins.Bottom = 5
  213. Caption = 'Load'
  214. TabOrder = 6
  215. TabStop = False
  216. OnClick = Button7Click
  217. end
  218. end
  219. object ListBox1: TListBox
  220. Left = 1
  221. Top = 1
  222. Width = 364
  223. Height = 406
  224. Margins.Left = 5
  225. Margins.Top = 5
  226. Margins.Right = 5
  227. Margins.Bottom = 5
  228. TabStop = False
  229. Style = lbOwnerDrawFixed
  230. Align = alTop
  231. Enabled = False
  232. Font.Charset = RUSSIAN_CHARSET
  233. Font.Color = clWindowText
  234. Font.Height = -19
  235. Font.Name = 'MS Sans Serif'
  236. Font.Style = []
  237. ItemHeight = 23
  238. Items.Strings = (
  239. 'Instructions:'
  240. ' Click anywhere'
  241. ' to actiate the console'
  242. ''
  243. 'Type "Help" and press Enter'
  244. 'to get started'
  245. ''
  246. 'Controls:'
  247. ' Up-down one line: Home <-> End '
  248. ' Up-down 1 page PageUp <-> PageDown'
  249. ' Enter comman: Return (enter)'
  250. ' Next-Prev command: Up <-> Down'
  251. ' Auto-Complete Command = Ctrl'
  252. ''
  253. 'Have fun!'
  254. ''
  255. 'Da Stranger')
  256. ParentFont = False
  257. TabOrder = 1
  258. end
  259. end
  260. object GLCadencer1: TGLCadencer
  261. Scene = Scene
  262. OnProgress = GLCadencer1Progress
  263. Left = 240
  264. Top = 80
  265. end
  266. object Scene: TGLScene
  267. Left = 240
  268. Top = 16
  269. object GLCube1: TGLCube
  270. Position.Coordinates = {000000000000003F0000A0C00000803F}
  271. BehavioursData = {
  272. 0458434F4C02010201060B54474C42496E657274696102001200000000020002
  273. 00050000000000000080FF3F0200080500000000000000A00240050000000000
  274. 0000A00140050000000000000080004009020008020008}
  275. end
  276. object GLCamera1: TGLCamera
  277. DepthOfView = 100.000000000000000000
  278. FocalLength = 50.000000000000000000
  279. Left = 328
  280. Top = 216
  281. object GLLightSource1: TGLLightSource
  282. ConstAttenuation = 1.000000000000000000
  283. SpotCutOff = 180.000000000000000000
  284. end
  285. end
  286. object GLConsole1: TGLConsole
  287. SceneViewer = Viewer
  288. HudSprite.Material.FrontProperties.Ambient.Color = {0000803F0000803F0000803F0000803F}
  289. HudSprite.Material.FrontProperties.Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3F0000003F}
  290. HudSprite.Material.BlendingMode = bmTransparency
  291. HudSprite.Material.Texture.TextureMode = tmModulate
  292. HudSprite.Material.Texture.Disabled = False
  293. HudSprite.Position.Coordinates = {00002F4366E69742000000000000803F}
  294. HudSprite.Width = 350.000000000000000000
  295. HudSprite.Height = 151.899993896484400000
  296. HudSprite.Rotation = 0.000000000000000000
  297. HudText.Position.Coordinates = {0000404000000040000000000000803F}
  298. HudText.BitmapFont = Font1
  299. HudText.Text = '> '
  300. HudText.Rotation = 0.000000000000000000
  301. HudText.ModulateColor.Color = {00000000000000000000803F0000803F}
  302. Options = []
  303. end
  304. end
  305. object Font1: TGLWindowsBitmapFont
  306. Font.Charset = DEFAULT_CHARSET
  307. Font.Color = clWhite
  308. Font.Height = -11
  309. Font.Name = 'MS Sans Serif'
  310. Font.Style = []
  311. Ranges = <
  312. item
  313. StartASCII = #0
  314. StopASCII = #255
  315. StartGlyphIdx = 0
  316. end>
  317. Left = 440
  318. Top = 16
  319. end
  320. object Timer1: TTimer
  321. Left = 440
  322. Top = 80
  323. end
  324. object GLSimpleNavigation1: TGLSimpleNavigation
  325. Form = Owner
  326. GLSceneViewer = Viewer
  327. FormCaption = 'Console - %FPS'
  328. KeyCombinations = <
  329. item
  330. ShiftState = [ssLeft, ssRight]
  331. Action = snaZoom
  332. end
  333. item
  334. ShiftState = [ssLeft]
  335. Action = snaMoveAroundTarget
  336. end
  337. item
  338. ShiftState = [ssRight]
  339. Action = snaMoveAroundTarget
  340. end>
  341. Left = 336
  342. Top = 16
  343. end
  344. end