' What is the fastest way to draw a 2-color 8x8 tile,
' where the 2 colors (foreground, background)
' are variable?
' ################################################################################################################################################################
' #CONSTANTS = GLOBAL CONSTANTS
' BOOLEAN VALUES
' ################################################################################################################################################################
' #UDT #TYPES = USER DEFINED TYPES
' UDT TO HOLD COLOR CODE INFO
' UDT FOR PRECALCULATED TILESHEET
' UDT FOR PRECALCULATED TILE MAP
' ################################################################################################################################################################
' #VARS = GLOBAL VARIABLES
' ENABLE / DISABLE DEBUG CONSOLE
' BASIC PROGRAM METADATA
' USED BY TIMER
' =============================================================================
' LOCAL VARIABLES
' ****************************************************************************************************************************************************************
' ACTIVATE DEBUGGING WINDOW
_Echo "Started " + m_ProgramName$
' ****************************************************************************************************************************************************************
' =============================================================================
' START THE MAIN ROUTINE
main
'GeneratePset8BitPatternCode
' =============================================================================
' FINISH
'Print m_ProgramName$ + " finished."
'Input "Press <ENTER> to continue", in$
' ****************************************************************************************************************************************************************
' DEACTIVATE DEBUGGING WINDOW
' ****************************************************************************************************************************************************************
System ' return control to the operating system
' /////////////////////////////////////////////////////////////////////////////
' FOR SCREEN AND GRAPHICS
' FOR PRECALCULATED TILESHEET
ReDim arrTileSheet8Map
(255) As TileSheetMapType
ReDim arrTile8Map
(128, 96) As TileMapType
' TEST COUNTS
Dim iDrawBoxLineCount
As Long : iDrawBoxLineCount
= 0 Dim iDrawBoxDrawCount
As Long : iDrawBoxDrawCount
= 0 Dim iDrawBoxPsetCount
As Long : iDrawBoxPsetCount
= 0 Dim iCircleCount1
As Long : iCircleCount1
= 0 Dim iCircleCount2
As Long : iCircleCount2
= 0 Dim iCircleCount3
As Long : iCircleCount3
= 0 Dim iDrawColorTileCount
As Long : iDrawColorTileCount
= 0 Dim iDrawPrecalcColorTileCount
As Long : iDrawPrecalcColorTileCount
= 0
' OTHER TEST VARIABLES
' TILE V2 VERSION
' TILE V3 VERSION
' ================================================================================================================================================================
' INIT VALUES
' ================================================================================================================================================================
iTestLines = 3
iTimerMax = 3
arrColor(0) = cBlack
arrColor(1) = cRed
arrColor(2) = cLime
arrColor(3) = cBlue
arrColor(4) = cMagenta
arrColor(5) = cYellow
arrColor(6) = cOrange
arrColor(7) = cGray
arrColor(8) = cSilver
arrColor(9) = cWhite
arrColor(10) = cDodgerBlue
arrColor(11) = cCyan
arrColor(12) = cDeepPurple
bgColor = arrColor(0)
' ================================================================================================================================================================
' INITIALIZE GRAPHICS TILES
' ================================================================================================================================================================
' LOAD TILES (16 cols x 16 rows of 8x8 tiles)
' LOAD TILES FROM TEXT DEFINITIONS IN Sub GetTileText
sError = GetTiles$(imgTiles&, cBlack, cEmpty)
' ================================================================================================================================================================
' INITIALIZE GRAPHICS TILES v2
' ================================================================================================================================================================
sError = GetTiles2$(arrTileData())
' ================================================================================================================================================================
' INITIALIZE GRAPHICS TILES v3
' ================================================================================================================================================================
sError = GetTiles3$(arrTileBytes())
' ================================================================================================================================================================
' PRECALCULATE TILESHEET AND SCREEN POSITIONS
' ================================================================================================================================================================
' COMPUTE LOCATIONS FOR 16X16 TILESHEET + SCREEN (FOR GRAPHICS)
TileCount% = 256 ' # OF TILES
TilesheetCols% = 16 ' # OF COLUMNS ON SOURCE TILE SHEET
TilesheetRows% = 16 ' # OF ROWS ON SOURCE TILE SHEET
tileWidthPx% = 8 ' TILE WIDTH
tileHeightPx% = 8 ' TILE HEIGHT
xOffset% = 0 ' SCREEN OFFSET FROM LEFT
yOffset% = 0 ' CREEN OFFSET FROM TOP
numTilesX% = 128 ' HOW MANY TILES ACROSS
numTilesY% = 96 ' HOW MANY TILES UP/DOWN
ComputeTileLocations arrTileSheet8Map(), arrTile8Map(), TileCount%, TilesheetCols%, TilesheetRows%, tileWidthPx%, tileHeightPx%, xOffset%, yOffset%, numTilesX%, numTilesY%
' ================================================================================================================================================================
' LOAD BACKGROUND IMAGE
' ================================================================================================================================================================
Cls , bgColor
' set the background color
' ================================================================================================================================================================
' TILE TEST 2
' ================================================================================================================================================================
'if len(sError)=0 then
AddColors arrColor2()
iStartX = iCols * 0.25
iMaxX = iCols * 0.75
iStartY = iRows * 0.25
iMaxY = iRows * 0.75
iX = iStartX
iY = iStartY
'DrawColorTile imgScreen&, imgTiles&, iNextTile, _
' arrColor2(iColor).value, bgColor, _
' iX, iY, _
' iOffsetX, iOffsetY
DrawTileBoxLine imgScreen&, arrTileData(), _
iNextTile, iX, iY, arrColor2(iColor).value, bgColor
iX = iX + 1
iX = iStartX
iY = iY + 1
iColor = iColor + 1
bContinue = FALSE
' ================================================================================================================================================================
' BEGIN RUN TESTS
' ================================================================================================================================================================
'if len(sError)=0 then
' SETUP TIMER + INITIALIZE TESTS
timerhandle%
= _FreeTimer ' get a timer number from _FREETIMER ONLY! On Timer(timerhandle%
, 1) CheckTime
iStartLine = 0
iStartX
= _Width(0) * 0.25 ' iCols * 0.25 iMaxX
= _Width(0) * 0.75 ' iCols * 0.75 'iStartY = iRows * 0.25
'iMaxY = iRows * 0.75
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' OTHER METHODS?
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TO TRY:
' 4-bit pattern (hexidecimal)?
' 64-bit pattern (would be lots of code, 4096 routines!)
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST COLOR TILES - PSET 8 BYTE 8-BIT PATTERN
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawTileBitPattern8PSET..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 1: iEndColor = 3 : iColor = iStartColor
iNextTile = 65
iStartRow = (iStartY \ 8)
iStartCol = (iStartX \ 8)
iMaxRow = (iMaxY \ 8)
iMaxCol = (iMaxX \ 8)
iRow = iStartRow
iCol = iStartCol
DrawTileBitPattern8PSET imgScreen&, arrTileBytes(), _
iNextTile, iCol, iRow, arrColor(iColor), bgColor
iTileCount5 = iTileCount5 + 1
iCol
= iCol
+ 1 :
if iCol
> iMaxCol
then iCol
= iStartCol : iRow
= iRow
+ 1 :
if iRow
> iMaxRow
then iRow
= iStartRow
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST COLOR TILES - PSET PIXEL-BY-PIXEL
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 10: iEndColor = 12 : iColor = iStartColor
iNextTile = 65
iStartRow = (iStartY \ 8)
iStartCol = (iStartX \ 8)
iMaxRow = (iMaxY \ 8)
iMaxCol = (iMaxX \ 8)
iRow = iStartRow
iCol = iStartCol
DrawTilePSET imgScreen&, arrTileData(), _
iNextTile, iCol, iRow, arrColor(iColor), bgColor
iTileCount4 = iTileCount4 + 1
iCol
= iCol
+ 1 :
if iCol
> iMaxCol
then iCol
= iStartCol : iRow
= iRow
+ 1 :
if iRow
> iMaxRow
then iRow
= iStartRow
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST COLOR TILES - LINE PIXEL-BY-PIXEL
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawTileBoxLine..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 4: iEndColor = 6 : iColor = iStartColor
iNextTile = 65
iStartRow = (iStartY \ 8)
iStartCol = (iStartX \ 8)
iMaxRow = (iMaxY \ 8)
iMaxCol = (iMaxX \ 8)
iRow = iStartRow
iCol = iStartCol
DrawTileBoxLine imgScreen&, arrTileData(), _
iNextTile, iCol, iRow, arrColor(iColor), bgColor
iTileCount3 = iTileCount3 + 1
iCol
= iCol
+ 1 :
if iCol
> iMaxCol
then iCol
= iStartCol : iRow
= iRow
+ 1 :
if iRow
> iMaxRow
then iRow
= iStartRow
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST COLOR TILES - PRECALCULATED
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawColorTileFast..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
AddColors arrColor2()
iStartColor
= lbound(arrColor2
)+2 iEndColor
= ubound(arrColor2
)-2 iColor = iStartColor
iNextTile = 65
iStartRow = (iStartY \ 8) + 1
iStartCol = (iStartX \ 8) + 1
iMaxRow = (iMaxY \ 8) + 1
iMaxCol = (iMaxX \ 8) + 1
iRow = iStartRow
iCol = iStartCol
iStartColor = 10: iEndColor = 12 : iColor = iStartColor
DrawColorTileFast imgScreen&, imgTiles&, _
arrTileSheet8Map(), arrTile8Map(), _
tileWidthPx%, tileHeightPx%, _
iNextTile, arrColor2(iColor).value, bgColor, _
iCol, iRow
iDrawPrecalcColorTileCount = iDrawPrecalcColorTileCount + 1
iCol
= iCol
+ 1 :
if iCol
> iMaxCol
then iCol
= iStartCol : iRow
= iRow
+ 1 :
if iRow
> iMaxRow
then iRow
= iStartRow
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST COLOR TILES
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
AddColors arrColor2()
iStartColor
= lbound(arrColor2
)+2 iEndColor
= ubound(arrColor2
)-2 iColor = iStartColor
iNextTile = 65
iStartRow = iStartY \ 8
iStartCol = iStartX \ 8
iMaxRow = iMaxY \ 8
iMaxCol = iMaxX \ 8
iRow = iStartRow
iCol = iStartCol
iStartColor = 1: iEndColor = 3 : iColor = iStartColor
DrawColorTile imgScreen&, imgTiles&, iNextTile, _
arrColor2(iColor).value, bgColor, _
iCol, iRow, _
iOffsetX, iOffsetY
iDrawColorTileCount = iDrawColorTileCount + 1
iCol
= iCol
+ 1 :
if iCol
> iMaxCol
then iCol
= iStartCol : iRow
= iRow
+ 1 :
if iRow
> iMaxRow
then iRow
= iStartRow
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST BOXES - PSET
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 4: iEndColor = 6 : iColor = iStartColor
DrawBoxPset iX, iY, 8, arrColor(iColor)
iDrawBoxPsetCount = iDrawBoxPsetCount + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST BOXES - DRAW
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 1: iEndColor = 3 : iColor = iStartColor
DrawBoxDraw iX, iY, 8, arrColor(iColor)
iDrawBoxDrawCount = iDrawBoxDrawCount + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST BOXES - LINE
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 7: iEndColor = 9 : iColor = iStartColor
DrawBoxLine iX, iY, 8, arrColor(iColor)
iDrawBoxLineCount = iDrawBoxLineCount + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST CIRCLES fcircTopLeft
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 1: iEndColor = 3 : iColor = iStartColor
fcircTopLeft iX, iY, iDiameter, arrColor(iColor)
iCircleCount1 = iCircleCount1 + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST BOXES - DrawCircleOutlineTopLeft
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawCircleOutlineTopLeft..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 4: iEndColor = 6 : iColor = iStartColor
DrawCircleOutlineTopLeft iX, iY, iDiameter, arrColor(iColor), bgColor, 2
iCircleCount2 = iCircleCount2 + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST BOXES - DrawCircleTopLeft
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawCircleTopLeft..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 7: iEndColor = 9 : iColor = iStartColor
DrawCircleTopLeft iX, iY, iDiameter, arrColor(iColor)
iCircleCount3 = iCircleCount3 + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST ARROWS - PSET
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 1: iEndColor = 3 : iColor = iStartColor
PsetLeftArrow iX, iY, arrColor(iColor)
iPsetCount = iPsetCount + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST ARROWS - DrawLeftArrow1
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawLeftArrow1..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 4: iEndColor = 6 : iColor = iStartColor
DrawLeftArrow1 iX, iY, arrColor(iColor)
iDraw1Count = iDraw1Count + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST ARROWS - DrawLeftArrow2
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawLeftArrow2..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 7: iEndColor = 9 : iColor = iStartColor
DrawLeftArrow2 iX, iY, arrColor(iColor)
iDraw2Count = iDraw2Count + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' TEST ARROWS - LINE
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iStartLine = iStartLine + 1
Locate iStartLine
, 1:
Print "Testing DrawLeftArrowLine..." iStartY = (iNumTests*16)+(iStartLine*( (iTestLines+1)*8)): iMaxY = iStartY + (iTestLines*8)
m_iTimerCount = 0 : iX = iStartX : iY = iStartY
iStartColor = 10: iEndColor = 12 : iColor = iStartColor
DrawLeftArrowLine iX, iY, arrColor(iColor)
'DrawA iX, iY, arrColor(iColor)
iLineCount = iLineCount + 1
iX
= iX
+ 8 :
if iX
> iMaxX
then iX
= iStartX : iY
= iY
+ 8 :
if iY
> iMaxY
then iY
= iStartY
iColor
= iColor
+ 1 :
if iColor
> iEndColor
then iColor
= iStartColor
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' CONCLUDE TEST + SHOW RESULTS
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iRow = 1
Locate iRow
, 1 :
Print "DrawTileBitPattern8PSET : " + right$(" " + _Trim$(Str$(iTileCount5
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawTilePSET : " + right$(" " + _Trim$(Str$(iTileCount4
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawTileBoxLine : " + right$(" " + _Trim$(Str$(iTileCount3
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawColorTileFast : " + right$(" " + _Trim$(Str$(iDrawPrecalcColorTileCount
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawColorTile : " + right$(" " + _Trim$(Str$(iDrawColorTileCount
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawBoxPset : " + right$(" " + _Trim$(Str$(iDrawBoxPsetCount
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawBoxDraw : " + right$(" " + _Trim$(Str$(iDrawBoxDrawCount
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawBoxLine : " + right$(" " + _Trim$(Str$(iDrawBoxLineCount
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "fcircTopLeft : " + right$(" " + _Trim$(Str$(iCircleCount1
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawCircleOutlineTopLeft: " + right$(" " + _Trim$(Str$(iCircleCount2
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawCircleTopLeft : " + right$(" " + _Trim$(Str$(iCircleCount3
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "PsetLeftArrow : " + right$(" " + _Trim$(Str$(iPSetCount
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawLeftArrow1 : " + right$(" " + _Trim$(Str$(iDraw1Count
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawLeftArrow2 : " + right$(" " + _Trim$(Str$(iDraw2Count
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 Locate iRow
, 1 :
Print "DrawLeftArrowLine : " + right$(" " + _Trim$(Str$(iLineCount
)), 10) + " in " + cstr$
(iTimerMax
) + " seconds." : iRow
= iRow
+ 1 ' ================================================================================================================================================================
' END RUN TESTS
' ================================================================================================================================================================
' SHOW ERRORS
' WAIT FOR USER TO PRESS A KEY
' =============================================================================
' FREE MEMORY
' =============================================================================
'if len(sError)=0 then
'end if
' /////////////////////////////////////////////////////////////////////////////
GetTilesTest2
' /////////////////////////////////////////////////////////////////////////////
Sub GenerateBitPatterns8Bit
sLine = ""
sLine = sLine + "1"
sLine = sLine + "0"
iCount = iCount + 1
iCount = 0
End Sub ' GenerateBitPatterns8Bit
' /////////////////////////////////////////////////////////////////////////////
Sub GeneratePset8BitPatternCode
sTemplate1 = ""
sTemplate1
= sTemplate1
+ "Sub DrawBitPatternPSET{byte}( _ " + chr$(13) sTemplate1
= sTemplate1
+ " imgScreen&, iCol As Integer, iRow As Integer, _ " + chr$(13) sTemplate1
= sTemplate1
+ " iLine As Integer, _ " + chr$(13) sTemplate1
= sTemplate1
+ " fgColor As _UNSIGNED Long, bgColor As _UNSIGNED Long _ " + chr$(13) sTemplate1
= sTemplate1
+ " )" + chr$(13) sTemplate1
= sTemplate1
+ " Dim iX As Integer : iX = iCol * 8" + chr$(13) sTemplate1
= sTemplate1
+ " Dim iY As Integer : iY = (iRow * 8) + iLine" + chr$(13) sTemplate1 = sTemplate1 + "{template2}"
sTemplate1
= sTemplate1
+ "End Sub ' DrawBitPatternPSET{byte}" + chr$(13)
'sTemplate1 = ""
'sTemplate1 = sTemplate1 + "Sub DrawBitPatternPSET{byte}(imgScreen&, iCol As Integer, iRow As Integer, iLine As Integer, fgColor As _UNSIGNED Long, bgColor As _UNSIGNED Long)" + chr$(13)
'sTemplate1 = sTemplate1 + " Dim iX As Integer : iX = iCol * 8" + chr$(13)
'sTemplate1 = sTemplate1 + " Dim iY As Integer : iY = (iRow * 8) + iLine" + chr$(13)
'sTemplate1 = sTemplate1 + "{template2}"
'sTemplate1 = sTemplate1 + "End Sub ' DrawBitPatternPSET{byte}" + chr$(13)
sTemplate2 = ""
sTemplate2
= sTemplate2
+ " PSET (iX+{bit}, iY), {color}" + chr$(13)
sTemplate1
= Replace$
(sTemplate1
, chr$(13), "<br/>") sTemplate2
= Replace$
(sTemplate2
, chr$(13), "<br/>")
sCode1 = sTemplate1
sCode1
= Replace$
(sCode1
, "{byte}", right$("000" + cstr$
(iByte
), 3))
sCode2 = ""
sLine = sTemplate2
sLine = Replace$(sLine, "{bit}", cstr$(iBit))
sLine = Replace$(sLine, "{color}", "fgColor")
sLine = Replace$(sLine, "{color}", "bgColor")
sCode2 = sCode2 + sLine
sCode1 = Replace$(sCode1, "{template2}", sCode2)
DebugPrint sCode1
DebugPrint ""
iCount = iCount + 1
iCount = 0
Print "Press any key to continue"
Print "Press any key to continue" End Sub ' GeneratePset8BitPatternCode
' /////////////////////////////////////////////////////////////////////////////
' TEMPLATE:
'Sub DrawBitPatternPSET{byte}( _
' imgScreen&, iCol As Integer, iRow As Integer, _
' iLine As Integer_
' fgColor As _UNSIGNED Long, bgColor As _UNSIGNED Long _
' )
' Dim iX As Integer : iX = iCol * 8
' Dim iY As Integer : iY = (iRow * 8) + iLine
'' PSET (iX+{bit}, iY), {color}
' PSET (iX+0, iY), {color}
' PSET (iX+1, iY), {color}
' PSET (iX+2, iY), {color}
' PSET (iX+3, iY), {color}
' PSET (iX+4, iY), {color}
' PSET (iX+5, iY), {color}
' PSET (iX+6, iY), {color}
' PSET (iX+7, iY), {color}
'End Sub ' DrawBitPatternPSET{byte}
' /////////////////////////////////////////////////////////////////////////////
' DrawTilePSET imgScreen&, arrTileData(), _
' iTileNum, iCol, iRow, fgColor, bgColor
)
if arrTileData
(iTileNum
, iY
, iX
) = 1 then 'Line (iStartX+iX, iStartY+iY)-(iStartX+iX, iStartY+iY), fgColor, BF ' Draw a solid box
PSET (iStartX
+iX
, iStartY
+iY
), fgColor
'Line (iStartX+iX, iStartY+iY)-(iStartX+iX, iStartY+iY), bgColor, BF ' Draw a solid box
PSET (iStartX
+iX
, iStartY
+iY
), bgColor
' /////////////////////////////////////////////////////////////////////////////
' DrawTileBoxLine imgScreen&, arrTileData(), _
' iTileNum, iCol, iRow, fgColor, bgColor
)
if arrTileData
(iTileNum
, iY
, iX
) = 1 then Line (iStartX
+iX
, iStartY
+iY
)-(iStartX
+iX
, iStartY
+iY
), fgColor
, BF
' Draw a solid box 'Line -(iStartX+iX, iStartY+iY), fgColor, BF ' Draw a solid box
Line (iStartX
+iX
, iStartY
+iY
)-(iStartX
+iX
, iStartY
+iY
), bgColor
, BF
' Draw a solid box 'Line -(iStartX+iX, iStartY+iY), bgColor, BF ' Draw a solid box
' /////////////////////////////////////////////////////////////////////////////
' Tile method v2, test #2
Dim RoutineName
As String : RoutineName
= "GetTilesTest"
sError = GetTiles2$(arrTileData())
print "Char #" + cstr$
(iLoop
) + ":" sLine = "#"
if arrTileData
(iLoop
, iRow
, iCol
) = 1 then sLine = sLine + "*"
sLine = sLine + " "
sLine = sLine + "?"
sLine = sLine + "#"
print "Press any key to continue" print RoutineName
+ " failed: " + sError
' /////////////////////////////////////////////////////////////////////////////
' Tile method v2
Dim RoutineName
As String : RoutineName
= "GetTilesTest"
sError = GetTiles2$(arrTileData())
print "Char #" + cstr$
(iLoop
) + ":" sLine = "#"
if arrTileData
(iLoop
, iRow
, iCol
) = 1 then sLine = sLine + "*"
sLine = sLine + " "
sLine = sLine + "?"
sLine = sLine + "#"
print "Press any key to continue" print RoutineName
+ " failed: " + sError
' /////////////////////////////////////////////////////////////////////////////
' Tile method v3
' Retrieves tile data and returns it by ref in
' arrTileBytes(tile#, line#) containing 0-255,
' corresponding to the 8-bit byte pattern for that line #
' Returns empty string if successful, else error message if not.
'GetTileText2 arrTileText()
GetTileText arrTileText()
sNextError = CharStringToArray$ ( _
arrTileText(iLoop), _
"2", _
".", _
8, _
8, _
1, _
0, _
-1, _
MyArray(), _
iRowCount, _
iColCount)
arrTileBytes(iLoop, iRowNum-1) = 0
if MyArray
(iRowNum
, iColNum
)=1 then iByte = iColNum-1
arrTileBytes(iLoop, iRowNum-1) = arrTileBytes(iLoop, iRowNum-1) + 2 ^ iByte
print "Error at " + cstr$
(iLoop
) + ": " + sError
GetTiles3$ = sError
' /////////////////////////////////////////////////////////////////////////////
' Tile method v2
' Retrieves tile data and returns it by ref in
' arrTileData(tile#, x pixel, y pixel) containing 1 or 0 for each pixel.
' Returns empty string if successful, else error message if not.
'GetTileText2 arrTileText()
GetTileText arrTileText()
sNextError = CharStringToArray$ ( _
arrTileText(iLoop), _
"2", _
".", _
8, _
8, _
1, _
0, _
-1, _
MyArray(), _
iRowCount, _
iColCount)
arrTileData(iLoop, iRowNum-1, iColNum-1) = MyArray(iRowNum, iColNum)
print "Error at " + cstr$
(iLoop
) + ": " + sError
GetTiles2$ = sError
' /////////////////////////////////////////////////////////////////////////////
'CharStringToArray MyString, MyArray(-1,-1), iRowCount, iColCount
' SPLIT GRAPHIC INTO LINES
split sInput, sDelim, arrLines$()
' COUNT ROWS, COLUMNS
iRowCount = 0
iColCount = 0
FOR iRow
= 0 TO UBOUND(arrLines$
) ' LBOUND(arrLines$) TO UBOUND(arrLines$) iRowCount = iRowCount + 1
iColCount = iColCount + 1
' Exit if out of bounds
sError = "ERROR: Column " + cstr$(iCol) + " exceeds max specified columns " + cstr$(iMaxCols) + "."
' Exit if out of bounds
sError = "ERROR: Row " + cstr$(iRow) + " exceeds max specified rows " + cstr$(iMaxRows) + "."
' POPULATE ARRAY
' SIZE ARRAY TO ACCOMODATE DATA
FOR iRow
= 0 TO UBOUND(arrLines$
) ' LBOUND(arrLines$) TO UBOUND(arrLines$) sNextChar
= MID$(arrLines$
(iRow
), iCol
, 1) MyArray(iRow+1, iCol) = iPixel
MyArray(iRow+1, iCol) = iEmpty
MyArray(iRow+1, iCol) = iUnknown
' RETURN ZERO ROW / COLUMN COUNT IF ERROR
iRowCount = 0
iColCount = 0
' RETURN RESULT
CharStringToArray$ = sError
' /////////////////////////////////////////////////////////////////////////////
m_iTimerCount = m_iTimerCount + 1
' /////////////////////////////////////////////////////////////////////////////
Line (iX
, iY
)-(iX2
, iY2
), fgColor
, BF
' Draw a solid box
' /////////////////////////////////////////////////////////////////////////////
' Syntax: DRAW drawString$
' -----------------------------------------------------------------------------
' * The drawString$ can be DRAW instructions in quotation marks or a STRING variable using DRAW instructions.
' * DRAW starting coordinates can be set using PSET, PRESET, CIRCLE or LINE ending positions.
' * Other graphic objects can be located at or relative to the last DRAW position using STEP.
' * DRAW can inherit colors from other graphic statements such as PSET, LINE and CIRCLE.
' * Draw strings use letters followed by the number of pixels to move, an angle, coordinate or a color value.
' * Draw strings are flexible with spacing. Spacing is not required. DRAW will look for a number value after a valid letter.
' * DRAW statements are not case sensitive.
' - "B" (blind) before a line move designates that the line move will be hidden. Use to offset from a "P" or PAINT border.
' - "C n" designates the color attribute or _RGB string numerical color value to be used in the draw statement immediately after.
' - "M x, y" can move to another coordinate area of the screen. When a + or - sign is used before a coordinate,
' it is a relative coordinate move similar to using the STEP graphics keyword. DRAW "M+=" + VARPTR$(variable%)
' - "N" before a line move designates that the graphic cursor will return to the starting position after the line is drawn.
' - "P f [, b]" is used to paint enclosed objects. f denotes the fill color and b the border color, if needed.
' - "S n" changes the pixel move size of the lines. Default is 4 (1 pixel) minimum. "S8" would double the pixel line moves.
' - "X" + VARPTR$(value) can draw another substring.
' * Certain letter designations create line moves on the SCREEN. Each move is followed by the number of pixels:
' - "D n" draws a line vertically DOWN n pixels.
' - "E n" draws a diagonal / line going UP and RIGHT n pixels each direction.
' - "F n" draws a diagonal \ line going DOWN and RIGHT n pixels each direction.
' - "G n" draws a diagonal / LINE going DOWN and LEFT n pixels each direction.
' - "H n" draws a diagonal \ LINE going UP and LEFT n pixels each direction.
' - "L n" draws a line horizontally LEFT n pixels.
' - "R n" draws a line horizontally RIGHT n pixels.
' - "U n" draws a line vertically UP n pixels.
' * Angles are used to rotate all subsequent draw moves.
' - "A n" can use values of 1 to 3 to rotate up to 3 90 degree(270) angles.
' - TA n" can use any n angle from -360 to 0 to 360 to rotate a DRAW (Turn Angle). "TA0" resets to normal.
' - When VARPTR$ is used, DRAW functions such as TA angles use an equal sign: "TA=" + VARPTR$(angle%)
' * The graphic cursor is set to the center of the program window on program start for STEP relative coordinates.
' * DRAW can be used in any graphic screen mode, but cannot be used in the default screen mode 0 as it is text only.
' - "B" (blind) before a line move designates that the line move will be hidden. Use to offset from a "P" or PAINT border.
' - "M x, y" can move to another coordinate area of the screen. When a + or - sign is used before a coordinate,
' - "R n" draws a line horizontally RIGHT n pixels.
' - "D n" draws a line vertically DOWN n pixels.
' - "L n" draws a line horizontally LEFT n pixels.
' - "U n" draws a line vertically UP n pixels.
' - "N" before a line move designates that the graphic cursor will return to the starting position after the line is drawn.
' - "P f [, b]" is used to paint enclosed objects. f denotes the fill color and b the border color, if needed.
'Dim iSizeMinus1 As Integer : iSizeMinus1 = iSize - 1
' set color
sDraw
= sDraw
+ "C " + STR$(fgColor
)
' lift pen + go to start
sDraw = sDraw + " BM" + cstr$(iX) + "," + cstr$(iY)
' draw horizontal line right
sDraw = sDraw + " R" + cstr$(iSize)
' draw vertical line down
sDraw = sDraw + " D" + cstr$(iSize)
' draw horizontal line left
sDraw = sDraw + " L" + cstr$(iSize)
' draw vertical line up
sDraw = sDraw + " U" + cstr$(iSize)
'' lift pen + move inside box outline
'sDraw = sDraw + "BM" + cstr$(iX + 1) + "," + cstr$(iY + 1)
' fill box
' ERRORS OUT FOR SOME REASON:
'sDraw = sDraw + " P" + cstr$(fgColor)
'locate 1,1 : print sDraw
' /////////////////////////////////////////////////////////////////////////////
' PSET (X, Y), Color
' draw will start where pset leaves off
For iLoopY
= iY
to iY
+ iSizeMinus1
For iLoopX
= iX
to iX
+ iSizeMinus1
PSET (iLoopX
, iLoopY
), fgColor
PSET (iX
+3, iY
+3), fgColor
' /////////////////////////////////////////////////////////////////////////////
' Uses built-in circle routine to draw a circle outline with line thickness 1.
' DrawCircleTopLeft iTopLeftX, iTopLeftY, iDiameter, fgColor
Circle (iTopLeftX
+ iRadius
, iTopLeftY
+ iRadius
), iRadius
, fgColor
'circle with radius of 110 and dark gray
' /////////////////////////////////////////////////////////////////////////////
' Uses fcirc routine to draw a circle outline
' of the specified line thickness.
'
' Works but you have to supply a background color and the inside of the
' circle is not transparent (background color covers what's underneath).
' TODO: copy only the fgColor to the target image
' to preserve background inside the circle.
' DrawCircleOutlineTopLeft iTopLeftX, iTopLeftY, iDiameter, fgColor, bgColor, iThickness
fcirc iCX, iCY, iRadius, fgColor
fcirc iCX, iCY, iRadius, fgColor
fcirc iCX, iCY, iRadius-1, bgColor
fcirc iCX, iCY, iRadius, fgColor
fcirc iCX, iCY, iRadius, fgColor
fcirc iCX, iCY, iRadius-iThickness, bgColor
End Sub ' DrawCircleOutlineTopLeft
' /////////////////////////////////////////////////////////////////////////////
' bplus: The Gold Standard is even better than THE QB64 CIRCLE sub in this respect!
' https://qb64forum.alephc.xyz/index.php?topic=1044.135
' from Steve Gold standard
' Example:
' Screen _NewImage(800, 600, 32)
' _ScreenMove 250, 60
' For r = 250 To 0 Step -60
' fcirc 400, 300, r, _RGBA(255, 255, 255, 100)
' Next r
RadiusError = -Radius
X = Radius
Y = 0
' Draw the middle span here so we don't draw it twice in the main loop,
' which would be a problem with blending turned on.
Line (CX
- X
, CY
)-(CX
+ X
, CY
), C
, BF
RadiusError = RadiusError + Y * 2 + 1
Line (CX
- Y
, CY
- X
)-(CX
+ Y
, CY
- X
), C
, BF
Line (CX
- Y
, CY
+ X
)-(CX
+ Y
, CY
+ X
), C
, BF
X = X - 1
RadiusError = RadiusError - X * 2
Y = Y + 1
Line (CX
- X
, CY
- Y
)-(CX
+ X
, CY
- Y
), C
, BF
Line (CX
- X
, CY
+ Y
)-(CX
+ X
, CY
+ Y
), C
, BF
' /////////////////////////////////////////////////////////////////////////////
' Same as fcirc but accepts coordinates for top left point instead of center
' and diameter for size, instead of radius.
' Example:
' Screen _NewImage(800, 600, 32)
' _ScreenMove 250, 60
' For iLoop = 5 To 1 Step -1
' fcircTopLeft 10, 10, iLoop * 10, _RGBA(255, 255, 255, 100)
' Next iLoop
' fcircTopLeft iTopLeftX, iTopLeftY, iDiameter, fgColor
fcirc iCX, iCY, iRadius, fgColor
' /////////////////////////////////////////////////////////////////////////////
DrawBoxLine iX, iY, 8, fgColor
Line (iX
+4, iY
+1)-(iX
+1, iY
+4), fgColor
', B ' B=outline, BF=solid Line (iX
+4, iY
+1)-(iX
+6, iY
+4), fgColor
', B ' B=outline, BF=solid Line (iX
+1, iY
+4)-(iX
+6, iY
+4), fgColor
', B ' B=outline, BF=solid Line (iX
+1, iY
+4)-(iX
+1, iY
+6), fgColor
', B ' B=outline, BF=solid Line (iX
+6, iY
+4)-(iX
+6, iY
+6), fgColor
', B ' B=outline, BF=solid
' /////////////////////////////////////////////////////////////////////////////
Line (iX
, iStartY
)-(iX
+7, iStartY
), fgColor
', B ' B=outline, BF=solid Line (iX
, iStartY
)-(iX
+3, iY
), fgColor
', B ' B=outline, BF=solid Line (iX
, iStartY
)-(iX
+3, iStartY
+3), fgColor
', B ' B=outline, BF=solid
' /////////////////////////////////////////////////////////////////////////////
' This uses draw with "BM" to move to the start of each line
sDraw = ""
sDraw
= sDraw
+ "C" + STR$(fgColor
) sDraw = sDraw + "BM" + cstr$(iX) + "," + cstr$(iY)
sDraw = sDraw + "R8"
sDraw = sDraw + "BM" + cstr$(iX) + "," + cstr$(iY)
sDraw = sDraw + "F3"
sDraw = sDraw + "BM" + cstr$(iX) + "," + cstr$(iY)
sDraw = sDraw + "E3"
' /////////////////////////////////////////////////////////////////////////////
' This uses draw with "N" to return the cursor to the start of each line
' - "N" before a line move designates that the graphic cursor will return to the starting position after the line is drawn.
sDraw = ""
' select color
sDraw
= sDraw
+ "C" + STR$(fgColor
)
' lift pen + go to start
sDraw = sDraw + "BM" + cstr$(iX) + "," + cstr$(iY)
' draw horizontal line + return to start
sDraw = sDraw + "NR8"
' draw diagonal down + return to start
sDraw = sDraw + "NF3"
' draw diagonal up
sDraw = sDraw + "E3"
' /////////////////////////////////////////////////////////////////////////////
' This uses PSET to draw the arrow pixel-by-pixel
' PSET (X, Y), Color
' draw will start where pset leaves off
For iLoopX
= iX
to iX
+ 7 :
PSET (iLoopX
, iY
), fgColor :
Next iLoopX
PSET (iX
+1, iY
-1), fgColor
PSET (iX
+2, iY
-2), fgColor
PSET (iX
+3, iY
-3), fgColor
PSET (iX
+1, iY
+1), fgColor
PSET (iX
+2, iY
+2), fgColor
PSET (iX
+3, iY
+3), fgColor
' /////////////////////////////////////////////////////////////////////////////
' Convert a value to string and trim it (because normal Str$ adds spaces)
'cstr$ = LTRIM$(RTRIM$(STR$(myValue)))
' /////////////////////////////////////////////////////////////////////////////
' Does a _PrintString at the specified row+column.
' iRow and iCol are 0-based.
' /////////////////////////////////////////////////////////////////////////////
' Does a _PrintString at the specified row+column.
' iRow and iCol are 1-based.
' /////////////////////////////////////////////////////////////////////////////
' FROM: String Manipulation
' found at abandoned, outdated and now likely malicious qb64 dot net website
' http://www.qb64.[net]/forum/index_topic_5964-0/
'
'SUMMARY:
' Purpose: A library of custom functions that transform strings.
' Author: Dustinian Camburides (dustinian@gmail.com)
' Platform: QB64 (www.qb64.org)
' Revision: 1.6
' Updated: 5/28/2012
'SUMMARY:
'[Replace$] replaces all instances of the [Find] sub-string with the [Add] sub-string within the [Text] string.
'INPUT:
'Text: The input string; the text that's being manipulated.
'Find: The specified sub-string; the string sought within the [Text] string.
'Add: The sub-string that's being added to the [Text] string.
' VARIABLES:
Dim lngLocation
As Long ' The address of the [Find] substring within the [Text] string. Dim strBefore
As String ' The characters before the string to be replaced. Dim strAfter
As String ' The characters after the string to be replaced.
' INITIALIZE:
' MAKE COPIESSO THE ORIGINAL IS NOT MODIFIED (LIKE ByVal IN VBA)
Text2 = Text1
Find2 = Find1
Add2 = Add1
lngLocation
= InStr(1, Text2
, Find2
)
' PROCESSING:
' While [Find2] appears in [Text2]...
' Extract all Text2 before the [Find2] substring:
strBefore
= Left$(Text2
, lngLocation
- 1)
' Extract all text after the [Find2] substring:
strAfter
= Right$(Text2
, ((Len(Text2
) - (lngLocation
+ Len(Find2
) - 1))))
' Return the substring:
Text2 = strBefore + Add2 + strAfter
' Locate the next instance of [Find2]:
lngLocation
= InStr(1, Text2
, Find2
)
' Next instance of [Find2]...
' OUTPUT:
Replace$ = Text2
' /////////////////////////////////////////////////////////////////////////////
' Split and join strings
' https://www.qb64.org/forum/index.php?topic=1073.0
'
' FROM luke, QB64 Developer
' Date: February 15, 2019, 04:11:07 AM »
'
' Given a string of words separated by spaces (or any other character),
' splits it into an array of the words. I've no doubt many people have
' written a version of this over the years and no doubt there's a million
' ways to do it, but I thought I'd put mine here so we have at least one
' version. There's also a join function that does the opposite
' array -> single string.
'
' Code is hopefully reasonably self explanatory with comments and a little demo.
' Note, this is akin to Python/JavaScript split/join, PHP explode/implode.
'Split in$ into pieces, chopping at every occurrence of delimiter$. Multiple consecutive occurrences
'of delimiter$ are treated as a single instance. The chopped pieces are stored in result$().
'
'delimiter$ must be one character long.
'result$() must have been REDIMmed previously.
' Modified to handle multi-character delimiters
Sub split
(in$
, delimiter$
, result$
())
iDelimLen
= Len(delimiter$
)
start = 1
'While Mid$(in$, start, 1) = delimiter$
While Mid$(in$
, start
, iDelimLen
) = delimiter$
'start = start + 1
start = start + iDelimLen
finish
= InStr(start
, in$
, delimiter$
)
result$
(UBound(result$
)) = Mid$(in$
, start
, finish
- start
) start = finish + 1
' /////////////////////////////////////////////////////////////////////////////
' CIRCLE.BI
' https://wiki.qb64.org/wiki/Alternative_circle_routine
'**
'** QB64 replacement CIRCLE command.
'**
'** The CIRCLE command in QB64 has a few issues:
'**
'** - radian end points are not calculate properly when creating arcs
'** - center line to radian end points do not close properly due to previous bug listed
'**
'** This circle command replacement works very similiarly to the native CIRCLE command:
'**
'** SYNTAX: CIRCLES x%, y%, radius!, color~&, start_radian!, end_radian!, aspect_ratio!
'**
'** x% - center X coordinate of circle
'** y% - center Y coordinate of circle
'** radius! - the radius of the circle
'** color~& - the circle's color
'** start_radian! - the radian on circle curcunference to begin drawing at
'** end_radian! - the radian on circle circumference to end drawing at
'** aspect_ratio! - the aspect ratio of the circle
'**
'** NOTE: unlike the native CIRCLE command, all arguments MUST be supplied. For example,
'** with the native command this will draw a perfect circle with the default color,
'** start radian, end radian and aspect ratio:
'**
'** CIRCLE (319, 239), 100
'**
'** To do the same thing with this replacement command you must supply everything:
'**
'** CIRCLES 319, 239, 100, _RGB32(255, 255, 255), 0, 0, 0
'**
'** ACKNOWLEGEMENTS: The FOR/NEXT step formula was was written by Codeguy for Unseen
'** Machine's Visual library EllipseXS command. Specifically:
'** MinStep! = 1 / (2 * 3.1415926535 * Radius!)
'**
'**
'** Includes performance tweaks made by SMcNeill on 02/02/13 - specifically removing a few redundant * -1
'** statements and converting the FOR/NEXT loop to a DO loop for a ~3% increase in performance.
'**
'** Corrected bug in which variables being passed in were being modified and passed back - 02/02/13
'**
SUB CIRCLES
(cx%
, cy%
, r!
, c~&
, s!
, e!
, a!
) DIM s%
, e%
, nx%
, ny%
, xr!
, yr!
, st!
, en!
, asp!
' local variables used
st! = s! ' copy start radian to local variable
en! = e! ' copy end radian to local variable
asp! = a! ' copy aspect ratio to local variable
IF asp!
<= 0 THEN asp!
= 1 ' keep aspect ratio between 0 and 4 IF asp!
< 1 THEN xr!
= r!
* asp!
* 4 ELSE xr!
= r!
' calculate x/y radius based on aspect ratio IF st!
< 0 THEN s%
= -1: st!
= -st!
' remember if line needs drawn from center to start radian IF en!
< 0 THEN e%
= -1: en!
= -en!
' remember if line needs drawn from center to end radian IF s%
THEN ' draw line from center to start radian? nx%
= cx%
+ xr!
* COS(st!
) ' yes, compute starting point on circle's circumference ny%
= cy%
+ yr!
* -SIN(st!
) LINE (cx%
, cy%
)-(nx%
, ny%
), c~&
' draw line from center to radian IF en!
<= st!
THEN en!
= en!
+ 6.2831852 ' come back around to proper location (draw counterclockwise) stepp! = 0.159154945806 / r!
c! = st! ' cycle from start radian to end radian
nx%
= cx%
+ xr!
* COS(c!
) ' compute next point on circle's circumfrerence ny%
= cy%
+ yr!
* -SIN(c!
) PSET (nx%
, ny%
), c~&
' draw the point c! = c! + stepp!
IF e%
THEN LINE -(cx%
, cy%
), c~&
' draw line from center to end radian if needed
' /////////////////////////////////////////////////////////////////////////////
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' BEGIN COLOR ARRAY FUNCTIONS
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' /////////////////////////////////////////////////////////////////////////////
arrColor
(UBound(arrColor
)).value
= ColorValue
' /////////////////////////////////////////////////////////////////////////////
Sub AddColors
(arrColor
() As ColorType
) AddColor cBlack, "cBlack", arrColor()
''AddColor cDarkGray, "cDarkGray", arrColor()
''AddColor cDimGray, "cDimGray", arrColor()
AddColor cGray, "cGray", arrColor()
AddColor cSilver, "cSilver", arrColor()
''AddColor cLightGray, "cLightGray", arrColor()
AddColor cWhite, "cWhite", arrColor()
AddColor cRed, "cRed", arrColor()
AddColor cOrangeRed, "cOrangeRed", arrColor()
'AddColor cDarkOrange, "cDarkOrange", arrColor()
'AddColor cOrange, "cOrange", arrColor()
'AddColor cGold, "cGold", arrColor()
AddColor cYellow, "cYellow", arrColor()
'AddColor cOliveDrab1, "cOliveDrab1", arrColor()
AddColor cLime, "cLime", arrColor()
'AddColor cMediumSpringGreen, "cMediumSpringGreen", arrColor()
AddColor cCyan, "cCyan", arrColor()
'AddColor cDeepSkyBlue, "cDeepSkyBlue", arrColor()
AddColor cDodgerBlue, "cDodgerBlue", arrColor()
'AddColor cSeaBlue, "cSeaBlue", arrColor()
AddColor cBlue, "cBlue", arrColor()
'AddColor cBluePurple, "cBluePurple", arrColor()
AddColor cDeepPurple, "cDeepPurple", arrColor()
'AddColor cPurple, "cPurple", arrColor()
'AddColor cPurpleRed, "cPurpleRed", arrColor()
''AddColor cGainsboro, "cGainsboro", arrColor()
''AddColor cWhiteSmoke, "cWhiteSmoke", arrColor()
'AddColor cDarkRed, "cDarkRed", arrColor()
''AddColor cBrickRed, "cBrickRed", arrColor()
AddColor cDarkGreen, "cDarkGreen", arrColor()
'AddColor cGreen, "cGreen", arrColor()
''AddColor cOliveDrab, "cOliveDrab", arrColor()
''AddColor cLightPink, "cLightPink", arrColor()
AddColor cMagenta, "cMagenta", arrColor()
AddColor cHotPink, "cHotPink", arrColor()
'AddColor cDeepPink, "cDeepPink", arrColor()
AddColor cDarkBrown, "cDarkBrown", arrColor()
'AddColor cLightBrown, "cLightBrown", arrColor()
'AddColor cKhaki, "cKhaki", arrColor()
AddColor cEmpty, "cEmpty", arrColor()
' /////////////////////////////////////////////////////////////////////////////
Sub AddGrayscaleColors
(arrColor
() As ColorType
) 'AddColor cBlack, "cBlack", arrColor()
AddColor cDimGray, "cDimGray", arrColor()
AddColor cGray, "cGray", arrColor()
AddColor cDarkGray, "cDarkGray", arrColor()
AddColor cSilver, "cSilver", arrColor()
AddColor cLightGray, "cLightGray", arrColor()
AddColor cWhite, "cGainsboro", arrColor()
AddColor cWhite, "cWhiteSmoke", arrColor()
AddColor cWhite, "cWhite", arrColor()
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' END COLOR ARRAY FUNCTIONS
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' BEGIN COLOR FUNCTIONS
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cOrangeRed
= _RGB32(255, 69, 0)
cDarkOrange
= _RGB32(255, 140, 0)
' LONG-HAIRED FRIENDS OF JESUS OR NOT,
' THIS IS NOT YELLOW ENOUGH (TOO CLOSE TO LIME)
' TO USE FOR OUR COMPLEX RAINBOW SEQUENCE:
cChartreuse
= _RGB32(127, 255, 0)
' WE SUBSTITUTE THIS CSS3 COLOR FOR INBETWEEN LIME AND YELLOW:
cOliveDrab1
= _RGB32(192, 255, 62)
cMediumSpringGreen
= _RGB32(0, 250, 154)
cDeepSkyBlue
= _RGB32(0, 191, 255)
cDodgerBlue
= _RGB32(30, 144, 255)
cBluePurple
= _RGB32(64, 0, 255)
cDeepPurple
= _RGB32(96, 0, 255)
cPurpleRed
= _RGB32(128, 0, 192)
cBrickRed
= _RGB32(192, 0, 32)
cDarkGreen
= _RGB32(0, 100, 0)
cOliveDrab
= _RGB32(107, 142, 35)
cLightPink
= _RGB32(255, 182, 193)
cHotPink
= _RGB32(255, 105, 180)
cDeepPink
= _RGB32(255, 20, 147)
cMagenta
= _RGB32(255, 0, 255)
cDimGray
= _RGB32(105, 105, 105)
cDarkGray
= _RGB32(169, 169, 169)
cSilver
= _RGB32(192, 192, 192)
cLightGray
= _RGB32(211, 211, 211)
cGainsboro
= _RGB32(220, 220, 220)
cWhiteSmoke
= _RGB32(245, 245, 245)
cWhite
= _RGB32(255, 255, 255) 'cWhite = _RGB32(254, 254, 254)
cDarkBrown
= _RGB32(128, 64, 0)
cLightBrown
= _RGB32(196, 96, 0)
cKhaki
= _RGB32(240, 230, 140)
'cEmpty~& = -1
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' END COLOR FUNCTIONS
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' ################################################################################################################################################################
' BEGIN TEST 8X8 COLOR FONT
' ################################################################################################################################################################
' /////////////////////////////////////////////////////////////////////////////
' BASED ON DetectPixelTest3, ReShrinkImage$
' -----------------------------------------------------------------------------
' DECLARATIONS
' -----------------------------------------------------------------------------
' INITIALIZE
' LOAD BACKGROUND IMAGE
Cls , cBlack
' set the background color
' COPY BACKGROUND TO SCREEN
' LOAD TEXT FONT (16 cols x 16 rows of 8x8 tiles)
sFile$ = m_ProgramPath$ + "Font_8x8_#1_128x128.png" ' 128x128 total, 16x16 of 8x8 tiles
' DISPLAY SCREEN
' -----------------------------------------------------------------------------
' PLOT TO SCREEN
'iCols = _Width(0) \ _FontWidth
'iRows = _Height(0) \ _FontHeight
'DebugPrint "iCols = " + cstr$(iCols)
'DebugPrint "iRows = " + cstr$(iRows)
MyString
= "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()-=_+[]{}\|;:'" + Chr$(34) + ",./<>?`~" AddColors arrColor()
iOffsetX = 0
iOffSetY = 0
'iPos1 = 0
iY = -1
iX = -1
iTileNum = 32
bHaveBackColor = TRUE
bFinished = FALSE
iX = iX + 1
iX = 0
iY = iY + 1
If iY
>= iRows
Then bFinished
= TRUE
' GET TILE
'iPos1 = iPos1 + 1
'If iPos1 > Len(MyString) Then iPos1 = 1
'iTileNum = Asc(Mid$(MyString, iPos1, 1))
iTileNum = iTileNum + 1
If iTileNum
> 255 Then iTileNum
= 33
' GET FORE COLOR
bHaveForeColor = FALSE
iForeColor = iForeColor + 1
bHaveBackColor = FALSE
If iForeColor
<> iBackColor
Then If arrColor
(iForeColor
).value
<> cEmpty
Then bHaveForeColor = TRUE
' GET BACK COLOR
If bHaveBackColor
= FALSE
Then iBackColor = iBackColor + 1
'bFinished = TRUE
'Exit Do
If iBackColor
<> iForeColor
Then 'If arrColor(iBackColor).value <> cEmpty Then
bHaveBackColor = TRUE
'End If
' DRAW TILE
'DebugPrint _
' "Tile " + _Trim$(Str$(iTileNum)) + " " + _
' "at (" + _Trim$(Str$(iX)) + "," + _Trim$(Str$(iY)) + ") " + _
' "fgcolor = " + arrColor(iForeColor).name + " " + _
' "bgcolor = " + arrColor(iBackColor).name
DrawColorTile imgScreen&, imgCharset&, iTileNum, _
arrColor(iForeColor).value, arrColor(iBackColor).value, _
iX, iY, iOffsetX, iOffsetY
fgColor = cWhite
bgColor = cBlue
iY = 0: DrawColorTile imgScreen&, imgCharset&, iTileNum, _
fgColor, bgColor, _
iX, iY, iOffsetX, iOffsetY
bgColor = cRed
iY = iRows-1: DrawColorTile imgScreen&, imgCharset&, iTileNum, _
fgColor, bgColor, _
iX, iY, iOffsetX, iOffsetY
bgColor = cYellow
iX = 0: DrawColorTile imgScreen&, imgCharset&, iTileNum, _
fgColor, bgColor, _
iX, iY, iOffsetX, iOffsetY
bgColor = cLime
iX = iCols-1: DrawColorTile imgScreen&, imgCharset&, iTileNum, _
fgColor, bgColor, _
iX, iY, iOffsetX, iOffsetY
' -----------------------------------------------------------------------------
' UPDATE SCREEN
' -----------------------------------------------------------------------------
' DONE
'Input "Press ENTER to continue"; in$
' -----------------------------------------------------------------------------
' FREE MEMORY
' -----------------------------------------------------------------------------
' RETURN RESULT
CustomColorFontTest1 = ""
' ################################################################################################################################################################
' END TEST 8X8 COLOR FONT
' ################################################################################################################################################################
' ################################################################################################################################################################
' BEGIN GRAPHIC TILE FUNCTIONS
' ################################################################################################################################################################
' /////////////////////////////////////////////////////////////////////////////
' Draw entire array on screen.
Sub PlotTiles
(arrTiles
() As Integer, imgTiles&
, imgScreen&
)
TileNum% = arrTiles(dx%, dy%)
DrawTile imgTiles&, TileNum%, imgScreen&, dx% - 1, dy% - 1
'_Display ' update screen with changes
' /////////////////////////////////////////////////////////////////////////////
' DIV and MOD:
' c% = a% \ b% ' DIV (INTEGER DIVISION)
' d% = a% MOD b% ' MODULO (DIVISION REMAINDER)
' tw% = tile width/height (in pixels)
Sub DrawTile
(imgTiles&
, TileNum%
, imgScreen&
, dx%
, dy%
) '_PUTIMAGE (0, 0), i ' places image at upper left corner of window w/o stretching it
'_PUTIMAGE (dx1, dy1), sourceHandle&, destHandle&, (sx1, sy1)-(sx2, sy2) ' portion of source to the top-left corner of the destination page
'_PUTIMAGE (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
'_PutImage (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
' # OF COLUMNS / ROWS ON SOURCE TILE SHEET
cols% = 16
rows% = 16
' GET THE COLUMN/ROW OF TILE # TileNum% ON THE SOURCE TILE SHEET
sr% = TileNum% \ rows%
'Print "Tile#" + cstr$(TileNum%) + " at sc%=" + cstr$(sc%) + ",sr%=" + cstr$(sr%)
' GET THE START X COORDINATE ON THE SOURCE TILE SHEET
'sx1% = sc% * tw%
sx1% = sc% * 32
' GET THE START Y COORDINATE ON THE SOURCE TILE SHEET
'sy1% = sr% * tw%
sy1% = sr% * 32
' GET THE END X COORDINATE ON THE SOURCE TILE SHEET
'sx2% = sx1% + (tw% - 1)
sx2% = sx1% + 31
' GET THE END y COORDINATE ON THE SOURCE TILE SHEET
'sy2% = sy1% + (tw% - 1)
sy2% = sy1% + 31
' GET THE DESTINATION X COORDINATE ON THE SCREEN
'xDest% = dx% * tw%
xDest% = dx% * 32
' GET THE DESTINATION Y COORDINATE ON THE SCREEN
'yDest% = (dy% * tw%) + 64
yDest% = (dy% * 32) + 64
'DebugPrint "Tile#" + cstr$(TileNum%) + " at r" + cstr$(sr%) + "c" + cstr$(sc%) + " pixel location r" + cstr$(sy1%) + "c" + cstr$(sx1%) + " through r" + cstr$(sy2%) + "c" + cstr$(sx2%)
_PutImage (xDest%
, yDest%
), imgTiles&
, imgScreen&
, (sx1%
, sy1%
)-(sx2%
, sy2%
) ' portion of source to the top-left corner of the destination page
' ################################################################################################################################################################
' END GRAPHIC TILE FUNCTIONS
' ################################################################################################################################################################
' ################################################################################################################################################################
' BEGIN TILE DEFINITIONS
' ################################################################################################################################################################
' /////////////////////////////////////////////////////////////////////////////
' Loads tileset of 256 8x8 tiles into a 128x128 image (16 columns x 16 rows)
' where tiles are a single color.
' Parameters:
' imgTiles& = contains the resulting tileset image
' fgColor = tile color
' bgColor = tile background color
' Do not try to free image handles currently being used as the active SCREEN. Change screen modes first.
' _DISPLAY turns off the auto refresh screen default _AUTODISPLAY behavior. Prevents screen flickering.
' Cls , cEmpty ' set the background color as transparent
'Screen imgTiles&
'Cls , bgColor ' set the background color as transparent
'DrawRect 0, 0, 128, 128, cEmpty
'DrawBox 0, 0, 128, cWhite
Cls , cEmpty
' set the background color as transparent
GetTileText arrTileText()
iTileX = 0
iTileY = 0
bFinished = FALSE
split arrTileText
(iTileNum
), chr$(13), arrLines
() iToY = iTileY * 8
sResult = "iToY value " + cstr$(iToY) + " " + _
"exceeded image height " + cstr$
(_Height(imgTiles&
)) + ". " + _
"Exiting " + RoutineName + " at iTileNum=" + cstr$(iTileNum) + "."
bFinished = TRUE
sLine = arrLines(iFromY)
iToX = iTileX * 8
sChar
= mid$(sLine
, iFromX
, 1) pixelColor = bgColor ' cEmpty ' POINT(iFromX, iFromY)
pixelColor = fgColor ' cBlack
PSET(iToX
, iToY
), pixelColor
iToX = iToX + 1
sResult = "iToX value " + cstr$(iToX) + " " + _
"exceeded image width " + cstr$
(_Width(imgTiles&
)) + ". " + _
"Exiting " + RoutineName + " at iTileNum=" + cstr$(iTileNum) + "."
bFinished = TRUE
iToY = iToY + 1
iTileX = iTileX + 1
iTileX = 0
iTileY = iTileY + 1
'if iTileY > 15 then
' sResult = "Exceeded max 16 rows of tiles." + _
' "Exiting " + RoutineName + " at iTileNum=" + cstr$(iTileNum) + "."
' bFinished = TRUE
' exit for
'end if
GetTiles$ = sResult
' /////////////////////////////////////////////////////////////////////////////
' Returns an array of 256 8x8 tiles defined in text
' where each tile is defined by "." as blank and anything else is a pixel
' and each row is delimited by chr$(13)
m$ = ""
m$
= m$
+ "22....22" + chr$(13) m$
= m$
+ "2..22..2" + chr$(13) m$
= m$
+ "2..2...2" + chr$(13) m$
= m$
+ "2...2..2" + chr$(13) m$
= m$
+ "2..22..2" + chr$(13) m$
= m$
+ "2..22..2" + chr$(13) m$
= m$
+ "22....22" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(0) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(1) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(2) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(3) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(4) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(5) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(6) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(7) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(8) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(9) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(10) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(11) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(12) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(13) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(14) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(15) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(16) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(17) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(18) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(19) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(20) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(21) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(22) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(23) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(24) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(25) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(26) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(27) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(28) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(29) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(30) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(31) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(32) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(33) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(34) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(35) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(36) = m$
m$ = ""
m$
= m$
+ ".22...2." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".2...22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(37) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ ".22..222" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..222222" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(38) = m$
m$ = ""
m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(39) = m$
m$ = ""
m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(40) = m$
m$ = ""
m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(41) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(42) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(43) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) arrTileText(44) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(45) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(46) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(47) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22.222." + chr$(13) m$
= m$
+ ".222.22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(48) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(49) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(50) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(51) = m$
m$ = ""
m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....222." + chr$(13) m$
= m$
+ "...2222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(52) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(53) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(54) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(55) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(56) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(57) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(58) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) arrTileText(59) = m$
m$ = ""
m$
= m$
+ "....222." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "....222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(60) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(61) = m$
m$ = ""
m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(62) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(63) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22.222." + chr$(13) m$
= m$
+ ".22.222." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22...2." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(64) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(65) = m$
m$ = ""
m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(66) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(67) = m$
m$ = ""
m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(68) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(69) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(70) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22.222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(71) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(72) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(73) = m$
m$ = ""
m$
= m$
+ "...2222." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(74) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(75) = m$
m$ = ""
m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(76) = m$
m$ = ""
m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ ".222.222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".22.2.22" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(77) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".222.22." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22.222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(78) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(79) = m$
m$ = ""
m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(80) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "....222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(81) = m$
m$ = ""
m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(82) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(83) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(84) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(85) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(86) = m$
m$ = ""
m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ ".22.2.22" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".222.222" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(87) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(88) = m$
m$ = ""
m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(89) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(90) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(91) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(92) = m$
m$ = ""
m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(93) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(94) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(95) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(96) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(97) = m$
m$ = ""
m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(98) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(99) = m$
m$ = ""
m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(100) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(101) = m$
m$ = ""
m$
= m$
+ "....222." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(102) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(103) = m$
m$ = ""
m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(104) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(105) = m$
m$ = ""
m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(106) = m$
m$ = ""
m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(107) = m$
m$ = ""
m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(108) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".22.2.22" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(109) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(110) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(111) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(112) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(113) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(114) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22222.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(115) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "....222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(116) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(117) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(118) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22...22" + chr$(13) m$
= m$
+ ".22.2.22" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "..22.22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(119) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(120) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(121) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(122) = m$
m$ = ""
m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..2....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "..2....." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(123) = m$
m$ = ""
m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(124) = m$
m$ = ""
m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ ".....2.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....2.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(125) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".22....2" + chr$(13) m$
= m$
+ "2..2..2." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(126) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(127) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(128) = m$
m$ = ""
m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(129) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(130) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(131) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(132) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(133) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(134) = m$
m$ = ""
m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) arrTileText(135) = m$
m$ = ""
m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "....22.." + chr$(13) arrTileText(136) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(137) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(138) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(139) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(140) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "....222." + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ "......22" + chr$(13) arrTileText(141) = m$
m$ = ""
m$
= m$
+ "......22" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ "....222." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "..222..." + chr$(13) m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "22......" + chr$(13) arrTileText(142) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) arrTileText(143) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) arrTileText(144) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(145) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(146) = m$
m$ = ""
m$
= m$
+ "..22.22." + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(147) = m$
m$ = ""
m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".22....." + chr$(13) arrTileText(148) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(149) = m$
m$ = ""
m$
= m$
+ "22....22" + chr$(13) m$
= m$
+ "222..222" + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "222..222" + chr$(13) m$
= m$
+ "22....22" + chr$(13) arrTileText(150) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(151) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(152) = m$
m$ = ""
m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....22." + chr$(13) arrTileText(153) = m$
m$ = ""
m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ "...222.." + chr$(13) m$
= m$
+ "....2..." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(154) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(155) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) arrTileText(156) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(157) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "..22222." + chr$(13) m$
= m$
+ ".222.22." + chr$(13) m$
= m$
+ "..22.22." + chr$(13) m$
= m$
+ "..22.22." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(158) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ "..222222" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ ".......2" + chr$(13) arrTileText(159) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(160) = m$
m$ = ""
m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) arrTileText(161) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(162) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(163) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(164) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) arrTileText(165) = m$
m$ = ""
m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) arrTileText(166) = m$
m$ = ""
m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) arrTileText(167) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) arrTileText(168) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "2222222." + chr$(13) m$
= m$
+ "222222.." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "2......." + chr$(13) arrTileText(169) = m$
m$ = ""
m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) arrTileText(170) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(171) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) arrTileText(172) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(173) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(174) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(175) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(176) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(177) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(178) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(179) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) arrTileText(180) = m$
m$ = ""
m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) arrTileText(181) = m$
m$ = ""
m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) arrTileText(182) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(183) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(184) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(185) = m$
m$ = ""
m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(186) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) arrTileText(187) = m$
m$ = ""
m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(188) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(189) = m$
m$ = ""
m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(190) = m$
m$ = ""
m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) arrTileText(191) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2.....2" + chr$(13) m$
= m$
+ ".2.....2" + chr$(13) m$
= m$
+ ".2.....2" + chr$(13) m$
= m$
+ ".2.....2" + chr$(13) m$
= m$
+ ".2.....2" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) arrTileText(192) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) arrTileText(193) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(194) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "..2222.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(195) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(196) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".....2.." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".2222222" + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".....2.." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(197) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(198) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2.2..2.2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2.2..2.2" + chr$(13) m$
= m$
+ "2.2222.2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ ".222222." + chr$(13) arrTileText(199) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2.2..2.2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2.2222.2" + chr$(13) m$
= m$
+ "2.2..2.2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ ".222222." + chr$(13) arrTileText(200) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(201) = m$
m$ = ""
m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ "....22.." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(202) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(203) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "..22...." + chr$(13) m$
= m$
+ "..22...." + chr$(13) arrTileText(204) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(205) = m$
m$ = ""
m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) arrTileText(206) = m$
m$ = ""
m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "2..22..2" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "2..22..2" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ ".22..22." + chr$(13) arrTileText(207) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(208) = m$
m$ = ""
m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) arrTileText(209) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(210) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(211) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(212) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) arrTileText(213) = m$
m$ = ""
m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) arrTileText(214) = m$
m$ = ""
m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) arrTileText(215) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) arrTileText(216) = m$
m$ = ""
m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "2..22..2" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) m$
= m$
+ "22..22.." + chr$(13) m$
= m$
+ "2..22..2" + chr$(13) m$
= m$
+ "..22..22" + chr$(13) m$
= m$
+ ".22..22." + chr$(13) arrTileText(217) = m$
m$ = ""
m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ "......22" + chr$(13) arrTileText(218) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(219) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) arrTileText(220) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(221) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(222) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(223) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(224) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(225) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(226) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) arrTileText(227) = m$
m$ = ""
m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) m$
= m$
+ "22......" + chr$(13) arrTileText(228) = m$
m$ = ""
m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) m$
= m$
+ "222....." + chr$(13) arrTileText(229) = m$
m$ = ""
m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) m$
= m$
+ ".....222" + chr$(13) arrTileText(230) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(231) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(232) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(233) = m$
m$ = ""
m$
= m$
+ ".......2" + chr$(13) m$
= m$
+ "......22" + chr$(13) m$
= m$
+ ".....22." + chr$(13) m$
= m$
+ ".22.22.." + chr$(13) m$
= m$
+ ".2222..." + chr$(13) m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ ".22....." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(234) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) arrTileText(235) = m$
m$ = ""
m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(236) = m$
m$ = ""
m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "...22..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "22222..." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(237) = m$
m$ = ""
m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(238) = m$
m$ = ""
m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "2222...." + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) m$
= m$
+ "....2222" + chr$(13) arrTileText(239) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(240) = m$
m$ = ""
m$
= m$
+ "22222.22" + chr$(13) m$
= m$
+ "22222.22" + chr$(13) m$
= m$
+ "22222.22" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "22.22222" + chr$(13) m$
= m$
+ "22.22222" + chr$(13) m$
= m$
+ "22.22222" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(241) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".222222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(242) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(243) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...2222." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(244) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(245) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2222." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(246) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ "...2...." + chr$(13) m$
= m$
+ ".222...." + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(247) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(248) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(249) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(250) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(251) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(252) = m$
m$ = ""
m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) m$
= m$
+ "........" + chr$(13) arrTileText(253) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "2......2" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(254) = m$
m$ = ""
m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) m$
= m$
+ "22222222" + chr$(13) arrTileText(255) = m$
' ################################################################################################################################################################
' END TILE DEFINITIONS
' ################################################################################################################################################################
' ################################################################################################################################################################
' BEGIN COLOR TEXT TILE FUNCTIONS
' ################################################################################################################################################################
' /////////////////////////////////////////////////////////////////////////////
' Calculates the tile locations ahead of time to save time copying them
' to the screen.
' TileSheetMapType
' xStart
' xEnd
' yStart
' yEnd
' TileMapType
' xPos
' yPos
'' DECLARATIONS
'Dim TileCount%
'Dim TilesheetCols%
'Dim TilesheetRows%
'Dim tileHeightPx%
'Dim tileWidthPx%
'Dim xOffset%
'Dim yOffset%
'Dim numTilesX%
'Dim numTilesY%
'REDIM arrTileSheetMap(255) AS TileSheetMapType
'REDIM arrTileMap(20, 20) AS TileMapType
'' # OF TILES
'TileCount% = 256
'' # OF COLUMNS / ROWS ON SOURCE TILE SHEET
'TilesheetCols% = 16
'TilesheetRows% = 16
'' TILE HEIGHT/WIDTH
'tileHeightPx% = 32
'tileWidthPx% = 32
'' SCREEN OFFSET
'xOffset% = 0
'yOffset% = 64
'' HOW MANY TILES ACROSS
'numTilesX% = 20
'numTilesY% = 20
'ComputeTileLocations arrTileSheetMap(), arrTileMap(), TileCount%, TilesheetCols%, TilesheetRows%, tileWidthPx%, tileHeightPx%, xOffset%, yOffset%, numTilesX%, numTilesY%
Sub ComputeTileLocations
(arrTileSheetMap
() AS TileSheetMapType
, arrTileMap
() AS TileMapType
, TileCount%
, TilesheetCols%
, TilesheetRows%
, tileWidthPx%
, tileHeightPx%
, xOffset%
, yOffset%
, numTilesX%
, numTilesY%
)
' -----------------------------------------------------------------------------
' CALCULATE TILE SHEET COORDINATES FOR TILES 0-255
FOR TileNum%
= 0 TO (TileCount%
- 1)
' GET THE COLUMN/ROW OF TILE # TileNum% ON THE SOURCE TILE SHEET
sc%
= TileNum%
Mod TilesheetCols%
sr% = TileNum% \ TilesheetRows%
'Print "Tile#" + cstr$(TileNum%) + " at sc%=" + cstr$(sc%) + ",sr%=" + cstr$(sr%)
' GET THE START X COORDINATE ON THE SOURCE TILE SHEET
'sx1% = sc% * tw%
sx1% = sc% * tileWidthPx%
' GET THE START Y COORDINATE ON THE SOURCE TILE SHEET
'sy1% = sr% * tw%
sy1% = sr% * tileHeightPx%
' GET THE END X COORDINATE ON THE SOURCE TILE SHEET
'sx2% = sx1% + (tw% - 1)
sx2% = sx1% + (tileWidthPx% - 1)
' GET THE END y COORDINATE ON THE SOURCE TILE SHEET
'sy2% = sy1% + (tw% - 1)
sy2% = sy1% + (tileHeightPx% - 1)
' SAVE THE COORDINATES FOR TileNum% IN THE ARRAY
arrTileSheetMap(TileNum%).xStart = sx1%
arrTileSheetMap(TileNum%).xEnd = sx2%
arrTileSheetMap(TileNum%).yStart = sy1%
arrTileSheetMap(TileNum%).yEnd = sy2%
' -----------------------------------------------------------------------------
' CALCULATE SCREEN COORDINATES FOR TILES
FOR dx%
= 0 TO (numTilesX%
- 1) FOR dy%
= 0 TO (numTilesY%
- 1)
' GET THE DESTINATION X COORDINATE ON THE SCREEN
'xDest% = dx% * tw%
xDest% = (dx% * tileWidthPx%) + xOffset%
' GET THE DESTINATION Y COORDINATE ON THE SCREEN
'yDest% = (dy% * tw%) + 64
yDest% = (dy% * tileHeightPx%) + yOffset%
'Print "Tile#" + cstr$(TileNum%) + " at r" + cstr$(sr%) + "c" + cstr$(sc%) + " pixel location r" + cstr$(sy1%) + "c" + cstr$(sx1%) + " through r" + cstr$(sy2%) + "c" + cstr$(sx2%)
' SAVE THE SCREEN PIXEL COORDINATES FOR dx%, dy% IN THE ARRAY
' WHERE dx% and dy% ARE 1-BASED
arrTileMap(dx%+1, dy%+1).xPos = xDest%
arrTileMap(dx%+1, dy%+1).yPos = yDest%
End Sub ' ComputeTileLocations
' /////////////////////////////////////////////////////////////////////////////
' Like DrawColorTile but faster because it uses precalculated coordinates
' to find the tile on the tile sheet, and the destination on the screen.
' Receives:
' imgScreen& = handle to screen to draw tile on
' imgTiles& = handle to 16x16 tile sheet of 16x16 pixel tiles colored black (256 tiles)
' arrTileSheetMap() = array of TileSheetMapType which holds precalculated positions of tiles on tilesheet
' arrTileMap() = array of TileMapType which holds precalculated positions where tiles go on screen
' tileWidthPx% = width of tiles in pixels
' tileHeightPx% = height of tiles in pixels
' TileNum% = ordinal number of tile on tile sheet to draw (0-255)
' TileColor~& = color to use for tile
' BackColor~& = color to use for background
' dx% = column # to draw tile at (where each column is 16 pixels wide)
' dy% = row # to draw tile at (where each row is 16 pixels high)
' *** QUESTION
' *** IF THE SUB RECEIVES IMAGE HANDLE PARAMETERS imgScreen&, imgTiles&
' *** ARE THESE BY REFERENCE?
' *** IF NOT, DO THESE LOCAL COPIES HAVE TO BE RELEASED WITH _FREEIMAGE ?
' TODO: support transparency?
' Colors returned are always opaque as the transparency value is always 255. Use _ALPHA or _CLEARCOLOR to change it.
'DrawColorTileFast imgScreen&, imgTiles&, arrTileSheet8Map(), arrTile8Map(), tileWidthPx%, tileHeightPx%, TileNum%, TileColor~&, BackColor~&, dx%, dy%
Sub DrawColorTileFast
(imgScreen&
, imgTiles&
, arrTileSheetMap
() AS TileSheetMapType
, arrTileMap
() AS TileMapType
, tileWidthPx%
, tileHeightPx%
, TileNum%
, TileColor~&
, BackColor~&
, dx%
, dy%
)
' -----------------------------------------------------------------------------
' PART 1: DRAW BACKGROUND COLOR
' CREATE A TEMPORARY TILE
ColorSprite&
= _NewImage(tileWidthPx%
, tileHeightPx%
, 32)
' AND FILL IT WITH THE BACKGROUND COLOR
' COPY THE TEMPORARY BACKGROUND TILE TO THE SCREEN imgScreen&
'_PUTIMAGE (0 , 0 ), sourceHandle& ' places image at upper left corner of window w/o stretching it
'_PUTIMAGE (dx1, dy1), sourceHandle&, destHandle&, (sx1, sy1)-(sx2, sy2) ' portion of source to the top-left corner of the destination page
'_PUTIMAGE (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
'_PutImage (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
_PutImage (arrTileMap
(dx%
, dy%
).xPos
, arrTileMap
(dx%
, dy%
).yPos
), ColorSprite&
, imgScreen&
, (0, 0)-(tileWidthPx%
- 1, tileHeightPx%
- 1) ' portion of source to the top-left corner of the destination page
' -----------------------------------------------------------------------------
' PART 2: DRAW FOREGROUND TILE IN SPECIFIED COLOR
' CREATE A TEMPORARY TILE TO COLOR
UniversalSprite&
= _NewImage(tileWidthPx%
, tileHeightPx%
, 32)
' COPY THE SOURCE (MASK) TILE TO THE TEMPORARY ONE
'_PutImage(dx, dy) sourceHandle&, destHandle& , (sx1 , sy1 )-(sx2 , sy2 )
_PutImage (0 , 0 ), imgTiles&
, UniversalSprite&
, (arrTileSheetMap
(TileNum%
).xStart
, arrTileSheetMap
(TileNum%
).yStart
)-(arrTileSheetMap
(TileNum%
).xEnd
, arrTileSheetMap
(TileNum%
).yEnd
)
' COLOR IN THE TEMPORARY TILE
' REPLACING BLACK (THE SOURCE COLOR) WITH THE TILE COLOR
' IF ColorSprite& < -1 THEN _FreeImage ColorSprite&
DoColorSwap UniversalSprite&, cBlack, TileColor~&, ColorSprite&
'ColorSprite& = swapcolor&(UniversalSprite&, cBlack, TileColor~&)
' ^^^
' PROGRAM CRASHED HERE, BEFORE FIXING swapcolor& AND CHANGING FROM FUNCTION TO SUB DoColorSwap
' COPY THE TEMPORARY TILE TO THE SCREEN imgScreen&
'_PutImage(dx , dy ), sourceHandle&, destHandle&, (sx1, sy1)-(sx2, sy2 )
_PutImage (arrTileMap
(dx%
, dy%
).xPos
, arrTileMap
(dx%
, dy%
).yPos
), ColorSprite&
, imgScreen&
, (0, 0 )-(tileWidthPx%
- 1, tileHeightPx%
- 1) ' portion of source to the top-left corner of the destination page
' -----------------------------------------------------------------------------
' PART 3: CLEANUP
' ADDED PER FellipeHeitor
' /////////////////////////////////////////////////////////////////////////////
' Like DrawTile but faster because it uses precalculated coordinates
' to find the tile on the tile sheet, and the destination on the screen.
'OLD: DrawTileFast imgTiles&, TileNum%, imgScreen&, arrTileSheetMap(), arrTileMap(), dx%, dy%
'NEW: DrawTileFast dx%, dy%, TileNum%, imgScreen&, imgTiles&, arrTileSheetMap(), arrTileMap()
Sub DrawTileFast
(dx%
, dy%
, TileNum%
, imgScreen&
, imgTiles&
, arrTileSheetMap
() AS TileSheetMapType
, arrTileMap
() AS TileMapType
) ' portion of source to the top-left corner of the destination page
_PutImage (arrTileMap
(dx%
, dy%
).xPos
, arrTileMap
(dx%
, dy%
).yPos
), imgTiles&
, imgScreen&
, (arrTileSheetMap
(TileNum%
).xStart
, arrTileSheetMap
(TileNum%
).yStart
)-(arrTileSheetMap
(TileNum%
).xEnd
, arrTileSheetMap
(TileNum%
).yEnd
)
' /////////////////////////////////////////////////////////////////////////////
' Draw entire array on screen.
' Like PlotTilesToScreen but faster because it uses precalculated coordinates
' to find the tile on the tile sheet, and the destination on the screen.
'PlotTilesToScreenFast imgScreen&, imgTiles&, arrTileSheetMap(), arrTileMap(), arrTiles()
Sub PlotTilesToScreenFast
(imgScreen&
, imgTiles&
, arrTileSheetMap
() AS TileSheetMapType
, arrTileMap
() AS TileMapType
, arrTiles
() AS INTEGER)
'Screen imgScreen&
TileNum% = arrTiles(dx%, dy%)
'DrawTile imgTiles&, TileNum%, imgScreen&, dx%-1, dy%-1
'DrawTileFast imgTiles&, TileNum%, imgScreen&, arrTileSheetMap(), arrTileMap(), dx%, dy%
DrawTileFast dx%, dy%, TileNum%, imgScreen&, imgTiles&, arrTileSheetMap(), arrTileMap()
'_Display ' update screen with changes
End Sub ' PlotTilesToScreenFast
' /////////////////////////////////////////////////////////////////////////////
' Original version which calculates coordinates on tile sheet and destination
' screen every time. For a faster version uses precalculated coordinates,
' see DrawColorTileFast.
' Receives:
' imgTiles& = handle to 16x16 tile sheet of 16x16 pixel tiles colored black (256 tiles)
' TileNum% = ordinal number of tile on tile sheet to draw (0-255)
' TileColor~& = color to use for tile
' imgScreen& = handle to screen to draw tile on
' dx% = column # to draw tile at (where each column is 16 pixels wide)
' dy% = row # to draw tile at (where each row is 16 pixels high)
' xOffset% = offset tile this many columns over
' yOffset% = offset tile this many rows down
' TODO: support background color bcolor&
' TODO: support transparency?
' Colors returned are always opaque as the transparency value is always 255. Use _ALPHA or _CLEARCOLOR to change it.
Sub DrawColorTile
(imgScreen&
, imgTiles&
, TileNum%
, TileColor~&
, BackColor~&
, dx%
, dy%
, xOffset%
, yOffset%
)
'_PUTIMAGE (0, 0), i ' places image at upper left corner of window w/o stretching it
'_PUTIMAGE (dx1, dy1), sourceHandle&, destHandle&, (sx1, sy1)-(sx2, sy2) ' portion of source to the top-left corner of the destination page
'_PUTIMAGE (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
'_PutImage (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
' # OF COLUMNS / ROWS ON SOURCE TILE SHEET
cols% = 16
rows% = 16
' GET THE COLUMN/ROW OF TILE # TileNum% ON THE SOURCE TILE SHEET
sr% = TileNum% \ rows%
'Print "Tile#" + cstr$(TileNum%) + " at sc%=" + cstr$(sc%) + ",sr%=" + cstr$(sr%)
' GET THE START X COORDINATE ON THE SOURCE TILE SHEET
'sx1% = sc% * tw%
sx1% = sc% * 8
' GET THE START Y COORDINATE ON THE SOURCE TILE SHEET
'sy1% = sr% * tw%
sy1% = sr% * 8
' GET THE END X COORDINATE ON THE SOURCE TILE SHEET
'sx2% = sx1% + (tw% - 1)
sx2% = sx1% + 7
' GET THE END y COORDINATE ON THE SOURCE TILE SHEET
'sy2% = sy1% + (tw% - 1)
sy2% = sy1% + 7
' GET THE DESTINATION X COORDINATE ON THE SCREEN
'xDest% = dx% * tw%
xDest% = dx% * 8 + (8 * xOffset%)
' GET THE DESTINATION Y COORDINATE ON THE SCREEN
''yDest% = (dy% * tw%) + 64
'yDest% = (dy% * 8) + 64 + (8 * yOffset%)
yDest% = (dy% * 8) + (8 * yOffset%)
' IS THERE A BACKGROUND COLOR?
'SCREEN ColorSprite&
'CLS , _RGB(0, 0, 0) ' makes the background opaque black
'SCREEN imgScreen& ' SHIFT FOCUS BACK TO THE SCREEN
' COPY THE TEMPORARY TILE TO THE SCREEN imgScreen&
'TODO: SHOULDN'T THIS BE 7,7 NOT 15,15 ?
'_PutImage (xDest%, yDest%), ColorSprite&, imgScreen&, (0, 0)-(15, 15) ' portion of source to the top-left corner of the destination page
_PutImage (xDest%
, yDest%
), ColorSprite&
, imgScreen&
, (0, 0)-(7, 7) ' portion of source to the top-left corner of the destination page
' CREATE A TEMPORARY TILE TO COLOR
'UniversalSprite& = _NewImage(tw%, tw%, 32)
' COPY THE TILE TO THE TEMPORARY ONE
_PutImage (0, 0), imgTiles&
, UniversalSprite&
, (sx1%
, sy1%
)-(sx2%
, sy2%
)
' COLOR IN THE TEMPORARY TILE
' REPLACING BLACK (THE SOURCE COLOR) WITH THE TILE COLOR
'If ColorSprite& < -1 Then _FreeImage ColorSprite&
'ColorSprite& = swapcolor&(UniversalSprite&, cBlack, TileColor~&)
DoColorSwap UniversalSprite&, cBlack, TileColor~&, ColorSprite&
' COPY THE TEMPORARY TILE TO THE SCREEN imgScreen&
_PutImage (xDest%
, yDest%
), ColorSprite&
, imgScreen&
, (0, 0)-(7, 7) ' portion of source to the top-left corner of the destination page
' ADDED PER FellipeHeitor
'' /////////////////////////////////////////////////////////////////////////////
'' Like DrawColorTile but faster because it uses precalculated coordinates
'' to find the tile on the tile sheet, and the destination on the screen.
'
'' Receives:
'' imgScreen& = handle to screen to draw tile on
'' imgTiles& = handle to 16x16 tile sheet of 16x16 pixel tiles colored black (256 tiles)
'' arrTileSheetMap() = array of TileSheetMapType which holds precalculated positions of tiles on tilesheet
'' arrTileMap() = array of TileMapType which holds precalculated positions where tiles go on screen
'' tileWidthPx% = width of tiles in pixels
'' tileHeightPx% = height of tiles in pixels
'' TileNum% = ordinal number of tile on tile sheet to draw (0-255)
'' TileColor~& = color to use for tile
'' BackColor~& = color to use for background
'' dx% = column # to draw tile at (where each column is 16 pixels wide)
'' dy% = row # to draw tile at (where each row is 16 pixels high)
'
'' *** QUESTION
'' *** IF THE SUB RECEIVES IMAGE HANDLE PARAMETERS imgScreen&, imgTiles&
'' *** ARE THESE BY REFERENCE?
'' *** IF NOT, DO THESE LOCAL COPIES HAVE TO BE RELEASED WITH _FREEIMAGE ?
'
'' TODO: support transparency?
'' Colors returned are always opaque as the transparency value is always 255. Use _ALPHA or _CLEARCOLOR to change it.
'
''DrawColorTileFast imgScreen&, imgTiles&, arrTileSheet16Map(), arrTile16Map(), tileWidthPx%, tileHeightPx%, TileNum%, TileColor~&, BackColor~&, dx%, dy%
'
'Sub DrawColorTileFast (imgScreen&, imgTiles&, arrTileSheetMap() AS TileSheetMapType, arrTileMap() AS TileMapType, tileWidthPx%, tileHeightPx%, TileNum%, TileColor~&, BackColor~&, dx%, dy%)
' DIM ColorSprite&
' DIM UniversalSprite&
'
' ' -----------------------------------------------------------------------------
' ' PART 1: DRAW BACKGROUND COLOR
' IF BackColor~& <> cEmpty& THEN
'
' ' CREATE A TEMPORARY TILE
' ColorSprite& = _NewImage(tileWidthPx%, tileHeightPx%, 32)
' _Dest ColorSprite&
'
' ' AND FILL IT WITH THE BACKGROUND COLOR
' CLS, BackColor~&
'
' ' COPY THE TEMPORARY BACKGROUND TILE TO THE SCREEN imgScreen&
' _SOURCE ColorSprite&
' _Dest imgScreen&
'
' '_PUTIMAGE (0 , 0 ), sourceHandle& ' places image at upper left corner of window w/o stretching it
' '_PUTIMAGE (dx1, dy1), sourceHandle&, destHandle&, (sx1, sy1)-(sx2, sy2) ' portion of source to the top-left corner of the destination page
' '_PUTIMAGE (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
' '_PutImage (64, 128), imgTiles&, imgScreen&, (128, 128)-(164, 164) ' portion of source to the top-left corner of the destination page
' _PutImage (arrTileMap(dx%, dy%).xPos, arrTileMap(dx%, dy%).yPos), ColorSprite&, imgScreen&, (0, 0)-(tileWidthPx% - 1, tileHeightPx% - 1) ' portion of source to the top-left corner of the destination page
' END IF
'
' ' -----------------------------------------------------------------------------
' ' PART 2: DRAW FOREGROUND TILE IN SPECIFIED COLOR
'
' ' CREATE A TEMPORARY TILE TO COLOR
' UniversalSprite& = _NewImage(tileWidthPx%, tileHeightPx%, 32)
'
' ' COPY THE SOURCE (MASK) TILE TO THE TEMPORARY ONE
' _SOURCE imgTiles&
' _Dest UniversalSprite&
'
' '_PutImage(dx, dy) sourceHandle&, destHandle& , (sx1 , sy1 )-(sx2 , sy2 )
' _PutImage (0 , 0 ), imgTiles&, UniversalSprite&, (arrTileSheetMap(TileNum%).xStart, arrTileSheetMap(TileNum%).yStart)-(arrTileSheetMap(TileNum%).xEnd, arrTileSheetMap(TileNum%).yEnd)
'
' ' COLOR IN THE TEMPORARY TILE
' ' REPLACING BLACK (THE SOURCE COLOR) WITH THE TILE COLOR
'' IF ColorSprite& < -1 THEN _FreeImage ColorSprite&
' IF ColorSprite& < -1 OR ColorSprite& > 0 THEN _FreeImage ColorSprite&
' DoColorSwap UniversalSprite&, cBlack, TileColor~&, ColorSprite&
' 'ColorSprite& = swapcolor&(UniversalSprite&, cBlack, TileColor~&)
' ' ^^^
' ' PROGRAM CRASHED HERE, BEFORE FIXING swapcolor& AND CHANGING FROM FUNCTION TO SUB DoColorSwap
'
' ' COPY THE TEMPORARY TILE TO THE SCREEN imgScreen&
' _SOURCE ColorSprite&
' _Dest imgScreen&
' '_PutImage(dx , dy ), sourceHandle&, destHandle&, (sx1, sy1)-(sx2, sy2 )
' _PutImage (arrTileMap(dx%, dy%).xPos, arrTileMap(dx%, dy%).yPos), ColorSprite&, imgScreen&, (0, 0 )-(tileWidthPx% - 1, tileHeightPx% - 1) ' portion of source to the top-left corner of the destination page
'
' ' -----------------------------------------------------------------------------
' ' PART 3: CLEANUP
'
' ' ADDED PER FellipeHeitor
' IF ColorSprite& < -1 OR ColorSprite& > 0 THEN _FREEIMAGE ColorSprite&
' IF UniversalSprite& < -1 OR UniversalSprite& > 0 THEN _FREEIMAGE UniversalSprite&
'
'End Sub ' DrawColorTileFast
' /////////////////////////////////////////////////////////////////////////////
' Latest version with NOVARSEG's changes.
' Based on code from:
' Image color swap?
' https://www.qb64.org/forum/index.php?topic=2312.0
' Like Function swapcolor& except returns new image in a parameter
' in case being a function causes a memory leak?
Sub DoColorSwap
(imgOriginal&
, oldcolor~&
, newcolor~&
, imgNew&
) a = 0
a = a + 4
_MemPut m
, m.OFFSET
+ a
, newcolor~&
' ################################################################################################################################################################
' END COLOR TEXT TILE FUNCTIONS
' ################################################################################################################################################################
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' BEGIN DEBUGGING ROUTINES #DEBUGGING
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'ReDim arrLines$(0)
'dim delim$ : delim$ = Chr$(13)
'split MyString, delim$, arrLines$()
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' END DEBUGGING ROUTINES @DEBUGGING
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' BEGIN PSET 8-BIT PATTERN PLOTTING CODE
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' /////////////////////////////////////////////////////////////////////////////
' DrawTileBitPattern8PSET imgScreen&, arrTileBytes(), _
' iTileNum, iCol, iRow, fgColor, bgColor
' where arrTileBytes is
' arrTileBytes(0 to 255, 0 To 7) As Integer
Sub DrawTileBitPattern8PSET
( _
)
DrawBitPatternPSET000 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET001 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET002 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET003 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET004 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET005 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET006 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET007 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET008 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET009 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET010 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET011 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET012 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET013 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET014 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET015 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET016 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET017 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET018 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET019 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET020 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET021 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET022 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET023 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET024 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET025 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET026 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET027 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET028 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET029 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET030 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET031 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET032 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET033 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET034 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET035 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET036 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET037 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET038 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET039 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET040 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET041 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET042 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET043 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET044 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET045 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET046 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET047 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET048 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET049 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET050 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET051 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET052 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET053 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET054 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET055 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET056 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET057 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET058 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET059 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET060 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET061 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET062 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET063 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET064 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET065 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET066 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET067 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET068 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET069 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET070 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET071 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET072 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET073 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET074 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET075 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET076 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET077 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET078 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET079 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET080 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET081 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET082 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET083 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET084 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET085 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET086 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET087 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET088 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET089 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET090 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET091 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET092 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET093 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET094 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET095 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET096 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET097 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET098 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET099 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET100 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET101 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET102 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET103 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET104 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET105 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET106 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET107 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET108 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET109 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET110 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET111 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET112 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET113 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET114 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET115 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET116 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET117 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET118 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET119 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET120 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET121 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET122 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET123 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET124 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET125 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET126 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET127 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET128 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET129 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET130 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET131 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET132 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET133 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET134 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET135 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET136 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET137 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET138 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET139 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET140 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET141 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET142 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET143 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET144 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET145 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET146 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET147 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET148 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET149 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET150 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET151 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET152 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET153 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET154 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET155 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET156 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET157 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET158 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET159 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET160 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET161 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET162 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET163 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET164 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET165 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET166 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET167 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET168 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET169 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET170 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET171 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET172 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET173 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET174 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET175 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET176 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET177 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET178 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET179 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET180 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET181 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET182 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET183 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET184 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET185 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET186 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET187 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET188 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET189 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET190 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET191 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET192 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET193 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET194 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET195 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET196 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET197 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET198 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET199 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET200 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET201 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET202 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET203 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET204 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET205 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET206 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET207 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET208 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET209 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET210 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET211 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET212 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET213 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET214 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET215 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET216 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET217 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET218 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET219 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET220 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET221 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET222 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET223 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET224 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET225 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET226 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET227 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET228 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET229 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET230 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET231 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET232 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET233 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET234 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET235 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET236 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET237 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET238 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET239 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET240 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET241 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET242 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET243 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET244 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET245 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET246 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET247 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET248 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET249 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET250 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET251 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET252 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET253 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET254 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
DrawBitPatternPSET255 imgScreen&, iCol, iRow, iByte, fgColor, bgColor
End Sub ' DrawTileBitPattern8PSET
Sub DrawBitPatternPSET000
( _
)
End Sub ' DrawBitPatternPSET000
Sub DrawBitPatternPSET001
( _
)
End Sub ' DrawBitPatternPSET001
Sub DrawBitPatternPSET002
( _
)
End Sub ' DrawBitPatternPSET002
Sub DrawBitPatternPSET003
( _
)
End Sub ' DrawBitPatternPSET003
Sub DrawBitPatternPSET004
( _
)
End Sub ' DrawBitPatternPSET004
Sub DrawBitPatternPSET005
( _
)
End Sub ' DrawBitPatternPSET005
Sub DrawBitPatternPSET006
( _
)
End Sub ' DrawBitPatternPSET006
Sub DrawBitPatternPSET007
( _
)
End Sub ' DrawBitPatternPSET007
Sub DrawBitPatternPSET008
( _
)
End Sub ' DrawBitPatternPSET008
Sub DrawBitPatternPSET009
( _
)
End Sub ' DrawBitPatternPSET009
Sub DrawBitPatternPSET010
( _
)
End Sub ' DrawBitPatternPSET010
Sub DrawBitPatternPSET011
( _
)
End Sub ' DrawBitPatternPSET011
Sub DrawBitPatternPSET012
( _
)
End Sub ' DrawBitPatternPSET012
Sub DrawBitPatternPSET013
( _
)
End Sub ' DrawBitPatternPSET013
Sub DrawBitPatternPSET014
( _
)
End Sub ' DrawBitPatternPSET014
Sub DrawBitPatternPSET015
( _
)
End Sub ' DrawBitPatternPSET015
Sub DrawBitPatternPSET016
( _
)
End Sub ' DrawBitPatternPSET016
Sub DrawBitPatternPSET017
( _
)
End Sub ' DrawBitPatternPSET017
Sub DrawBitPatternPSET018
( _
)
End Sub ' DrawBitPatternPSET018
Sub DrawBitPatternPSET019
( _
)
End Sub ' DrawBitPatternPSET019
Sub DrawBitPatternPSET020
( _
)
End Sub ' DrawBitPatternPSET020
Sub DrawBitPatternPSET021
( _
)
End Sub ' DrawBitPatternPSET021
Sub DrawBitPatternPSET022
( _
)
End Sub ' DrawBitPatternPSET022
Sub DrawBitPatternPSET023
( _
)
End Sub ' DrawBitPatternPSET023
Sub DrawBitPatternPSET024
( _
)
End Sub ' DrawBitPatternPSET024
Sub DrawBitPatternPSET025
( _
)
End Sub ' DrawBitPatternPSET025
Sub DrawBitPatternPSET026
( _
)
End Sub ' DrawBitPatternPSET026
Sub DrawBitPatternPSET027
( _
)
End Sub ' DrawBitPatternPSET027
Sub DrawBitPatternPSET028
( _
)
End Sub ' DrawBitPatternPSET028
Sub DrawBitPatternPSET029
( _
)
End Sub ' DrawBitPatternPSET029
Sub DrawBitPatternPSET030
( _
)
End Sub ' DrawBitPatternPSET030
Sub DrawBitPatternPSET031
( _
)
End Sub ' DrawBitPatternPSET031
Sub DrawBitPatternPSET032
( _
)
End Sub ' DrawBitPatternPSET032
Sub DrawBitPatternPSET033
( _
)
End Sub ' DrawBitPatternPSET033
Sub DrawBitPatternPSET034
( _
)
End Sub ' DrawBitPatternPSET034
Sub DrawBitPatternPSET035
( _
)
End Sub ' DrawBitPatternPSET035
Sub DrawBitPatternPSET036
( _
)
End Sub ' DrawBitPatternPSET036
Sub DrawBitPatternPSET037
( _
)
End Sub ' DrawBitPatternPSET037
Sub DrawBitPatternPSET038
( _
)
End Sub ' DrawBitPatternPSET038
Sub DrawBitPatternPSET039
( _
)
End Sub ' DrawBitPatternPSET039
Sub DrawBitPatternPSET040
( _
)
End Sub ' DrawBitPatternPSET040
Sub DrawBitPatternPSET041
( _
)
End Sub ' DrawBitPatternPSET041
Sub DrawBitPatternPSET042
( _
)
End Sub ' DrawBitPatternPSET042
Sub DrawBitPatternPSET043
( _
)
End Sub ' DrawBitPatternPSET043
Sub DrawBitPatternPSET044
( _
)
End Sub ' DrawBitPatternPSET044
Sub DrawBitPatternPSET045
( _
)
End Sub ' DrawBitPatternPSET045
Sub DrawBitPatternPSET046
( _
)
End Sub ' DrawBitPatternPSET046
Sub DrawBitPatternPSET047
( _
)
End Sub ' DrawBitPatternPSET047
Sub DrawBitPatternPSET048
( _
)
End Sub ' DrawBitPatternPSET048
Sub DrawBitPatternPSET049
( _
)
End Sub ' DrawBitPatternPSET049
Sub DrawBitPatternPSET050
( _
)
End Sub ' DrawBitPatternPSET050
Sub DrawBitPatternPSET051
( _
)
End Sub ' DrawBitPatternPSET051
Sub DrawBitPatternPSET052
( _
)
End Sub ' DrawBitPatternPSET052
Sub DrawBitPatternPSET053
( _
)
End Sub ' DrawBitPatternPSET053
Sub DrawBitPatternPSET054
( _
)
End Sub ' DrawBitPatternPSET054
Sub DrawBitPatternPSET055
( _
)
End Sub ' DrawBitPatternPSET055
Sub DrawBitPatternPSET056
( _
)
End Sub ' DrawBitPatternPSET056
Sub DrawBitPatternPSET057
( _
)
End Sub ' DrawBitPatternPSET057
Sub DrawBitPatternPSET058
( _
)
End Sub ' DrawBitPatternPSET058
Sub DrawBitPatternPSET059
( _
)
End Sub ' DrawBitPatternPSET059
Sub DrawBitPatternPSET060
( _
)
End Sub ' DrawBitPatternPSET060
Sub DrawBitPatternPSET061
( _
)
End Sub ' DrawBitPatternPSET061
Sub DrawBitPatternPSET062
( _
)
End Sub ' DrawBitPatternPSET062
Sub DrawBitPatternPSET063
( _
)
End Sub ' DrawBitPatternPSET063
Sub DrawBitPatternPSET064
( _
)
End Sub ' DrawBitPatternPSET064
Sub DrawBitPatternPSET065
( _
)
End Sub ' DrawBitPatternPSET065
Sub DrawBitPatternPSET066
( _
)
End Sub ' DrawBitPatternPSET066
Sub DrawBitPatternPSET067
( _
)
End Sub ' DrawBitPatternPSET067
Sub DrawBitPatternPSET068
( _
)
End Sub ' DrawBitPatternPSET068
Sub DrawBitPatternPSET069
( _
)
End Sub ' DrawBitPatternPSET069
Sub DrawBitPatternPSET070
( _
)
End Sub ' DrawBitPatternPSET070
Sub DrawBitPatternPSET071
( _
)
End Sub ' DrawBitPatternPSET071
Sub DrawBitPatternPSET072
( _
)
End Sub ' DrawBitPatternPSET072
Sub DrawBitPatternPSET073
( _
)
End Sub ' DrawBitPatternPSET073
Sub DrawBitPatternPSET074
( _
)
End Sub ' DrawBitPatternPSET074
Sub DrawBitPatternPSET075
( _
)
End Sub ' DrawBitPatternPSET075
Sub DrawBitPatternPSET076
( _
)
End Sub ' DrawBitPatternPSET076
Sub DrawBitPatternPSET077
( _
)
End Sub ' DrawBitPatternPSET077
Sub DrawBitPatternPSET078
( _
)
End Sub ' DrawBitPatternPSET078
Sub DrawBitPatternPSET079
( _
)
End Sub ' DrawBitPatternPSET079
Sub DrawBitPatternPSET080
( _
)
End Sub ' DrawBitPatternPSET080
Sub DrawBitPatternPSET081
( _
)
End Sub ' DrawBitPatternPSET081
Sub DrawBitPatternPSET082
( _
)
End Sub ' DrawBitPatternPSET082
Sub DrawBitPatternPSET083
( _
)
End Sub ' DrawBitPatternPSET083
Sub DrawBitPatternPSET084
( _
)
End Sub ' DrawBitPatternPSET084
Sub DrawBitPatternPSET085
( _
)
End Sub ' DrawBitPatternPSET085
Sub DrawBitPatternPSET086
( _
)
End Sub ' DrawBitPatternPSET086
Sub DrawBitPatternPSET087
( _
)
End Sub ' DrawBitPatternPSET087
Sub DrawBitPatternPSET088
( _
)
End Sub ' DrawBitPatternPSET088
Sub DrawBitPatternPSET089
( _
)
End Sub ' DrawBitPatternPSET089
Sub DrawBitPatternPSET090
( _
)
End Sub ' DrawBitPatternPSET090
Sub DrawBitPatternPSET091
( _
)
End Sub ' DrawBitPatternPSET091
Sub DrawBitPatternPSET092
( _
)
End Sub ' DrawBitPatternPSET092
Sub DrawBitPatternPSET093
( _
)
End Sub ' DrawBitPatternPSET093
Sub DrawBitPatternPSET094
( _
)
End Sub ' DrawBitPatternPSET094
Sub DrawBitPatternPSET095
( _
)
End Sub ' DrawBitPatternPSET095
Sub DrawBitPatternPSET096
( _
)
End Sub ' DrawBitPatternPSET096
Sub DrawBitPatternPSET097
( _
)
End Sub ' DrawBitPatternPSET097
Sub DrawBitPatternPSET098
( _
)
End Sub ' DrawBitPatternPSET098
Sub DrawBitPatternPSET099
( _
)
End Sub ' DrawBitPatternPSET099
Sub DrawBitPatternPSET100
( _
)
End Sub ' DrawBitPatternPSET100
Sub DrawBitPatternPSET101
( _
)
End Sub ' DrawBitPatternPSET101
Sub DrawBitPatternPSET102
( _
)
End Sub ' DrawBitPatternPSET102
Sub DrawBitPatternPSET103
( _
)
End Sub ' DrawBitPatternPSET103
Sub DrawBitPatternPSET104
( _
)
End Sub ' DrawBitPatternPSET104
Sub DrawBitPatternPSET105
( _
)
End Sub ' DrawBitPatternPSET105
Sub DrawBitPatternPSET106
( _
)
End Sub ' DrawBitPatternPSET106
Sub DrawBitPatternPSET107
( _
)
End Sub ' DrawBitPatternPSET107
Sub DrawBitPatternPSET108
( _
)
End Sub ' DrawBitPatternPSET108
Sub DrawBitPatternPSET109
( _
)
End Sub ' DrawBitPatternPSET109
Sub DrawBitPatternPSET110
( _
)
End Sub ' DrawBitPatternPSET110
Sub DrawBitPatternPSET111
( _
)
End Sub ' DrawBitPatternPSET111
Sub DrawBitPatternPSET112
( _
)
End Sub ' DrawBitPatternPSET112
Sub DrawBitPatternPSET113
( _
)
End Sub ' DrawBitPatternPSET113
Sub DrawBitPatternPSET114
( _
)
End Sub ' DrawBitPatternPSET114
Sub DrawBitPatternPSET115
( _
)
End Sub ' DrawBitPatternPSET115
Sub DrawBitPatternPSET116
( _
)
End Sub ' DrawBitPatternPSET116
Sub DrawBitPatternPSET117
( _
)
End Sub ' DrawBitPatternPSET117
Sub DrawBitPatternPSET118
( _
)
End Sub ' DrawBitPatternPSET118
Sub DrawBitPatternPSET119
( _
)
End Sub ' DrawBitPatternPSET119
Sub DrawBitPatternPSET120
( _
)
End Sub ' DrawBitPatternPSET120
Sub DrawBitPatternPSET121
( _
)
End Sub ' DrawBitPatternPSET121
Sub DrawBitPatternPSET122
( _
)
End Sub ' DrawBitPatternPSET122
Sub DrawBitPatternPSET123
( _
)
End Sub ' DrawBitPatternPSET123
Sub DrawBitPatternPSET124
( _
)
End Sub ' DrawBitPatternPSET124
Sub DrawBitPatternPSET125
( _
)
End Sub ' DrawBitPatternPSET125
Sub DrawBitPatternPSET126
( _
)
End Sub ' DrawBitPatternPSET126
Sub DrawBitPatternPSET127
( _
)
End Sub ' DrawBitPatternPSET127
Sub DrawBitPatternPSET128
( _
)
End Sub ' DrawBitPatternPSET128
Sub DrawBitPatternPSET129
( _
)
End Sub ' DrawBitPatternPSET129
Sub DrawBitPatternPSET130
( _
)
End Sub ' DrawBitPatternPSET130
Sub DrawBitPatternPSET131
( _
)
End Sub ' DrawBitPatternPSET131
Sub DrawBitPatternPSET132
( _
)
End Sub ' DrawBitPatternPSET132
Sub DrawBitPatternPSET133
( _
)
End Sub ' DrawBitPatternPSET133
Sub DrawBitPatternPSET134
( _
)
End Sub ' DrawBitPatternPSET134
Sub DrawBitPatternPSET135
( _
)
End Sub ' DrawBitPatternPSET135
Sub DrawBitPatternPSET136
( _
)
End Sub ' DrawBitPatternPSET136
Sub DrawBitPatternPSET137
( _
)
End Sub ' DrawBitPatternPSET137
Sub DrawBitPatternPSET138
( _
)
End Sub ' DrawBitPatternPSET138
Sub DrawBitPatternPSET139
( _
)
End Sub ' DrawBitPatternPSET139
Sub DrawBitPatternPSET140
( _
)
End Sub ' DrawBitPatternPSET140
Sub DrawBitPatternPSET141
( _
)
End Sub ' DrawBitPatternPSET141
Sub DrawBitPatternPSET142
( _
)
End Sub ' DrawBitPatternPSET142
Sub DrawBitPatternPSET143
( _
)
End Sub ' DrawBitPatternPSET143
Sub DrawBitPatternPSET144
( _
)
End Sub ' DrawBitPatternPSET144
Sub DrawBitPatternPSET145
( _
)
End Sub ' DrawBitPatternPSET145
Sub DrawBitPatternPSET146
( _
)
End Sub ' DrawBitPatternPSET146
Sub DrawBitPatternPSET147
( _
)
End Sub ' DrawBitPatternPSET147
Sub DrawBitPatternPSET148
( _
)
End Sub ' DrawBitPatternPSET148
Sub DrawBitPatternPSET149
( _
)
End Sub ' DrawBitPatternPSET149
Sub DrawBitPatternPSET150
( _
)
End Sub ' DrawBitPatternPSET150
Sub DrawBitPatternPSET151
( _
)
End Sub ' DrawBitPatternPSET151
Sub DrawBitPatternPSET152
( _
)
End Sub ' DrawBitPatternPSET152
Sub DrawBitPatternPSET153
( _
)
End Sub ' DrawBitPatternPSET153
Sub DrawBitPatternPSET154
( _
)
End Sub ' DrawBitPatternPSET154
Sub DrawBitPatternPSET155
( _
)
End Sub ' DrawBitPatternPSET155
Sub DrawBitPatternPSET156
( _
)
End Sub ' DrawBitPatternPSET156
Sub DrawBitPatternPSET157
( _
)
End Sub ' DrawBitPatternPSET157
Sub DrawBitPatternPSET158
( _
)
End Sub ' DrawBitPatternPSET158
Sub DrawBitPatternPSET159
( _
)
End Sub ' DrawBitPatternPSET159
Sub DrawBitPatternPSET160
( _
)
End Sub ' DrawBitPatternPSET160
Sub DrawBitPatternPSET161
( _
)
End Sub ' DrawBitPatternPSET161
Sub DrawBitPatternPSET162
( _
)
End Sub ' DrawBitPatternPSET162
Sub DrawBitPatternPSET163
( _
)
End Sub ' DrawBitPatternPSET163
Sub DrawBitPatternPSET164
( _
)
End Sub ' DrawBitPatternPSET164
Sub DrawBitPatternPSET165
( _
)
End Sub ' DrawBitPatternPSET165
Sub DrawBitPatternPSET166
( _
)
End Sub ' DrawBitPatternPSET166
Sub DrawBitPatternPSET167
( _
)
End Sub ' DrawBitPatternPSET167
Sub DrawBitPatternPSET168
( _
)
End Sub ' DrawBitPatternPSET168
Sub DrawBitPatternPSET169
( _
)
End Sub ' DrawBitPatternPSET169
Sub DrawBitPatternPSET170
( _
)
End Sub ' DrawBitPatternPSET170
Sub DrawBitPatternPSET171
( _
)
End Sub ' DrawBitPatternPSET171
Sub DrawBitPatternPSET172
( _
)
End Sub ' DrawBitPatternPSET172
Sub DrawBitPatternPSET173
( _
)
End Sub ' DrawBitPatternPSET173
Sub DrawBitPatternPSET174
( _
)
End Sub ' DrawBitPatternPSET174
Sub DrawBitPatternPSET175
( _
)
End Sub ' DrawBitPatternPSET175
Sub DrawBitPatternPSET176
( _
)
End Sub ' DrawBitPatternPSET176
Sub DrawBitPatternPSET177
( _
)
End Sub ' DrawBitPatternPSET177
Sub DrawBitPatternPSET178
( _
)
End Sub ' DrawBitPatternPSET178
Sub DrawBitPatternPSET179
( _
)
End Sub ' DrawBitPatternPSET179
Sub DrawBitPatternPSET180
( _
)
End Sub ' DrawBitPatternPSET180
Sub DrawBitPatternPSET181
( _
)
End Sub ' DrawBitPatternPSET181
Sub DrawBitPatternPSET182
( _
)
End Sub ' DrawBitPatternPSET182
Sub DrawBitPatternPSET183
( _
)
End Sub ' DrawBitPatternPSET183
Sub DrawBitPatternPSET184
( _
)
End Sub ' DrawBitPatternPSET184
Sub DrawBitPatternPSET185
( _
)
End Sub ' DrawBitPatternPSET185
Sub DrawBitPatternPSET186
( _
)
End Sub ' DrawBitPatternPSET186
Sub DrawBitPatternPSET187
( _
)
End Sub ' DrawBitPatternPSET187
Sub DrawBitPatternPSET188
( _
)
End Sub ' DrawBitPatternPSET188
Sub DrawBitPatternPSET189
( _
)
End Sub ' DrawBitPatternPSET189
Sub DrawBitPatternPSET190
( _
)
End Sub ' DrawBitPatternPSET190
Sub DrawBitPatternPSET191
( _
)
End Sub ' DrawBitPatternPSET191
Sub DrawBitPatternPSET192
( _
)
End Sub ' DrawBitPatternPSET192
Sub DrawBitPatternPSET193
( _
)
End Sub ' DrawBitPatternPSET193
Sub DrawBitPatternPSET194
( _
)
End Sub ' DrawBitPatternPSET194
Sub DrawBitPatternPSET195
( _
)
End Sub ' DrawBitPatternPSET195
Sub DrawBitPatternPSET196
( _
)
End Sub ' DrawBitPatternPSET196
Sub DrawBitPatternPSET197
( _
)
End Sub ' DrawBitPatternPSET197
Sub DrawBitPatternPSET198
( _
)
End Sub ' DrawBitPatternPSET198
Sub DrawBitPatternPSET199
( _
)
End Sub ' DrawBitPatternPSET199
Sub DrawBitPatternPSET200
( _
)
End Sub ' DrawBitPatternPSET200
Sub DrawBitPatternPSET201
( _
)
End Sub ' DrawBitPatternPSET201
Sub DrawBitPatternPSET202
( _
)
End Sub ' DrawBitPatternPSET202
Sub DrawBitPatternPSET203
( _
)
End Sub ' DrawBitPatternPSET203
Sub DrawBitPatternPSET204
( _
)
End Sub ' DrawBitPatternPSET204
Sub DrawBitPatternPSET205
( _
)
End Sub ' DrawBitPatternPSET205
Sub DrawBitPatternPSET206
( _
)
End Sub ' DrawBitPatternPSET206
Sub DrawBitPatternPSET207
( _
)
End Sub ' DrawBitPatternPSET207
Sub DrawBitPatternPSET208
( _
)
End Sub ' DrawBitPatternPSET208
Sub DrawBitPatternPSET209
( _
)
End Sub ' DrawBitPatternPSET209
Sub DrawBitPatternPSET210
( _
)
End Sub ' DrawBitPatternPSET210
Sub DrawBitPatternPSET211
( _
)
End Sub ' DrawBitPatternPSET211
Sub DrawBitPatternPSET212
( _
)
End Sub ' DrawBitPatternPSET212
Sub DrawBitPatternPSET213
( _
)
End Sub ' DrawBitPatternPSET213
Sub DrawBitPatternPSET214
( _
)
End Sub ' DrawBitPatternPSET214
Sub DrawBitPatternPSET215
( _
)
End Sub ' DrawBitPatternPSET215
Sub DrawBitPatternPSET216
( _
)
End Sub ' DrawBitPatternPSET216
Sub DrawBitPatternPSET217
( _
)
End Sub ' DrawBitPatternPSET217
Sub DrawBitPatternPSET218
( _
)
End Sub ' DrawBitPatternPSET218
Sub DrawBitPatternPSET219
( _
)
End Sub ' DrawBitPatternPSET219
Sub DrawBitPatternPSET220
( _
)
End Sub ' DrawBitPatternPSET220
Sub DrawBitPatternPSET221
( _
)
End Sub ' DrawBitPatternPSET221
Sub DrawBitPatternPSET222
( _
)
End Sub ' DrawBitPatternPSET222
Sub DrawBitPatternPSET223
( _
)
End Sub ' DrawBitPatternPSET223
Sub DrawBitPatternPSET224
( _
)
End Sub ' DrawBitPatternPSET224
Sub DrawBitPatternPSET225
( _
)
End Sub ' DrawBitPatternPSET225
Sub DrawBitPatternPSET226
( _
)
End Sub ' DrawBitPatternPSET226
Sub DrawBitPatternPSET227
( _
)
End Sub ' DrawBitPatternPSET227
Sub DrawBitPatternPSET228
( _
)
End Sub ' DrawBitPatternPSET228
Sub DrawBitPatternPSET229
( _
)
End Sub ' DrawBitPatternPSET229
Sub DrawBitPatternPSET230
( _
)
End Sub ' DrawBitPatternPSET230
Sub DrawBitPatternPSET231
( _
)
End Sub ' DrawBitPatternPSET231
Sub DrawBitPatternPSET232
( _
)
End Sub ' DrawBitPatternPSET232
Sub DrawBitPatternPSET233
( _
)
End Sub ' DrawBitPatternPSET233
Sub DrawBitPatternPSET234
( _
)
End Sub ' DrawBitPatternPSET234
Sub DrawBitPatternPSET235
( _
)
End Sub ' DrawBitPatternPSET235
Sub DrawBitPatternPSET236
( _
)
End Sub ' DrawBitPatternPSET236
Sub DrawBitPatternPSET237
( _
)
End Sub ' DrawBitPatternPSET237
Sub DrawBitPatternPSET238
( _
)
End Sub ' DrawBitPatternPSET238
Sub DrawBitPatternPSET239
( _
)
End Sub ' DrawBitPatternPSET239
Sub DrawBitPatternPSET240
( _
)
End Sub ' DrawBitPatternPSET240
Sub DrawBitPatternPSET241
( _
)
End Sub ' DrawBitPatternPSET241
Sub DrawBitPatternPSET242
( _
)
End Sub ' DrawBitPatternPSET242
Sub DrawBitPatternPSET243
( _
)
End Sub ' DrawBitPatternPSET243
Sub DrawBitPatternPSET244
( _
)
End Sub ' DrawBitPatternPSET244
Sub DrawBitPatternPSET245
( _
)
End Sub ' DrawBitPatternPSET245
Sub DrawBitPatternPSET246
( _
)
End Sub ' DrawBitPatternPSET246
Sub DrawBitPatternPSET247
( _
)
End Sub ' DrawBitPatternPSET247
Sub DrawBitPatternPSET248
( _
)
End Sub ' DrawBitPatternPSET248
Sub DrawBitPatternPSET249
( _
)
End Sub ' DrawBitPatternPSET249
Sub DrawBitPatternPSET250
( _
)
End Sub ' DrawBitPatternPSET250
Sub DrawBitPatternPSET251
( _
)
End Sub ' DrawBitPatternPSET251
Sub DrawBitPatternPSET252
( _
)
End Sub ' DrawBitPatternPSET252
Sub DrawBitPatternPSET253
( _
)
End Sub ' DrawBitPatternPSET253
Sub DrawBitPatternPSET254
( _
)
End Sub ' DrawBitPatternPSET254
Sub DrawBitPatternPSET255
( _
)
End Sub ' DrawBitPatternPSET255 ' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' END PSET 8-BIT PATTERN PLOTTING CODE
' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++