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

FCPresets.h File Reference

This file contains preset card game information. More...

#include "FCSFreecellSolvingAlgorithm.h"

Go to the source code of this file.

Classes

class  FCSPreset
 Class holding preset information. More...
class  FCSPresetName
 Matches a preset ID with a game name. More...

Defines

#define FC_SIZE_OF_PRESET_NAME   32
 The maximum size of a preset card game name.

Enumerations

enum  FCSPresetID {
  FCS_PRESET_NONE = -1, FCS_PRESET_BAKERS_DOZEN, FCS_PRESET_BAKERS_GAME, FCS_PRESET_CRUEL,
  FCS_PRESET_DER_KATZENSCHWANZ, FCS_PRESET_DIE_SCHLANGE, FCS_PRESET_EIGHT_OFF, FCS_PRESET_FORECELL,
  FCS_PRESET_FREECELL, FCS_PRESET_GOOD_MEASURE, FCS_PRESET_KLONDIKE, FCS_PRESET_KINGS_ONLY_BAKERS_GAME,
  FCS_PRESET_RELAXED_FREECELL, FCS_PRESET_RELAXED_SEAHAVEN_TOWERS, FCS_PRESET_SEAHAVEN_TOWERS, FCS_PRESET_SIMPLE_SIMON,
  FCS_PRESET_YUKON, FCS_PRESET_BELEAGUERED_CASTLE
}
 Identification of preset games supported.

Functions

int FCSApplyTestOrder (int *TestOrderArray, const char *TestOrderString, int *TestOrderCount, char *GameName, char **ErrorString)
 Take a test order string and turn it into a test order array.

Variables

const FCSPresetName FCSPresetNames []
 Storage for all the preset games.


Detailed Description

Author:
Michael Mann
Version:
1.0
Date:
August 2002

Definition in file FCPresets.h.


Function Documentation

int FCSApplyTestOrder int *  TestOrderArray,
const char *  TestOrderString,
int *  TestOrderCount,
char *  GameName,
char **  ErrorString
 

Parameters:
TestOrderArray is the outputted test order
TestOrderString is the test order string
TestOrderCount is teh number of tests found in the string
GameName is the name of the game being solved
ErrorString contains error information if any
Returns:
Return 0 if successful, non-zero otherwise

Definition at line 350 of file FCPresets.cpp.

Referenced by FCCommandLineArguments::Verify().


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