fPortalD.dfm 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. object FormPortal: TFormPortal
  2. Left = 74
  3. Top = 84
  4. Caption = 'Portal'
  5. ClientHeight = 528
  6. ClientWidth = 810
  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. Position = poScreenCenter
  14. WindowState = wsMaximized
  15. OnCreate = FormCreate
  16. DesignSize = (
  17. 810
  18. 528)
  19. TextHeight = 13
  20. object Label1: TLabel
  21. Left = 8
  22. Top = 8
  23. Width = 75
  24. Height = 18
  25. Caption = 'Maze Map'
  26. Font.Charset = ANSI_CHARSET
  27. Font.Color = clWindowText
  28. Font.Height = -16
  29. Font.Name = 'Arial'
  30. Font.Style = [fsBold, fsItalic]
  31. ParentFont = False
  32. end
  33. object Label2: TLabel
  34. Left = 304
  35. Top = 8
  36. Width = 61
  37. Height = 18
  38. Caption = '3D View'
  39. Font.Charset = ANSI_CHARSET
  40. Font.Color = clWindowText
  41. Font.Height = -16
  42. Font.Name = 'Arial'
  43. Font.Style = [fsBold, fsItalic]
  44. ParentFont = False
  45. end
  46. object Label3: TLabel
  47. Left = 24
  48. Top = 312
  49. Width = 241
  50. Height = 42
  51. Caption =
  52. 'To modify map, edit cells with keyboard :'#13#10'- any non-empty cell ' +
  53. 'is a wall'#13#10'- click '#39'process'#39' to commit changes or check '#39'auto'#39
  54. Font.Charset = ANSI_CHARSET
  55. Font.Color = clWindowText
  56. Font.Height = -11
  57. Font.Name = 'Arial'
  58. Font.Style = []
  59. ParentFont = False
  60. end
  61. object GLSceneViewer1: TGLSceneViewer
  62. Left = 296
  63. Top = 32
  64. Width = 522
  65. Height = 521
  66. Camera = GLCamera1
  67. Buffer.FogEnvironment.FogColor.Color = {00000000000000008180003F0000803F}
  68. Buffer.FogEnvironment.FogStart = 1.000000000000000000
  69. Buffer.FogEnvironment.FogEnd = 10.000000000000000000
  70. Buffer.BackgroundColor = clNavy
  71. FieldOfView = 158.269744873046900000
  72. PenAsTouch = False
  73. Anchors = [akLeft, akTop, akRight, akBottom]
  74. OnMouseDown = GLSceneViewer1MouseDown
  75. TabOrder = 0
  76. ExplicitWidth = 476
  77. ExplicitHeight = 453
  78. end
  79. object BUForward: TButton
  80. Left = 96
  81. Top = 360
  82. Width = 89
  83. Height = 25
  84. Caption = 'Forward (Z/W)'
  85. TabOrder = 1
  86. OnClick = BUForwardClick
  87. end
  88. object BUTurnLeft: TButton
  89. Left = 8
  90. Top = 376
  91. Width = 81
  92. Height = 25
  93. Caption = 'Turn Left (Q/A)'
  94. TabOrder = 2
  95. OnClick = BUTurnLeftClick
  96. end
  97. object BUTurnRight: TButton
  98. Left = 192
  99. Top = 376
  100. Width = 89
  101. Height = 25
  102. Caption = 'TurnRight (D)'
  103. TabOrder = 3
  104. OnClick = BUTurnRightClick
  105. end
  106. object BUBackward: TButton
  107. Left = 96
  108. Top = 392
  109. Width = 89
  110. Height = 25
  111. Caption = 'Backward (S)'
  112. TabOrder = 4
  113. OnClick = BUBackwardClick
  114. end
  115. object SGMap: TStringGrid
  116. Left = 8
  117. Top = 32
  118. Width = 272
  119. Height = 272
  120. BorderStyle = bsNone
  121. ColCount = 16
  122. DefaultColWidth = 16
  123. DefaultRowHeight = 16
  124. FixedCols = 0
  125. RowCount = 16
  126. FixedRows = 0
  127. Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goAlwaysShowEditor]
  128. ScrollBars = ssNone
  129. TabOrder = 5
  130. OnSetEditText = SGMapSetEditText
  131. ColWidths = (
  132. 16
  133. 16
  134. 16
  135. 16
  136. 16
  137. 16
  138. 16
  139. 16
  140. 16
  141. 16
  142. 16
  143. 16
  144. 16
  145. 16
  146. 16
  147. 16)
  148. RowHeights = (
  149. 16
  150. 16
  151. 16
  152. 16
  153. 16
  154. 16
  155. 16
  156. 16
  157. 16
  158. 16
  159. 16
  160. 16
  161. 16
  162. 16
  163. 16
  164. 16)
  165. end
  166. object BBProcess: TButton
  167. Left = 200
  168. Top = 8
  169. Width = 75
  170. Height = 17
  171. Caption = 'Process'
  172. TabOrder = 6
  173. OnClick = BBProcessClick
  174. end
  175. object CBAuto: TCheckBox
  176. Left = 152
  177. Top = 8
  178. Width = 41
  179. Height = 17
  180. Caption = 'Auto'
  181. TabOrder = 7
  182. end
  183. object CBFog: TCheckBox
  184. Left = 640
  185. Top = 8
  186. Width = 49
  187. Height = 17
  188. Caption = 'Fog'
  189. TabOrder = 8
  190. OnClick = CBFogClick
  191. end
  192. object GLScene1: TGLScene
  193. Left = 24
  194. Top = 56
  195. object GLLightSource1: TGLLightSource
  196. Ambient.Color = {CDCC4C3ECDCC4C3ECDCC4C3E0000803F}
  197. ConstAttenuation = 1.000000000000000000
  198. Position.Coordinates = {000048420000C8420000C8420000803F}
  199. SpotCutOff = 180.000000000000000000
  200. end
  201. object DummyCube1: TGLDummyCube
  202. Position.Coordinates = {00000000000000000000C0400000803F}
  203. CubeSize = 1.000000000000000000
  204. object GLCamera1: TGLCamera
  205. DepthOfView = 100.000000000000000000
  206. FocalLength = 50.000000000000000000
  207. Position.Coordinates = {000000000000003F000000000000803F}
  208. Left = 264
  209. Top = 144
  210. end
  211. end
  212. object Portal1: TGLPortal
  213. Position.Coordinates = {00000000000000BF000000000000803F}
  214. MaterialLibrary = GLMaterialLibrary1
  215. end
  216. end
  217. object GLMaterialLibrary1: TGLMaterialLibrary
  218. Left = 120
  219. Top = 56
  220. end
  221. object Timer1: TTimer
  222. OnTimer = Timer1Timer
  223. Left = 208
  224. Top = 56
  225. end
  226. object GLCadencer1: TGLCadencer
  227. Scene = GLScene1
  228. SleepLength = 0
  229. OnProgress = GLCadencer1Progress
  230. Left = 24
  231. Top = 120
  232. end
  233. end