home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
GAMES
/
CAROM10.ZIP
/
CAROMSRC.ZIP
/
NEWGAME.RC
< prev
next >
Wrap
Text File
|
1994-08-13
|
3KB
|
54 lines
/*
Copyright (c) 1994 Csaba Mßrkus. All rights reserved.
E-mail: ethcms@duna.ericsson.se
Addr.: H-9600 Sßrvßr, Szatmßr u. 4, Hungary
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without written agreement
is hereby granted, provided that the above copyright notice and the
following two paragraphs appear in all copies of this software.
IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE AUTHOR DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHOR HAS
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS
OR MODIFICATIONS.
*/
#include "carom.h"
NewGame DIALOG 126, 50, 180, 161
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Begin New Game"
BEGIN
CONTROL "Names", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 6, 2, 170, 54
LTEXT "Player 1:", -1, 26, 13, 30, 8
LTEXT "(&white cueball)", -1, 26, 21, 54, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
EDITTEXT DL_NG_NAME1, 82, 16, 74, 12
LTEXT "Player 2:", -1, 26, 34, 30, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
LTEXT "(&yellow cueball)", -1, 26, 42, 54, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
EDITTEXT DL_NG_NAME2, 82, 36, 74, 12
CONTROL "Game Type", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 6, 56, 82, 44
CONTROL "&Free", DL_NG_GAME0, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 17, 66, 58, 12
CONTROL "&One-cushion", DL_NG_GAME1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 17, 76, 58, 12
CONTROL "&Three-cushion", DL_NG_GAME3, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 17, 86, 58, 12
CONTROL "Scoring", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 92, 56, 84, 44
LTEXT "Winning &score:", -1, 99, 71, 50, 8
EDITTEXT DL_NG_WIN_SCORE, 155, 69, 16, 12
CONTROL "&Points for cushions", DL_NG_CUSHION_P, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 99, 83, 74, 12
CONTROL "Start", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 6, 100, 170, 22
CONTROL "Player &1", DL_NG_START1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 24, 108, 38, 12
CONTROL "Player &2", DL_NG_START2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 72, 108, 38, 12
CONTROL "&Random", DL_NG_STARTR, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 120, 108, 38, 12
CONTROL "Help Options", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 6, 122, 113, 35
CONTROL "Enable &Undo", DL_NG_UNDO, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 13, 132, 95, 12
CONTROL "Enable &Collision Indicator", DL_NG_BREAK, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 13, 143, 95, 12
DEFPUSHBUTTON "OK", DL_NG_OK, 124, 143, 52, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Cancel", DL_NG_CANCEL, 124, 126, 52, 14
END