SOURCE FILE: shellForTile.cpp



#include <iostream>
using namespace std ;

const int tileHeight = 10 ;

  /* function prototype */
void GetDims (int & width, int & courses) ;
   /* Using two reference parameters, This function gets two dimensions from
      the user, and gives the caller of this function access to the
      dimensions. */

  /* function prototype */
void MakePattern(int the_width, int the_height) ;
   /* This function writes a pattern to the screen. The number of tiles wide is
      the_width, and the_height is the number of courses of tiles..
   */

  /* function prototype */
void MakeCourse (int a_width, bool isOdd) ;
  /* This function makes one 'course' of a tile pattern.  The argument a_width
     denotes how many tiles there are, running from left to right.  A course
     of tiles alternates between butterfly and bug tiles.  If the argument
     isOdd is true, the course starts with a butterfly tile, else a bug tile.
  */

   /* function prototype */
void MakeLayer (int layer, int w_width, bool isOdd) ;
  /* This function makes one layer of a course of tiles (one line's worth).  
     For example, a call of MakeLayer(3,2,true) would make this output:

|   ( 0   \V/   0 )       ||        \o-o/            |

because the third line of this display
|-------------------------||-------------------------|
|      .-=-.   .-=-.      ||        ,_  _  _,        |
|     ( 0   \V/   0 )     ||          \o-o/          |
|      \     O     /      ||         ,(.-.),         |
|       `.__ # __.'       ||       _/ |) (| \_       |
|        .'  #  '.        ||         /\=-=/\         |
|  jgs  (o  /#\  o)       ||        ,| \=/ |,        |
|        )/'   '\(        ||      _/ \  |  / \_      |
|       (         )       ||  jgs     \_!_/          |
|-------------------------||-------------------------|

looks like this:
|     ( 0   \V/   0 )     ||          \o-o/          |

   */

  /* function prototype */
void makeBflyLine (int whichOne) ;
   /* make one line of the "butterfly" tile.  The parameter whichOne contains the
      number of the line to be drawn. */

  /* function prototype */
void makeBugLine (int whichOne) ;
   /* make one line of the "bug" tile.  The parameter whichOne contains the
      number of the line to be drawn. */

int main (void)
{
   return 0;
}

  /* function definition */
void GetDims (int & width, int & courses) 
{
}

  /* function definition */
void MakePattern(int the_width, int the_courses) 
{
}

  /* function definition */
void MakeCourse (int a_width, bool isOdd)
{
}

  /* function definition */
void MakeLayer (int layer, int a_width, bool isOdd) 
{  
}

  /* function definition */
void makeBflyLine (int whichOne)
{
}

  /* function definition */
void makeBugLine (int whichOne)
{
}