home *** CD-ROM | disk | FTP | other *** search
/ MORE WinGames / WINGAMES.iso / yatet / yatetris.fig < prev    next >
Text File  |  1991-09-05  |  3KB  |  149 lines

  1. #---------------------------------------------------------------------------
  2. # YATETRIS.FIG -- An example of a figure description resource.
  3. #                 Definition of the standard Tetris figures.
  4. #
  5. # Each figure description consists of the following fields:
  6. #   - Starting level: This number is the first level in which this figure
  7. #                     will occur.
  8. #   - Representation: Bitcode of the four figure shapes not turned, turned
  9. #                     once, twice, and three times, respectively.
  10. #   - Points:         For each shape its points when figure is on bottom.
  11. #   - Bitmap:         Name of bitmap resource. It *must* be a 16x16 bitmap.
  12. #   - LAST/NOTLAST:   Indicates whether a figure follows (NOTLAST) or not
  13. #                     (LAST)
  14. #
  15. # A '#' leads into a comment, which is finished at end of line.
  16. #
  17. # Version: 1.00 from 07/25/91
  18. # Author: Peter Mueller
  19. #
  20. # This file is part of Yet Another Tetris.
  21. #---------------------------------------------------------------------------
  22.  
  23. #
  24. # ┌────────┐
  25. # └────────┘
  26. #
  27.  
  28. 1                                 # Starting level
  29. 0x02020202                        # Bits for figure - no turn "│"
  30. 0x000F0000                        # Turned once "─"
  31. 0x04040404                        # Turned twice "│"
  32. 0x00000F00                        # Turned three times "─"
  33. 3                                 # Points for not turned
  34. 3                                 # Points for turned once
  35. 3                                 # Points for turned twice
  36. 3                                 # Points for turned three times
  37. redblock                          # That's the bitmap for each block
  38. NOTLAST                           # Not the last figure
  39.  
  40. #
  41. # ┌───┐
  42. # │   │
  43. # └───┘
  44. #
  45.  
  46. 1                                 # Starting level
  47. 0x00060600                        # Not turned "■"
  48. 0x00060600                        # Turned once "■"
  49. 0x00060600                        # Turned twice "■"
  50. 0x00060600                        # ... and three times "■"
  51. 4                                 # Points ...
  52. 4                                 #
  53. 4                                 #
  54. 4                                 #
  55. blueblock                         # Bitmap
  56. NOTLAST                           # Not the last figure
  57.  
  58. #
  59. # ┌─────┐
  60. # └─┐ ┌─┘
  61. #   └─┘
  62. #
  63.  
  64. 1                                 # Starting level
  65. 0x00000702                        # Not turned "┬"
  66. 0x00020302                        # Turned once "├"
  67. 0x00020700                        # Turned twice "┴"
  68. 0x00020602                        # Three times "┤"
  69. 4
  70. 4
  71. 4
  72. 4
  73. greenblock                        # Its bitmap
  74. NOTLAST
  75.  
  76. #
  77. # ┌─┐
  78. # │ │
  79. # │ └─┐
  80. # └───┘
  81. #
  82.  
  83. 1
  84. 0x00020203
  85. 0x00010700
  86. 0x00060202
  87. 0x00000704
  88. 4
  89. 4
  90. 4
  91. 4
  92. lgrayblock
  93. NOTLAST
  94.  
  95. #
  96. #   ┌─┐
  97. #   │ │
  98. # ┌─┘ │
  99. # └───┘
  100. #
  101.  
  102. 1
  103. 0x00020206
  104. 0x00000701
  105. 0x00030202
  106. 0x00040700
  107. 4
  108. 4
  109. 4
  110. 4
  111. yellowblock
  112. NOTLAST
  113.  
  114. #
  115. # ┌───┐
  116. # └─┐ └─┐
  117. #   └───┘
  118. #
  119.  
  120. 1
  121. 0x00060300
  122. 0x00020604
  123. 0x00000603
  124. 0x00010302
  125. 5
  126. 4
  127. 5
  128. 4
  129. grayblock
  130. NOTLAST
  131.  
  132. #
  133. #   ┌───┐
  134. # ┌─┘ ┌─┘
  135. # └───┘
  136. #
  137.  
  138. 1
  139. 0x00030600
  140. 0x00040602
  141. 0x00000306
  142. 0x00020301
  143. 1
  144. 2
  145. 3
  146. 4
  147. magentablock
  148. LAST                              # This is last figure
  149.