home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
w
/
winpool.zip
/
POOL.RC
< prev
next >
Wrap
Text File
|
1992-07-21
|
3KB
|
121 lines
/*
* Copyright 1992 Ismail ARIT
* Hidirbeyli AYDIN TR. 09400
* Golden CO USA. 80401
*/
#include <windows.h>
#include "definiti.h"
Pool ICON Pool.ico
Tile BITMAP tile.bmp
BALLDEL BITMAP balldel.bmp
BALL0 BITMAP ball0.bmp
BALL1 BITMAP ball1.bmp
BALL2 BITMAP ball2.bmp
BALL3 BITMAP ball3.bmp
BALL4 BITMAP ball4.bmp
BALL5 BITMAP ball5.bmp
BALL6 BITMAP ball6.bmp
BALL7 BITMAP ball7.bmp
BALL8 BITMAP ball8.bmp
BALL9 BITMAP ball9.bmp
BALL10 BITMAP ball10.bmp
BALL11 BITMAP ball11.bmp
BALL12 BITMAP ball12.bmp
BALL13 BITMAP ball13.bmp
BALL14 BITMAP ball14.bmp
BALL15 BITMAP ball15.bmp
POOL MENU LOADONCALL MOVEABLE PURE DISCARDABLE
BEGIN
POPUP "&Options"
BEGIN
MenuItem "&New Game", NewGame
MenuItem "&Load Game", LoadGame
MenuItem "&Players", Players
MenuItem "S&cores", Scores
MenuItem "&Trajectory",TrajectoryMode
MenuItem "&Save", SaveIt
MenuItem "&Exit", ExitThisApp
END
POPUP "&Misc"
BEGIN
MenuItem "&Config",ConfigGame
MenuItem "&About", AboutBox
END
END
STRINGTABLE
BEGIN
IDS_FILTERSTRING "Game Files(*.POO)|*.poo|"
END
PLAYERS DIALOG 25, 52, 146, 69
CAPTION "Players"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
PUSHBUTTON "Ok", 204, 100, 5, 41, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Cancel", 205, 100, 32, 41, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
EDITTEXT 202, 7, 19, 82, 12
EDITTEXT 203, 7, 51, 82, 12
LTEXT "Player II", -1, 7, 40, 83, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
LTEXT "Player I", -1, 7, 6, 83, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
END
SCORES DIALOG 38, 38, 101, 65
CAPTION "Scores"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
EDITTEXT 305, 20, 20, 29, 11, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
PUSHBUTTON "+", 303, 7, 18, 10, 7, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "-", 304, 7, 25, 10, 7, WS_CHILD | WS_VISIBLE | WS_TABSTOP
EDITTEXT 308, 20, 49, 29, 11, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
PUSHBUTTON "+", 306, 7, 47, 10, 7, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "-", 307, 7, 54, 10, 7, WS_CHILD | WS_VISIBLE | WS_TABSTOP
LTEXT "Player I", -1, 7, 6, 42, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
LTEXT "Player II", -1, 8, 38, 42, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
PUSHBUTTON "Ok", 301, 65, 4, 28, 24, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Cancel", 302, 65, 35, 28, 24, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
FLOATDIALOG DIALOG 81, 37, 42, 79
CAPTION "Pool"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
PUSHBUTTON "&Info", 501, 0, 0, 42, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&New Game", 502, 0, 10, 42, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Load Game", 503, 0, 19, 42, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Players", 504, 0, 29, 42, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Scores", 505, 0, 39, 42, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "S&ave", 506, 0, 49, 42, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Exit", 507, 0, 59, 42, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&Trajectory", 508, 0, 69, 41, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END