-
Notifications
You must be signed in to change notification settings - Fork 0
/
ricochetRsc.rcp
163 lines (143 loc) · 4.51 KB
/
ricochetRsc.rcp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
//
// $Id: ricochetRsc.rcp,v 1.2 2003/02/14 06:01:37 keithp Exp $
//
// Copyright © 2003 Keith Packard
//
// Permission to use, copy, modify, distribute, and sell this software and its
// documentation for any purpose is hereby granted without fee, provided that
// the above copyright notice appear in all copies and that both that
// copyright notice and this permission notice appear in supporting
// documentation, and that the name of Keith Packard not be used in
// advertising or publicity pertaining to distribution of the software without
// specific, written prior permission. Keith Packard makes no
// representations about the suitability of this software for any purpose. It
// is provided "as is" without express or implied warranty.
//
// KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
// INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
// EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
// CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
// TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
//
#include "ricochetRsc.h"
ICONFAMILY "ricochet1bpp.bmp" COLORTABLE TRANSPARENT 255 255 255
TRANSLATION "eng"
BEGIN
"Ricochet" = "Ricochet"
"Undo" = "Undo"
"Restart" = "Restart"
"Next Round" = "Next Round"
"New Game" = "New Game"
"Undo" = "Undo"
"Timer" = "Timer"
"Start" = "Start"
"Stop" = "Stop"
"Help" = "Help"
"Controls" = "Controls"
"Rules" = "Rules"
"About Ricochet" = "About Ricochet"
"Ricochet Robots" = "Ricochet Robots"
"About Ricochet Robots" = "About Ricochet Robots"
"About Ricochet Robots Text" = "" \
"Ricochet © 2003\r" \
"Keith Packard & Bart Massey\r"\
"Version 0.1\r"\
"http://keithp.com\r"\
"Done" = "Done"
"Ricochet Controls" = "Ricochet Controls"
"Controls Help" = "" \
"Tap robot to select.\r" \
"Tap destination to move.\r" \
"Drag robot to select\r" \
" and move.\r"\
"Up button to undo.\r" \
"Tap center to start/stop\r" \
" timer."
"Ricochet Robots Rules" = "Ricochet Robots Rules"
"Rules Text" = "" \
"RicochetRobots\r\r"\
"Goal: move solid robot to target in minimal moves\r\r"\
"Robots move horizontally or vertically until they hit an "\
"obstruction. "\
"Use outlined robots as extra obstructions. "\
"Each movement of any robot counts as 1 move.\r\r"\
"Multiple players plan moves privately and bid number of moves. "\
"First bidder starts timer. "\
"Successive bids needn't be lower. "\
"Lowest bidder attempts solution. "\
"Failure to solve in no more than bid moves passes attempt " \
"to next higher bidder. "\
"Success counts as one point for round. "\
"Player with most points at end of game wins."
END
FORM mainForm 0 0 160 160
USABLE
MENUID menuBar
BEGIN
END
MENU menuBar
BEGIN
PULLDOWN "Ricochet"
BEGIN
MENUITEM "Restart" menuRicochetRestart "R"
MENUITEM "Next Round" menuRicochetNext "N"
MENUITEM "New Game" menuRicochetNew "G"
MENUITEM SEPARATOR
MENUITEM "Undo" menuRicochetUndo "U"
END
PULLDOWN "Timer"
BEGIN
MENUITEM "Start" menuTimerStart "T"
MENUITEM "Stop" menuTimerStop "S"
END
PULLDOWN "Help"
BEGIN
MENUITEM "Controls" menuHelpControls "C"
MENUITEM "Rules" menuHelpRules "L"
MENUITEM SEPARATOR
MENUITEM "About Ricochet" menuHelpGetInfo "I"
END
END
BITMAP ID bitmapRobotActive "robotActive.bmp"
BITMAP ID bitmapRobotPassive "robotPassive.bmp"
BITMAP ID bitmapTarget "target.bmp"
BITMAP ID bitmapRobotActiveTarget "robotActiveTarget.bmp"
BITMAP ID bitmapRobotPassiveTarget "robotPassiveTarget.bmp"
FORM infoForm 2 62 156 96
USABLE
MODAL
HELPID infoFormHelp
DEFAULTBTNID infoOk
BEGIN
TITLE "About Ricochet Robots"
LABEL "About Ricochet Robots Text"
ID infoText AT (6 15) FONT 1
BUTTON "Done" ID infoOk AT (10 76 AUTO AUTO)
END
STRING infoFormHelp "Info Form Help"
FORM controlForm 2 32 156 126
USABLE
MODAL
DEFAULTBTNID controlOk
BEGIN
TITLE "Ricochet Controls"
LABEL "Controls Help"
ID controlText AT (6 15) FONT 1
BUTTON "Done" ID controlOk AT (10 106 AUTO AUTO)
END
FORM rulesForm 2 2 156 156
USABLE
MODAL
DEFAULTBTNID rulesOk
BEGIN
TITLE "Ricochet Robots Rules"
FIELD ID rulesText AT (6 15 148 125)
USABLE MULTIPLELINES MAXCHARS 4095 FONT 1 NONEDITABLE
BUTTON "Done" ID rulesOk AT (10 140 AUTO AUTO)
REPEATBUTTON "\001" rulesScrollUp AT (143 140 13 8) NOFRAME FONT 5
REPEATBUTTON "\002" rulesScrollDown AT (143 148 13 8) NOFRAME FONT 5
END
STRING ricochetRulesText "Rules Text"