//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\Noughts.ico"
IDR_NACTYPE             ICON    DISCARDABLE     "res\\NoughtsDoc.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
IDB_CROSS               BITMAP  DISCARDABLE     "res\\x.bmp"
IDB_NOUGHT              BITMAP  DISCARDABLE     "res\\o.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//

IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
BEGIN
    BUTTON      ID_EDIT_UNDO
    BUTTON      ID_SUGGESTION
    BUTTON      ID_BUTTONSTATISTICS
    BUTTON      ID_APP_ABOUT
END


/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
        MENUITEM SEPARATOR
        MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
        MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
        MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_APP_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
        MENUITEM SEPARATOR
        MENUITEM "Clear All",                   ID_EDIT_CLEARALL
    END
    POPUP "&View"
    BEGIN
        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
        MENUITEM SEPARATOR
        MENUITEM "Statistics",                  ID_VIEW_STATISTICS
        MENUITEM "View Options",                ID_VIEW_VIEWOPTIONS
    END
    POPUP "&Options"
    BEGIN
        MENUITEM "Suggestion",                  ID_OPTIONS_SUGGEST
        MENUITEM "Game Options",                ID_OPTIONS_GAME
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&Help",                       ID_HELP_FINDER
        MENUITEM SEPARATOR
        MENUITEM "&About Noughts...",           ID_APP_ABOUT
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
BEGIN
    "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
    "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
    VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
    VK_F1,          ID_HELP,                VIRTKEY, NOINVERT
    VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT, NOINVERT
    "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
END


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 235, 121
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Noughts and Crosses v1.0"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
    LTEXT           "Noughts and Crosses Version 1.0",IDC_STATIC,40,10,119,8,
                    SS_NOPREFIX
    LTEXT           "Copyright (C) 1999 - 2001",IDC_STATIC,40,25,119,8
    DEFPUSHBUTTON   "OK",IDOK,90,100,55,14,WS_GROUP
    LTEXT           "Richard Cavell",IDC_STATIC,40,42,119,8
    LTEXT           "This program is freely redistributable.",IDC_STATIC,40,
                    70,160,10
    LTEXT           "The source code is available for self-teaching purposes.",
                    IDC_STATIC,40,81,180,10
END

IDD_VIEWOPTIONS DIALOG DISCARDABLE  0, 0, 192, 156
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "View Options"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "OK",IDC_OK,29,134,60,15
    PUSHBUTTON      "Cancel",IDC_CANCEL,99,134,60,15
    CONTROL         "Rounded slashes",IDC_ROUNDED,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,25,20,145,15
    CONTROL         "Raised grid",IDC_RAISED,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,25,40,135,20
    CONTROL         "Auto start new game",IDC_AUTO,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,25,65,115,20
    GROUPBOX        "Preferences",IDC_STATIC,5,10,180,84,BS_CENTER
    CONTROL         "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_AUTOTICKS | 
                    WS_TABSTOP,90,105,90,10
    RTEXT           "Thickness of grid lines",IDC_STATIC,10,105,70,10
END

IDD_STATISTICS DIALOG DISCARDABLE  200, 0, 196, 210
STYLE WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Noughts and Crosses Game Statistics"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Game results",IDC_STATIC,5,5,185,198,BS_CENTER
    PUSHBUTTON      "Clear Statistics",IDC_BUTTON1,15,175,75,20
    PUSHBUTTON      "OK",IDCANCEL,100,175,75,20
END

IDD_GAMEOPTIONS DIALOGEX 0, 0, 212, 156
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Game Options"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "OK",IDC_OK,15,130,80,20
    PUSHBUTTON      "Cancel",IDC_CANCEL,115,130,80,20
    RADIOBUTTON     "Human",IDC_RADIO1,25,25,50,15,WS_TABSTOP
    RADIOBUTTON     "Computer",IDC_RADIO2,25,41,65,20,WS_TABSTOP
    RADIOBUTTON     "Random",IDC_RADIO3,25,60,65,20,WS_TABSTOP
    CONTROL         "Players don't swap sides after each game",IDC_NOSWAP,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,30,100,160,14
    GROUPBOX        "Player 1",IDC_STATIC,10,10,90,80,BS_CENTER | WS_GROUP
    RADIOBUTTON     "Human",IDC_RADIO4,125,25,50,15,WS_TABSTOP
    RADIOBUTTON     "Computer",IDC_RADIO5,125,41,65,20,WS_TABSTOP
    RADIOBUTTON     "Random",IDC_RADIO6,125,60,65,20,WS_TABSTOP
    GROUPBOX        "Player 2",IDC_STATIC,110,10,90,80,BS_CENTER | WS_GROUP
END

IDD_HELP DIALOG DISCARDABLE  0, 0, 227, 61
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Help"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,85,40,55,14
    CTEXT           "This is a computerised version of noughts and crosses (tic-tac-toe).",
                    IDC_STATIC,5,5,215,10
    CTEXT           "To win, you must place three of your symbols in a row on the grid.",
                    IDC_STATIC,5,20,215,10
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,1
 PRODUCTVERSION 1,0,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x29L
#else
 FILEFLAGS 0x28L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments", "A simple noughts and crosses game\0"
            VALUE "CompanyName", "Richard Cavell\0"
            VALUE "FileDescription", "Noughts and Crosses Executable\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "Noughts\0"
            VALUE "LegalCopyright", "Copyright (C) 2001 Richard Cavell\0"
            VALUE "LegalTrademarks", "Freely redistributable\0"
            VALUE "OriginalFilename", "Noughts.exe\0"
            VALUE "PrivateBuild", "Release build\0"
            VALUE "ProductName", "Noughts and Crosses Game\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
            VALUE "SpecialBuild", "v1.0\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        TOPMARGIN, 7
        BOTTOMMARGIN, 114
    END

    IDD_VIEWOPTIONS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 185
        TOPMARGIN, 7
        BOTTOMMARGIN, 149
    END

    IDD_STATISTICS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 189
        TOPMARGIN, 7
        BOTTOMMARGIN, 203
    END

    IDD_GAMEOPTIONS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 205
        TOPMARGIN, 7
        BOTTOMMARGIN, 149
    END

    IDD_HELP, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 220
        TOPMARGIN, 7
        BOTTOMMARGIN, 54
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// WAVE
//

IDR_SOUND1              WAVE    DISCARDABLE     "res\\START.WAV"
IDR_SOUND2              WAVE    DISCARDABLE     "res\\CHIMES.WAV"
IDR_SOUND3              WAVE    DISCARDABLE     "res\\launch_select2.wav"

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDP_OLE_INIT_FAILED     "OLE initialization failed.  Make sure that the OLE libraries are the correct version."
    IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
    IDS_BUTTONFAILED        "Buttons failed to initialise"
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    IDR_MAINFRAME           "Noughts\n\nNoughts\nNoughts and Crosses Games (*.nac)\n.nac\nNoughts.Document\nNoughts and Crosses Game"
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    AFX_IDS_APP_TITLE       "Noughts and Crosses v1.0"
    AFX_IDS_IDLEMESSAGE     "Noughts and Crosses (c) 2001 by Richard Cavell"
    AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_INDICATOR_EXT        "EXT"
    ID_INDICATOR_CAPS       "CAP"
    ID_INDICATOR_NUM        "NUM"
    ID_INDICATOR_SCRL       "SCRL"
    ID_INDICATOR_OVR        "OVR"
    ID_INDICATOR_REC        "REC"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_FILE_NEW             "Start a new game\nNew"
    ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
    ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
    ID_FILE_PRINT           "Print out this game's data\nPrint"
    ID_FILE_PRINT_PREVIEW   "Display the printout\nPrint Preview"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_APP_ABOUT            "About Noughts and Crosses v1.0\nAbout"
    ID_APP_EXIT             "Quit the application\nExit"
    ID_HELP_INDEX           "Opens Help\nHelp Topics"
    ID_HELP_FINDER          "List Help topics\nHelp Topics"
    ID_HELP_USING           "Display instructions about how to use help\nHelp"
    ID_CONTEXT_HELP         "Display help for clicked on buttons, menus and windows\nHelp"
    ID_HELP                 "Display help for current task or command\nHelp"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_EDIT_UNDO            "Undo the last move\nUndo"
    ID_SUGGESTION           "Suggest a move"
    ID_STATISTICS           "View game statistics"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
    ID_VIEW_STATUS_BAR      "Show or hide the status bar"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCSIZE          "Change the window size"
    AFX_IDS_SCMOVE          "Change the window position"
    AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
    AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
    AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
    AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
    AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCRESTORE       "Restore the window to normal size"
    AFX_IDS_SCTASKLIST      "Activate Task List"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_OPTIONS_GAME         "Select preferences"
    ID_OPTIONS_SUGGEST      "Suggest the best move"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_VIEW_STATISTICS      "View game statistics"
    ID_EDIT_CLEARALL        "Clear all squares"
    ID_MENU_COMPUTER        "Adjust the computer player's strategy"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_BUTTONSTATISTICS     "View game statistics"
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (U.K.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_POPUPMENU MENU DISCARDABLE 
BEGIN
    POPUP "Right mouse menu"
    BEGIN
        MENUITEM "Undo",                        ID_POPUP_UNDO
        MENUITEM "Suggest",                     ID_RIGHTMOUSEMENU_SUGGESTION
        MENUITEM SEPARATOR
        MENUITEM "Statistics",                  ID_POPUP_STATISTICS
        MENUITEM "New game",                    ID_POPUP_NEW
        MENUITEM SEPARATOR
        MENUITEM "Game options",                ID_POPUP_OPTIONS
        MENUITEM "View options",                ID_POPUP_VIEWOPTIONS
    END
    POPUP "Right mouse menu #2"
    BEGIN
        MENUITEM "Mark this box",               ID_POPUP_MARK
        MENUITEM SEPARATOR
        MENUITEM "Undo",                        ID_POPUP_UNDO
        MENUITEM "Suggest",                     ID_RIGHTMOUSEMENU_SUGGESTION
        MENUITEM SEPARATOR
        MENUITEM "Statistics",                  ID_POPUP_STATISTICS
        MENUITEM "New game",                    ID_POPUP_NEW
        MENUITEM SEPARATOR
        MENUITEM "Game options",                ID_POPUP_OPTIONS
        MENUITEM "View options",                ID_POPUP_VIEWOPTIONS
    END
    POPUP "Right mouse menu #3"
    BEGIN
        MENUITEM "Game options",                ID_POPUP_OPTIONS
        MENUITEM "View options",                ID_POPUP_VIEWOPTIONS
        MENUITEM SEPARATOR
        MENUITEM "Toggle toolbar",              ID_VIEW_TOOL_BAR
        MENUITEM "Toggle status bar",           ID_POPUP_STATUS
    END
END


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 9, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\Noughts.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#include ""afxprint.rc""       // printing/print preview resources\r\n"
    "#endif\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    ID_POPUP_UNDO           "Undo the last move"
    ID_RIGHTMOUSEMENU_SUGGESTION "Suggest a move"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_POPUP_MARK           "Marks the selected box with your icon"
    ID_POPUP_STATISTICS     "View game statistics"
    ID_VIEW_TOOL_BAR        "Show or hide the toolbar"
    ID_POPUP_STATUS         "Show or hide the status bar"
    ID_POPUP_OPTIONS        "Change game options"
    ID_POPUP_VIEWOPTIONS    "Change display options"
    ID_POPUP_NEW            "Start a new game"
END

#endif    // English (U.K.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\Noughts.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#include "afxprint.rc"       // printing/print preview resources
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

