home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt: Spezial 1
/
CDD_SPIELE_.ISO
/
wingames
/
yatetris
/
yatetris.fig
< prev
next >
Wrap
Text File
|
1994-03-15
|
3KB
|
149 lines
#---------------------------------------------------------------------------
# YATETRIS.FIG -- An example of a figure description resource.
# Definition of the standard Tetris figures.
#
# Each figure description consists of the following fields:
# - Starting level: This number is the first level in which this figure
# will occur.
# - Representation: Bitcode of the four figure shapes not turned, turned
# once, twice, and three times, respectively.
# - Points: For each shape its points when figure is on bottom.
# - Bitmap: Name of bitmap resource. It *must* be a 16x16 bitmap.
# - LAST/NOTLAST: Indicates whether a figure follows (NOTLAST) or not
# (LAST)
#
# A '#' leads into a comment, which is finished at end of line.
#
# Version: 1.00 from 07/25/91
# Author: Peter Mueller
#
# This file is part of Yet Another Tetris.
#---------------------------------------------------------------------------
#
# ┌────────┐
# └────────┘
#
1 # Starting level
0x02020202 # Bits for figure - no turn "│"
0x000F0000 # Turned once "─"
0x04040404 # Turned twice "│"
0x00000F00 # Turned three times "─"
3 # Points for not turned
3 # Points for turned once
3 # Points for turned twice
3 # Points for turned three times
redblock # That's the bitmap for each block
NOTLAST # Not the last figure
#
# ┌───┐
# │ │
# └───┘
#
1 # Starting level
0x00060600 # Not turned "■"
0x00060600 # Turned once "■"
0x00060600 # Turned twice "■"
0x00060600 # ... and three times "■"
4 # Points ...
4 #
4 #
4 #
blueblock # Bitmap
NOTLAST # Not the last figure
#
# ┌─────┐
# └─┐ ┌─┘
# └─┘
#
1 # Starting level
0x00000702 # Not turned "┬"
0x00020302 # Turned once "├"
0x00020700 # Turned twice "┴"
0x00020602 # Three times "┤"
4
4
4
4
greenblock # Its bitmap
NOTLAST
#
# ┌─┐
# │ │
# │ └─┐
# └───┘
#
1
0x00020203
0x00010700
0x00060202
0x00000704
4
4
4
4
lgrayblock
NOTLAST
#
# ┌─┐
# │ │
# ┌─┘ │
# └───┘
#
1
0x00020206
0x00000701
0x00030202
0x00040700
4
4
4
4
yellowblock
NOTLAST
#
# ┌───┐
# └─┐ └─┐
# └───┘
#
1
0x00060300
0x00020604
0x00000603
0x00010302
5
4
5
4
grayblock
NOTLAST
#
# ┌───┐
# ┌─┘ ┌─┘
# └───┘
#
1
0x00030600
0x00040602
0x00000306
0x00020301
1
2
3
4
magentablock
LAST # This is last figure