home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Total C++ 2
/
TOTALCTWO.iso
/
borland
/
tttocf.pak
/
TTT.RC
< prev
Wrap
Text File
|
1997-05-06
|
15KB
|
344 lines
//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1992 by Borland International
//----------------------------------------------------------------------------
#include <owl/window.rh>
#include "ttt.h"
#include <owl/except.rc> // exception strings for messages
IDM_TTTGAME MENU
{
POPUP "&Game"
{
MENUITEM "&New", CM_GAMENEW
MENUITEM "&Options...", CM_GAMEOPTIONS
MENUITEM SEPARATOR
MENUITEM "&About TicTacToe...", CM_ABOUT
MENUITEM SEPARATOR
MENUITEM "E&xit", CM_EXIT
}
}
IDM_TTTSVRGAME MENU
{
POPUP "&Game"
{
MENUITEM "&New", CM_GAMENEW
MENUITEM "&Options...", CM_GAMEOPTIONS
}
POPUP "&Help"
{
MENUITEM "&About TicTacToe", CM_ABOUT
}
}
IDD_ABOUT DIALOG 20, 15, 115, 75
STYLE WS_POPUP | WS_DLGFRAME
CLASS "BorDlg"
{
CONTROL "", 101, "BorShade", 4, 3, 4, 108, 34
}
IDD_OPTIONS DIALOG 18, 20, 120, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CLASS "BorDlg"
CAPTION "Tic Tac Toe Options"
{
CONTROL "", 101, "BorShade", BSS_HDIP, 0, 106, 120, 2
}
IDI_TTT ICON
{
'00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
'00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 BF 00 00 BF 00 00 00 BF BF 00 BF 00'
'00 00 BF 00 BF 00 BF BF 00 00 C0 C0 C0 00 80 80'
'80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 78 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 07 77'
'77 77 70 77 77 77 77 77 70 77 77 77 77 78 07 77'
'77 77 70 77 77 77 77 77 70 70 77 77 70 78 07 77'
'77 77 70 77 77 77 77 77 70 77 07 77 07 78 07 77'
'77 77 70 77 77 77 77 77 70 77 70 70 77 78 07 77'
'77 77 70 77 77 77 77 77 70 77 77 07 77 78 07 77'
'77 77 70 77 77 77 77 77 70 77 70 70 77 78 07 77'
'77 77 70 77 77 77 77 77 70 77 07 77 07 78 07 77'
'77 77 70 77 77 77 77 77 70 70 77 77 70 78 07 77'
'77 77 70 77 77 77 77 77 70 77 77 77 77 78 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 08 07 77'
'77 77 70 77 77 77 77 77 70 77 77 77 77 78 07 77'
'77 77 70 77 70 00 00 77 70 77 77 77 77 78 07 77'
'77 77 70 77 07 77 77 07 70 77 77 77 77 78 07 77'
'77 77 70 70 77 77 77 70 70 77 77 77 77 78 07 77'
'77 77 70 70 77 77 77 70 70 77 77 77 77 78 07 77'
'77 77 70 70 77 77 77 70 70 77 77 77 77 78 07 77'
'77 77 70 70 77 77 77 70 70 77 77 77 77 78 07 77'
'77 77 70 77 07 77 77 07 70 77 77 77 77 78 07 77'
'77 77 70 77 70 00 00 77 70 77 77 77 77 78 07 77'
'77 77 70 77 77 77 77 77 70 77 77 77 77 78 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 08 07 77'
'77 77 70 77 77 77 77 77 70 77 77 77 77 78 07 77'
'77 77 70 77 77 77 77 77 70 70 77 77 70 78 07 77'
'77 77 70 77 77 77 77 77 70 77 07 77 07 78 07 77'
'77 77 70 77 77 77 77 77 70 77 70 70 77 78 07 77'
'77 77 70 77 77 77 77 77 70 77 77 07 77 78 07 77'
'77 77 70 77 77 77 77 77 70 77 70 70 77 78 07 77'
'77 77 70 77 77 77 77 77 70 77 07 77 07 78 07 77'
'77 77 70 77 77 77 77 77 70 70 77 77 70 78 07 77'
'77 77 70 77 77 77 77 77 70 77 77 77 77 78 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00'
'00 00 80 00 00 00 80 00 00 00 80 00 00 00 80 00'
'00 00 80 00 00 00 80 00 00 00 80 00 00 00 80 00'
'00 00 80 00 00 00 80 00 00 00 80 00 00 00 80 00'
'00 00 80 00 00 00 80 00 00 00 80 00 00 00 80 00'
'00 00 80 00 00 00 80 00 00 00 80 00 00 00 80 00'
'00 00 80 00 00 00 80 00 00 00 80 00 00 00 80 00'
'00 00 80 00 00 00 80 00 00 00 80 00 00 00 80 00'
'00 00 80 00 00 00 80 00 00 00 FF FF FF FE'
}
IDB_EMPTY BITMAP
{
'42 4D 76 02 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 20 00 00 00 20 00 00 00 01 00 04 00 00 00'
'00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77'
}
IDB_X BITMAP
{
'42 4D 76 02 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 20 00 00 00 20 00 00 00 01 00 04 00 00 00'
'00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 70 00 07 77 77 77 77 77'
'77 70 00 07 77 77 77 77 70 00 00 77 77 77 77 77'
'77 00 00 07 77 77 77 77 70 00 00 07 77 77 77 77'
'70 00 00 07 77 77 77 77 77 00 00 00 77 77 77 77'
'00 00 00 77 77 77 77 77 77 70 00 00 07 77 77 70'
'00 00 07 77 77 77 77 77 77 77 00 00 00 77 77 00'
'00 00 77 77 77 77 77 77 77 77 70 00 00 07 70 00'
'00 07 77 77 77 77 77 77 77 77 77 00 00 00 00 00'
'00 77 77 77 77 77 77 77 77 77 77 70 00 00 00 00'
'07 77 77 77 77 77 77 77 77 77 77 77 00 00 00 00'
'77 77 77 77 77 77 77 77 77 77 77 77 70 00 00 07'
'77 77 77 77 77 77 77 77 77 77 77 77 00 00 00 00'
'77 77 77 77 77 77 77 77 77 77 77 70 00 00 00 00'
'07 77 77 77 77 77 77 77 77 77 77 00 00 00 00 00'
'00 77 77 77 77 77 77 77 77 77 70 00 00 07 70 00'
'00 07 77 77 77 77 77 77 77 77 00 00 00 77 77 00'
'00 00 77 77 77 77 77 77 77 70 00 00 07 77 77 70'
'00 00 07 77 77 77 77 77 77 00 00 00 77 77 77 77'
'00 00 00 77 77 77 77 77 70 00 00 07 77 77 77 77'
'70 00 00 07 77 77 77 77 70 00 00 77 77 77 77 77'
'77 00 00 07 77 77 77 77 70 00 07 77 77 77 77 77'
'77 70 00 07 77 77 77 77 70 00 77 77 77 77 77 77'
'77 77 00 07 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77'
}
IDB_O BITMAP
{
'42 4D 76 02 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 20 00 00 00 20 00 00 00 01 00 04 00 00 00'
'00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 00 00 00 07'
'77 77 77 77 77 77 77 77 77 77 77 00 00 00 00 00'
'77 77 77 77 77 77 77 77 77 77 70 00 00 00 00 00'
'00 77 77 77 77 77 77 77 77 77 00 00 07 77 77 00'
'00 07 77 77 77 77 77 77 77 70 00 07 77 77 77 70'
'00 00 77 77 77 77 77 77 77 00 00 77 77 77 77 77'
'70 00 07 77 77 77 77 77 70 00 07 77 77 77 77 77'
'77 00 00 77 77 77 77 77 70 00 77 77 77 77 77 77'
'77 70 00 77 77 77 77 77 00 00 77 77 77 77 77 77'
'77 70 00 07 77 77 77 77 00 07 77 77 77 77 77 77'
'77 77 00 07 77 77 77 77 00 07 77 77 77 77 77 77'
'77 77 00 07 77 77 77 77 00 07 77 77 77 77 77 77'
'77 77 00 07 77 77 77 77 00 07 77 77 77 77 77 77'
'77 77 00 07 77 77 77 77 00 07 77 77 77 77 77 77'
'77 77 00 07 77 77 77 77 00 00 77 77 77 77 77 77'
'77 70 00 07 77 77 77 77 70 00 77 77 77 77 77 77'
'77 70 00 77 77 77 77 77 70 00 07 77 77 77 77 77'
'77 00 00 77 77 77 77 77 77 00 00 77 77 77 77 77'
'70 00 07 77 77 77 77 77 77 70 00 07 77 77 77 77'
'00 00 77 77 77 77 77 77 77 77 00 00 07 77 77 00'
'00 07 77 77 77 77 77 77 77 77 70 00 00 00 00 00'
'00 77 77 77 77 77 77 77 77 77 77 00 00 00 00 00'
'07 77 77 77 77 77 77 77 77 77 77 77 00 00 00 07'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77'
'77 77 77 77 77 77'
}
CM_GAMENEW BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 10 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'00 00 77 77 77 77 70 77 77 77 77 77 00 00 77 07'
'77 77 70 77 77 77 70 77 00 00 77 70 77 77 77 77'
'77 77 07 77 00 00 77 77 70 00 00 00 00 07 77 77'
'00 00 77 77 70 FE FE FE FE 07 77 77 00 00 77 77'
'70 EF EF EF EF 07 77 77 00 00 77 77 70 FE FE FE'
'FE 07 77 77 00 00 77 77 70 EF EF EF EF 07 77 77'
'00 00 77 77 70 FE FE FE FE 07 70 07 00 00 70 07'
'70 EF EF EF EF 07 77 77 00 00 77 77 70 FE FE FE'
'FE 07 77 77 00 00 77 77 70 EF EF E0 00 07 77 77'
'00 00 77 77 70 FE FE F0 E0 77 77 77 00 00 77 77'
'70 EF EF E0 07 77 77 77 00 00 77 77 70 00 00 00'
'77 77 77 77 00 00 77 70 77 77 77 77 77 77 07 77'
'00 00 77 07 77 77 77 07 77 77 70 77 00 00 77 77'
'77 77 77 07 77 77 77 77 00 00 77 77 77 77 77 77'
'77 77 77 77 00 00'
}
CM_GAMEOPTIONS BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 10 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'
'00 00 77 00 00 00 00 00 00 00 77 77 00 00 77 0F'
'EF EF EF EF EF E0 77 77 00 00 77 0E FE 0E FE FE'
'FE F0 00 77 00 00 77 0F E0 00 EF EF EF E0 E0 77'
'00 00 77 0E 00 F0 0E FE FE F0 F0 77 00 00 77 0F'
'EF EF 00 EF EF E0 E0 77 00 00 77 0E FE FE F0 0E'
'FE F0 F0 77 00 00 77 0F EF 0F EF EF EF E0 E0 77'
'00 00 77 0E F0 00 FE FE FE F0 F0 77 00 00 77 0F'
'00 E0 0F EF EF E0 E0 77 00 00 77 0E FE FE 00 FE'
'FE F0 F0 77 00 00 77 0F EF EF E0 00 00 00 E0 77'
'00 00 77 0E FE FE FE F0 FE 0E F0 77 00 00 77 0F'
'EF EF EF E0 E0 00 00 77 00 00 77 0E FE FE FE F0'
'00 FE 07 77 00 00 77 00 00 00 00 00 E0 E0 77 77'
'00 00 77 77 0E FE FE FE F0 07 77 77 00 00 77 77'
'00 00 00 00 00 77 77 77 00 00 77 77 77 77 77 77'
'77 77 77 77 00 00'
}
CM_ABOUT BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 10 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 77 77 77 07 77 77 70 77 77 77'
'00 00 77 77 77 07 77 77 70 70 77 07 00 00 77 77'
'77 07 77 77 70 77 00 77 00 00 77 77 77 07 7E E7'
'70 77 00 77 00 00 77 77 77 07 7E E7 70 70 77 07'
'00 00 77 77 77 07 77 77 70 77 77 77 00 00 00 00'
'00 00 0E E0 00 00 00 00 00 00 77 77 77 07 7E E7'
'70 77 77 77 00 00 77 77 77 07 7E EE 70 77 77 77'
'00 00 77 77 77 07 07 EE E0 77 77 77 00 00 77 77'
'77 07 07 7E EE 77 77 77 00 00 77 77 77 EE 70 07'
'EE 77 77 77 00 00 77 77 77 EE E7 77 EE 77 77 77'
'00 00 00 00 00 0E EE EE E0 00 00 00 00 00 77 77'
'77 07 EE EE 70 77 77 77 00 00 77 77 77 07 77 77'
'70 70 77 07 00 00 77 77 77 07 77 77 70 77 00 77'
'00 00 77 77 77 07 77 77 70 77 00 77 00 00 77 77'
'77 07 77 77 70 70 77 07 00 00 77 77 77 07 77 77'
'70 77 77 77 00 00'
}
CM_EXIT BITMAP
{
'42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 14 00 00 00 14 00 00 00 01 00 04 00 00 00'
'00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 10 00 00 00 00 00 00 00 00 00 BF 00 00 BF'
'00 00 00 BF BF 00 BF 00 00 00 BF 00 BF 00 BF BF'
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 88 88 88 88 88 88 F7 F7 F7 88'
'00 00 88 88 88 88 88 87 7F 7F 78 88 00 00 44 44'
'44 00 88 8F FF 44 44 44 00 00 77 77 74 D8 00 7F'
'FF 47 77 77 00 00 77 77 74 8D 80 FF FF 47 77 77'
'00 00 77 77 74 D8 D0 FF FF 47 77 77 00 00 77 77'
'74 8D 80 FE FE 47 77 77 00 00 77 77 74 D8 D0 FF'
'FF 47 77 77 00 00 77 77 74 8D 80 FE FE 47 77 77'
'00 00 77 77 74 D8 D0 FF FF 47 77 77 00 00 77 77'
'74 8D 80 FE FE 47 77 77 00 00 77 77 74 D8 D0 EF'
'EF 47 77 77 00 00 77 77 74 8D 80 FE FE 47 77 77'
'00 00 77 77 74 D8 D0 EF EF 47 77 77 00 00 77 77'
'74 44 44 44 44 47 77 77 00 00 77 77 77 77 77 77'
'77 77 77 77 00 00 77 77 77 70 00 00 07 77 77 77'
'00 00 77 77 77 70 AA AA 07 77 77 77 00 00 77 77'
'77 70 00 00 07 77 77 77 00 00 77 77 77 77 77 77'
'77 77 77 77 00 00'
}