home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / geo_demo / csc5.frm (.txt) < prev    next >
Visual Basic Form  |  1992-07-17  |  38KB  |  909 lines

  1. XView
  2. CyberSpace Cruiser
  3. ppppp
  4. Form1
  5. Picture7
  6. CommText
  7. Picture2
  8.     RunButton
  9. Spare
  10. StopButton
  11. Spare
  12. ExitButton
  13. Picture1
  14. PanUDScroll
  15. ViewPic
  16. Picture4
  17. BackForScroll
  18. Picture5
  19. Label1
  20. Label1
  21. Label2
  22. Label2
  23. Label3
  24. Label3
  25. Label4
  26. Label4
  27. Label5
  28. Label5
  29. SCCheck
  30. Spin the cube
  31. AFButton
  32. Picture3
  33. PanLRScroll    
  34. PlusButton
  35. MinusButton
  36. MenuFile
  37. &File
  38. FileExit
  39. E&xit
  40. MenuAction
  41. &Action
  42. ActionJump
  43. &Jump to Coordinate
  44. JumpAbsolute
  45.     &Absolute
  46.     AbsoluteX
  47.     AbsoluteY
  48.     AbsoluteZ
  49. JumpRelative
  50.     &Relative
  51.     RelativeX
  52.     RelativeY
  53.     RelativeZ
  54. MenuView
  55. &View
  56. ViewFine
  57. &Fine Position Controls
  58. ViewAboutFace
  59. &About Face Button
  60. MenuHelp
  61. &Help
  62.     HelpUsing
  63. &Using CyberSpace Cruiser
  64. HelpViewport
  65. The &Viewport
  66. HelpHyphen1
  67. %    HelpAbout
  68. &About CyberSpace Cruiser
  69. Form_Clickq
  70. CircInterSect
  71. Sigma1+
  72. Sigma2
  73. PartA
  74. PartB
  75. Sigma
  76. PartC.
  77. Command1_Click"
  78. Command2_Click
  79. GeoPic
  80. Command3_Click
  81. ExitButton_Click
  82. ClearButton_Click
  83. TestButton_Click
  84.     drawWidthK
  85. sfAngle1
  86.     dfLinkLen
  87. dfLever2LenU
  88.     dfLever2X
  89.     dfLever2Y
  90. DrawMech
  91.     LeverEndX
  92.     LeverEndY7
  93. MechPic
  94. VScroll1U
  95. valueA
  96. @    Form_Load
  97. RunButton_Click
  98. VScroll1_Change$
  99. iAnglec
  100.     RunButton
  101. enabled
  102. StopButtonL
  103. TestButton
  104. StopButton_Click
  105. VScroll2_ChangeH
  106. dfLever2
  107. VScroll2
  108. VScroll1_GotFocus
  109. ExitButton
  110. VScroll2_GotFocusd
  111. Form_Paint-
  112. BorderBoxRaised
  113. Picture1C
  114. Picture2
  115. Picture3
  116. CubeOpt_Click
  117. CubeOpts
  118. ScaleWidth
  119. ScaleHeight
  120. ScaleTopb
  121.     scaleleft
  122. LinkOpt_ClickZ
  123. LinkOpt7
  124. smallchange
  125. largechange
  126. DrawAxis
  127. Alpha
  128. iEraseB
  129. sfAlpha
  130. sfBeta
  131. singe>
  132. dfCubeVertX
  133. dfCubeVertY
  134. dfCubeVertZ:
  135. GeoPic_Click
  136.     drawstyle
  137. DrawCube
  138.     CubeVertX
  139.     CubeVertY
  140. RotateCubeI
  141.     ForeColor
  142. Rotate
  143. Theta
  144. Theta1
  145. RotatePoint
  146. SolidRotate.
  147. dfAlpha
  148. dfBetae
  149. dfCubeVertX0u
  150. dfCubeVertY0
  151. dfCubeVertZ0
  152. dfCubeVertX1
  153. dfCubeVertY1
  154. dfCubeVertZ1X
  155. NewCube3
  156. dfCubeVert0g
  157. CenterOfRotation]
  158. dfCubeVert16
  159. Printed)    
  160. RunCubeRotationK    
  161. Visible
  162. WipeNewCube
  163. enable<
  164.     CircInter
  165. ViewPic
  166. XView
  167. ViewPic_Click
  168. Picture4
  169. Label1
  170. caption
  171. Label2
  172. Label3
  173. sfViewPointX
  174. sfViewPointY
  175. sfViewPointZ+
  176. sfWinPointX8
  177. sfWinPointYE
  178. sfWinPointZR
  179.     sfRPointX_
  180.     sfRPointYl
  181.     sfRPointZ
  182.     sfSPointX
  183.     sfSPointYI
  184.     sfSPointZ
  185.     sfAzimuth~
  186. sfElevation
  187. PanUDScroll_Change
  188. PanUDScroll#
  189. Label4t
  190. Label5
  191. PanLRScroll_Change_
  192. PanLRScroll
  193. BackForScroll_Change-
  194. OldValue
  195. NewValue
  196. DeltaX
  197. sfOldLinPosp
  198.     DeltaLine
  199. BackForScroll
  200. iOldLinPos
  201. iOldLine
  202. DeltaY
  203. DeltaZ
  204. Travel
  205. Label6
  206. sfWin>
  207. Delta
  208. BackForScrollminE    
  209. iOldAzimuth
  210. iOldUDAnglel
  211. iOldLRAngle
  212. DeltaUD
  213. DeltaElevation?    
  214. DeltaLRW    
  215. DeltaAzimuthp    
  216. DrawView
  217. MakeCube
  218.     sfObjectX
  219.     sfObjectY+
  220.     sfObjectZ
  221. VertexL
  222. iObjectX
  223. iObjectY
  224. iObjectZ
  225.     PlaceCube
  226. PlaceObject)
  227. object
  228. iNumPoints
  229. PxStarg
  230. PyStar>
  231. PzStar%
  232. sfRPointO
  233. sfWinPoint
  234. iObjectT
  235. MakeObject
  236. Shape
  237. left|
  238. OldPx
  239. Staric
  240. OldPy
  241. PxOldU
  242. PyOld>
  243. MinZp
  244. thenViewPic
  245. OriginX
  246. OriginY
  247. OriginZ
  248. Label7
  249. NewXo
  250. NewZO
  251. PzOld
  252. PlaceAllObjects
  253. ObjNum
  254. bThen
  255. ObjTyp
  256. Static0PxOld
  257.     PointXold
  258.     PointYoldd
  259.     Color4Bit
  260. SizeFactor&
  261. IfThen
  262.     PointZold
  263. NumObjects6
  264. distance
  265. DSquaredI
  266.     LocationX
  267.     LocationY
  268.     LocationZ|
  269. SortX
  270. objects-
  271. their
  272.     distances
  273. squared
  274. ObjOrder
  275. NumVendors
  276. sVendor9
  277. Temp1
  278. Temp2
  279. Company
  280. Temp35
  281. Address
  282. Temp4O
  283. Temp5
  284. Temp6
  285. State
  286. Temp7Z
  287. Temp8
  288. TechSpt
  289. Temp9/
  290. Sales
  291. Temp10E
  292. CustServ
  293. Temp11
  294. Country-
  295. Temp12b
  296. Contact
  297. DefineAllObjects
  298. ObjectTypel
  299. Color
  300. ObjType
  301. printDSquared
  302. SphereXOld
  303. SphereYOld+
  304. SphereZOld
  305.     MapRadius
  306.     fillstype8
  307.     FillColor5
  308.     fillstylee
  309. qbcolor7
  310. sfArcSinT
  311. MakeObjects
  312.     OldRadiusf
  313. LetterAfbXoldw
  314. LetterAfbYold
  315. LetterAfbZold
  316. TestForFlatLine
  317. iFlatLined
  318. FlatLine
  319.     backcolor
  320. Letter
  321. Fronte
  322. LineXold
  323. LineYoldH
  324. LineZold
  325. LetterIfbXold#
  326. LetterIfbYold4
  327. LetterIfbZoldD
  328. LetterSfXoldT
  329. LetterSfYoldd
  330. LetterSfZolds
  331. LetterTXold
  332. LetterTYold
  333. LetterTZoldj
  334.     FlatLined
  335. LetterYXold
  336. LetterYYold
  337. LetterYZoldk
  338. BorderBoxRecessed6
  339. Picture5
  340. LetterWXold
  341. LetterWYold
  342. LetterWZold
  343. CrossWordCubesJ
  344. BlueAI
  345. BFScrollHandlerZ
  346. BFScrollResumez
  347. GuardDiamondsz
  348. DiamondXold
  349. DiamondYold
  350. DiamondZold$
  351. Text1
  352. iPuzzleMode
  353. LocationModesV
  354.     iNumCells
  355.     iCellSize
  356. ViewPic_MouseDownY
  357. Button
  358. Shift
  359.     iCellLocX
  360.     iCellLocY
  361. iCurrentCell
  362. debubq
  363. ViewPic_KeyPress
  364. KeyAscii
  365. iNumObjects
  366. NumCellsQ
  367. LetterArcheType
  368. GetLetterQuadrature
  369. GetLetterQuad
  370.     ViewAngleF
  371. location
  372. LetterBXold
  373. LetterBYoldq
  374. LetterBZold
  375. iAIindex
  376. iAInum
  377. iObjectType
  378. iLetterArcheType
  379. iLocationXj
  380. iLocationY
  381. iLocationZ
  382. iColorO
  383. iColor4Bit
  384. QBiColor
  385. filliColor_
  386. BackiColor
  387. sfSize
  388. iCellsfSize
  389. sfSizeFactor
  390. liDSquared
  391.     iObjOrder
  392.     ScaleMode^
  393. AutoRedraw
  394.     FloodFillc
  395. sfPSF,
  396. FillSqXold:
  397. FillSqYoldH
  398. FillSqZold
  399. Screen
  400. height
  401. currentx
  402. currenty,
  403. FloodX
  404. FloocY
  405. FloodYY
  406. FlodPic
  407. CenterXstar
  408. CenterYstarj
  409. CenterZstarw
  410. BailOut
  411. OldCx
  412. OldCy
  413. OldCz
  414. Skip(
  415.     SkipPlace
  416.     SkipErase
  417. iSkip
  418. thenPlaceObject
  419.     iSkipPrevw
  420. iObjTypeX
  421.     iSkipThen
  422. notiSkipPrev
  423. iInView
  424. iInViewPrev
  425. inView8
  426. sfAvX3
  427. sfAvY
  428. sfAvZ
  429. PointalistXold
  430. PointalistYold
  431. PointalistZold
  432. PyXtar
  433. mousepointer|
  434. BigRedCube
  435. PointNumG
  436. LetterCXoldV
  437. LetterCYold
  438. LetterCZold
  439. FileExit_Click
  440. MenuEdit_Click
  441. HelpAbout_Click
  442. intellectual
  443. Picture6
  444. paint
  445. ViewPic_paint(
  446. EraseBoxF
  447. BoxEraseT
  448. ClueText
  449. text(
  450. LetterDXold7
  451. LetterDYoldO
  452. LetterDZold
  453. width^
  454. LetterEXoldm
  455. LetterEYold
  456. LetterEZold
  457. Picture7
  458. PicBorderBoxRecessed
  459. ClueBoxI
  460. CommText
  461. LetterFXold
  462. LetterFYold
  463. LetterFZold
  464. ClueAu
  465. iJump
  466. LetterGXold
  467. LetterGYold+
  468. LetterGZold:
  469. LetterJXoldI
  470. LetterJYoldj
  471. LetterJZold
  472. ViewReal_Clicky
  473. LetterKXold
  474. LetterKYold
  475. LetterKZold
  476. LetterLXold
  477. LetterLYold
  478. LetterLZold
  479. LetterMXold
  480. LetterMYold
  481. LetterMZold
  482. LetterNXold
  483. LetterNYold
  484. LetterNZold-
  485. LetterOXold<
  486. LetterOYoldK
  487. LetterOZoldZ
  488. LetterPXoldi
  489. LetterPYold>
  490. LetterPZold
  491. LetterA
  492. LetterB
  493. LetterCQ
  494. LetterY
  495. LetterWI
  496. LetterT
  497. LetterS
  498. LetterP
  499. LetterO
  500. LetterN
  501. LetterM
  502. LetterL
  503. LetterK
  504. LetterJ
  505. LetterH
  506. LetterG
  507. LetterF
  508. LetterE
  509. LetterDh
  510. LetterQ
  511. LetterR
  512. LetterX
  513. LetterU
  514. CubeSurface
  515. ClueD
  516. svViewPointZ'
  517. ViewFine_Click
  518. ViewFine
  519. checked    
  520. PlusButton
  521. MinusButton~
  522. PlusButton_Click
  523. MinusButton_Click
  524. HelpUsing_Click4
  525. HelpPlaying_Clicka
  526. HelpStoring_Click
  527. itemm
  528. ActionJump_Click
  529. ActionLog_Click
  530. Result
  531.     sUserName<
  532. PassWord
  533.     ActionLog,
  534. FileOpen
  535. FileSave
  536. FilePrint_ClickK
  537. printer1
  538. FileSave_Click
  539. iLevelC
  540. FileSaveHandlerV
  541. FileSaveResume
  542. iDirty
  543. FileOpen_Click
  544. FileOpenHandler
  545. FileOpenResume
  546. oriLetterArcheType
  547. StartUp
  548. Form_Resize
  549. CyberSpaceg
  550. Cruisers
  551. QuadOldX
  552. QuadOldY
  553. QuadOldZ
  554. Points
  555. PointAPIY
  556. Polygon
  557. MakeLetters
  558. YellowClusteru
  559. IvoryTower
  560. iMoveDisable/
  561. iOldLinePos
  562. lOldLinPos
  563. lNewLinPos(
  564. iOldChange
  565. DeltaScroll
  566. iOldScroll
  567. iReWind
  568. ViewAboutFace_Click
  569. AFButton
  570. ViewABoutFaceH
  571. AFButton_Click
  572. TempVert
  573. TempHort<
  574. iAboutFace
  575. Picture7_Click
  576. ViewPic_DblClickT
  577.     DeltaVerte
  578. sfMDownXw
  579. sfMDownY
  580.     DeltaHort
  581. HelpViewport_Click/
  582. PointCubes!
  583. RadiusT
  584. Alphsk
  585. sfDSquared
  586. NewHort
  587. Square
  588. center
  589.     viewpointM
  590. iLocOKG
  591. TempX%
  592. Tempy
  593. TempzJ 
  594. sUser1
  595. ActionJump8
  596. AbsoluteX_ClickA
  597. LocOK`
  598. AbsoluteY_Click
  599. InputBoYA
  600. AbsoluteZ_Click
  601. RelativeZ_Click
  602. RelativeX_Click
  603. RelativeY_Click
  604. TriangleOldX
  605. TriangleOldY
  606. TriangleOldZ
  607. Pyramids;
  608.     iGraduate
  609. ClueText_ChangeY
  610. EditCopy_Click
  611. dfArcSinS
  612. ThreeDXForm
  613. ViewPX
  614. ViewPY
  615. ViewPZ: 
  616. WinPX
  617. WinPY
  618. WinPZ
  619. SPZT 
  620. MapToWindow
  621. Form_Unload
  622. Cancel
  623. Start
  624. Finish| 
  625. Interval
  626. Timer1p @
  627. SpinningCube
  628. iSCNume @
  629. SCCheck_Click
  630. SCCheck
  631. SpinCube
  632. 3D CyberSpace viewer from...
  633. Ivory Tower Software
  634. Richard Wagner
  635. CIS 76427,2611
  636. Copyright 1992, all rights reserved.
  637. You may use this VB source code in your programs if you include attribution in yourr
  638. startup and "about" screens in the form: "Portions of this program copyright byt
  639. Ivory Tower Software, used with permission," or a similar phrase..
  640. If you do use this source code in your application, please let us know. We would like to
  641. take a look at it. Your comments and suggestions for improving this software are
  642. welcome.
  643. Carriage return linefeed combination
  644. View direction, vertical axis, single floating point
  645. View direction, horizontal axiss
  646. Previous LR angle in degrees, integero
  647. Previous UD angle in degrees
  648. Mouse down X for PicView double click eventi
  649. Mouse down Y for PicView double click event     
  650. ExitButton_Click
  651. Form_Load
  652. left = 0
  653.  Azimuth = 0
  654.  Inclination = 0
  655. Welcome to cyberspace. Some pyramids are straight ahead.
  656.  Use the vertical scroll bar to the right of the viewport"
  657.  to move forward.
  658. Form_Paint
  659. PanLRScroll_Change
  660.  Azimuth = "
  661. Convert single-precision parameters to double precision for call to DLL:
  662. Convert back to single precision:
  663. PanUDScroll_Change
  664.  Inclination = "
  665. Convert single-precision parameters to double precision for call to DLL:
  666. Convert back to single precision:
  667. BackForScroll_Change
  668. On Error GoTo BFScrollHandlerl
  669.  X = "
  670. ####0"
  671.  Y = "
  672. ####0"
  673.  Z = "
  674. ####0"
  675. Error in BackForScroll: 
  676. DefineAllObjects
  677. Each object in cyberspace is defined by:
  678. Object Numberu
  679. Object Typee
  680. Center X
  681. Center Y
  682. Center Z
  683. qbcolor
  684. sfSize Factor
  685. iNumObjects = total number of objects in cyberspacea
  686. The big red cube
  687. A cluster of 100 random points
  688. A tall white structure
  689. Mysterious solids in cyberspace
  690. An animated wireframe object
  691. MakeObjects
  692. Make prototype objects.t
  693. Coordinates are in object space. Center objects about 0,0,0 in object space.
  694. Object sfSizes, locations and iColors are assigned in DefineAllObjects.
  695. The nominal size of an object is 100 CLUs in its major dimension.l
  696. These object-primitives are defined about 0, 0, 0  in their own object-spaces.
  697. They are later translated to cyberspace as needed, each being called by itsi
  698. object type:
  699. Object type 0, Point:
  700. Object type 1, Wireframe Cube:
  701. Vertex 1:p
  702. Vertex 2:    
  703. Vertex 3:    
  704. Vertex 4:    
  705. Vertex 5:    
  706. Vertex 6:
  707. Vertex 7:
  708. Vertex 8:
  709. Object type 13, Filled Square in XY planea
  710. Object type 14, Filled Square YZ
  711. Object type 15, Filled Square XZ
  712. Object type 16, Filled Tall Rectangle (80 x 100) in XY plane
  713. Object type 17, Filled Tall Rectangle (80 x 100) in  YZp
  714. Object type 18, Filled Tall Rectangle (60 x 100) in XY plane
  715. Object type 19, Filled Tall Rectangle (60 x 100) in  YZp
  716. Object type 22, Filled Pyramid Facet +X, +Z (shift center -x, -z))
  717. Object type 23, Filled Pyramid Facet -X, +Z (shift center +x, -z
  718. Object type 24, Filled Pyramid Facet -X, -Z
  719. Object type 25, Filled Pyramid Facet +X, -Z
  720. Object type 26, Filled Diamond XZ (pyramid base)
  721. Object type 43, Globular Cluster:
  722. Object type 44, Spinning Wireframe Cube:
  723. Vertex 1:p
  724. Vertex 2:    
  725. Vertex 3:    
  726. Vertex 4:    
  727. Vertex 5:    
  728. Vertex 6:
  729. Vertex 7:
  730. Vertex 8:
  731. LocationModes
  732. Depending on where you are in cyberspace, different events can occur...n
  733. Big Red Cube:
  734. The big red cube is rumored to contain a fabulous wealth
  735.  of software and data.
  736. Entry to this space is prohibited.
  737. Ivory Tower:
  738. The tall white structure is one of the largest objects
  739.  in cyberspace, measuring 3000 CLUs high."
  740. Entry to this space is prohibited.
  741. Pyramids:
  742. The two pyramids are rather small structures in cyberspace,"
  743.  the taller one being only 50 CLUs high.
  744.  No one has ever been able to enter them, so no one knows what's
  745.  inside them, or who they belong to.
  746. Entry to this space is prohibited.
  747. ViewPic_MouseDown
  748. BigRedCube
  749. This sub defines the object-primitives for the Big Red Cube in cyberspace.
  750. Each object is defined in its own object-space centered on 0, 0, 0.0
  751. A nominal object in has a size of 100 cyberspace linear units (CLUs).L
  752. The cube is an assemblage of filled squares, each 10 times bigger than nominal.
  753. Filled Square XY
  754. Fill color, edges will be black,
  755. 10 times nominal
  756. FileExit_Click
  757. HelpAbout_Click
  758. CyberSpace Cruiser demo version 1.09, July 17, 1992"
  759. Copyright 1992 by Ivory Tower Software, all rights reserved.
  760. Cyberspace is a real cartesian space of infinite extent, and
  761.  was first described in the novels of William Gibson."
  762.  Now Ivory Tower's CyberSpace Cruiser lets any Microsoft Windows computer"
  763.   msg$ = msg$ + " user 'jack in' to cyberspace. A fast machine is highly recommended." + crlf + crlf
  764. This program is freeware. You may copy it freely and anyone may run it at"
  765.  no cost on any machine.
  766. Your comments and suggestions are welcome. Contact Ivory Tower Software"
  767.  via CompuServe mail 76427,2611.
  768. About CyberSpace Cruiser
  769. ViewFine_Click
  770. Use the fine position controls to move to an exact point in cyberspace."
  771.  The '+1' button will move you forward one Cyberspace Linear
  772.  Unit (CLU). The '-1' button will move you backward one CLU.
  773. PlusButton_Click
  774. MinusButton_Click
  775. HelpUsing_Click
  776. CyberSpace Cruiser allows a human being to view and maneuver through cyberspace.
  777.  The viewport gives a 51 degree view angle forward. The scrollbar"
  778.  to the right of the viewport moves the user's view point forward and"
  779.  backward through cyberspace. Move the thumb button up to go forward."
  780.  Each click on the scroll arrow moves the view point 10 cyberspace linear"
  781.  units (CLUs). Each click in the scrollbar itself moves the view point 100
  782.  CLUs. The user's position in cyberspace is displayed at all times just"
  783.  below the 'Exit' button."
  784.  The scrollbar at the botton of the viewport controls the user's
  785.  view azimuth (pans left and right) and the scrollbar to the left of the
  786.  viewport controls the user's view inclination (pans up and down). The
  787.  view angles move in one and ten degree increments."
  788.  To travel in cyberspace, adjust the view direction until the destination"
  789.  point is near the center of the viewport. Then move forward until the
  790.  point is reached.
  791.  'CyberSpace Cruiser' is a trademark of Ivory Tower Software."
  792. Using CyberSpace Cruiser
  793. YellowCluster
  794. Globular cluster
  795. QBcolor 
  796. IvoryTower
  797. 0b    \    
  798. This sub creates the white tower object-set:
  799. Base Cube:
  800. Filled Square XY
  801. Filled Square XY
  802. Filled Square YZ
  803. Filled Square YZ
  804. Filled Square XZ
  805. Filled Square XZ
  806. Second story:r
  807. Tall Rectangle XY
  808. Tall Rectangle XY
  809. Tall Rectangle YZ
  810. Tall Rectangle YZ
  811. Filled Square XZ
  812. Third story:
  813. Tall Rectangle XY
  814. Tall Rectangle XY
  815. Tall Rectangle YZ
  816. Tall Rectangle YZ
  817. Filled Square XZ
  818. ViewAboutFace_Click
  819. Use the 'About Face' button to rotate to look behind you."
  820. AFButton_Click
  821. ViewPic_DblClick
  822. HelpViewport_Click
  823. The viewport is the large square region of the CyberSpace Cruiser window
  824.  and provides your view into cyberspace. The viewport gives a viewing
  825.  angle of 51 degrees both horizontally and vertically. The viewing
  826.  direction is controlled with the horizontal scroll bar below"
  827.  the viewport and with the vertical scroll bar to the left of the"
  828.  viewport.
  829. If you double click on any point on the viewport, your
  830.  view direction will automatically be adjusted to bring that point
  831.  into the center of the viewport."
  832. The Viewport
  833. AbsoluteX_Click
  834. What is the X coordinate to jump to:
  835. Absolute X Coordinate"
  836. Trying to jump to a forbidden zone
  837.  X = "
  838. ####0"
  839. AbsoluteY_Click
  840. What is the Y coordinate to jump to:
  841. Absolute Y Coordinate"
  842. Trying to jump to a forbidden zone
  843.  Y = "
  844. ####0"
  845. AbsoluteZ_Click
  846. What is the Z coordinate to jump to:
  847. Absolute Z Coordinate"
  848. Trying to jump to a forbidden zone
  849.  Z = "
  850. ####0"
  851. RelativeZ_Click
  852. What is the Z distance to jump:"
  853. Relative Z Coordinate"
  854. Trying to jump to a forbidden zone
  855.  Z = "
  856. ####0"
  857. RelativeX_Click
  858. What is the X distance to jump:"
  859. Relative X Coordinate"
  860. Trying to jump to a forbidden zone
  861.  X = "
  862. ####0"
  863. RelativeY_Click
  864. What is the Y distance to jump:"
  865. Relative Y Coordinate"
  866. Trying to jump to a forbidden zone
  867.  Y = "
  868. ####0"
  869. Pyramids
  870. This sub defines the pyramids as aggregates of filled triangles and squares:
  871. First Pyramid:
  872. Triangle +X, +Z 
  873. Fill color, edges will be blackY
  874. Triangle -X, +Z 
  875. Fill color, edges will be blackY
  876. Triangle -X, -Z 
  877. Fill color, edges will be blackY
  878. Triangle +X, -Z 
  879. Fill color, edges will be blackY
  880. Pyramid base
  881. set below the apex
  882. Fill color, edges will be blackY
  883. Second Pyramid:l
  884. Triangle +X, +Zd
  885. Fill color, edges will be blackY
  886. ffffff
  887. Triangle -X, +Z 
  888. Fill color, edges will be blackY
  889. ffffff
  890. Triangle -X, -Z 
  891. Fill color, edges will be blackY
  892. ffffff
  893. Triangle +X, -Z 
  894. Fill color, edges will be blackY
  895. ffffff
  896. Pyramid base
  897. set below the apex
  898. Fill color, edges will be blacko
  899. ffffff
  900. Form_Unload
  901. This is necessary in this program: applications with multiple forms need to 
  902. have "end" in the Unload procedure of their main forms. This gets around a VB 
  903. bug which can either leave orphan hidden forms in memory, or crash Windows
  904. if you try to exit windows and unload forms from the main form on Windows close.
  905. SpinningCube
  906. WireFrame Cube
  907. Spinning Cube object number for location change in Timer event:
  908. SCCheck_Click
  909.