Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

AFreecellGameBoard.cpp File Reference

This file contains the implementation of the AFreecellGameBoard class and all the game supporting data. More...

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "AFreecellGameBoard.h"
#include "PysolGameBoards.h"
#include "MiscFreecellGameBoards.h"

Go to the source code of this file.

Functions

BoardID GetBoardID (const char *Name)
 Walk the game names to find the game requested.
AFreecellGameBoardCreateAFreecellGameBoard (char *GameName, bool Display10AsT)
 Create a game board generator object.

Variables

const BoardName AllBoardNames [50]
 All the game boards that are handled by the program.


Detailed Description

Author:
Michael Mann
Version:
1.0
Date:
August 2002

Definition in file AFreecellGameBoard.cpp.


Function Documentation

AFreecellGameBoard* CreateAFreecellGameBoard char *  GameName,
bool  Display10AsT
 

Parameters:
GameName is the string name of the game to be created
Display10AsT determines whether or not to display a 10 as "10" or "T"
Returns:
A pointer to the newly created object

Definition at line 233 of file AFreecellGameBoard.cpp.

References GetBoardID().

Referenced by main(), and TestEachGame().

BoardID GetBoardID const char *  Name  ) 
 

Parameters:
Name is the name of the game to be found
Returns:
BoardID of the game

Definition at line 222 of file AFreecellGameBoard.cpp.

References BoardName::m_BoardID.

Referenced by CreateAFreecellGameBoard().


Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4