| 1 |
(assets |
| 2 |
(img "logoscreen.png") |
| 3 |
(img "newgame.png") |
| 4 |
(img "newgameh.png") |
| 5 |
(img "prefs.png") |
| 6 |
(img "prefsh.png") |
| 7 |
(img "highscores.png") |
| 8 |
(img "highscoresh.png") |
| 9 |
(img "fullscreen.png") |
| 10 |
(img "fullscreenh.png") |
| 11 |
(img "window.png") |
| 12 |
(img "windowh.png") |
| 13 |
(img "audioon.png") |
| 14 |
(img "audioonh.png") |
| 15 |
(img "audiooff.png") |
| 16 |
(img "audiooffh.png") |
| 17 |
(img "easy.png") |
| 18 |
(img "easyh.png") |
| 19 |
(img "medium.png") |
| 20 |
(img "mediumh.png") |
| 21 |
(img "hard.png") |
| 22 |
(img "hardh.png") |
| 23 |
(img "quit.png") |
| 24 |
(img "quith.png") |
| 25 |
(img "icculus_logoscreen1.png") |
| 26 |
(img "icculus_logoscreen2.png") |
| 27 |
(img "oes_link1.png") |
| 28 |
(img "oes_link2.png") |
| 29 |
(img "fish1.png") |
| 30 |
(img "fish2.png") |
| 31 |
(img "hisfatj1.png") |
| 32 |
(img "hisfatj2.png") |
| 33 |
) |
| 34 |
|
| 35 |
((type 'toplevel) |
| 36 |
(name "prefs") |
| 37 |
(connect 'cycle-focus 'esc) |
| 38 |
(on-esc 'go-main) |
| 39 |
(container |
| 40 |
|
| 41 |
((type 'image) |
| 42 |
(x 0) |
| 43 |
(y 0) |
| 44 |
(image "logoscreen.png") |
| 45 |
) |
| 46 |
|
| 47 |
((type 'image) |
| 48 |
(name "OES") |
| 49 |
(x 19) |
| 50 |
(y 0) |
| 51 |
(image "oes_link1.png") |
| 52 |
) |
| 53 |
|
| 54 |
((type 'button) |
| 55 |
(name "Fullscreen") |
| 56 |
(x 0) |
| 57 |
(y 200) |
| 58 |
(w 196) |
| 59 |
(h 32) |
| 60 |
(image "fullscreen.png") |
| 61 |
(himage "fullscreenh.png") |
| 62 |
(connect 'focus 'click) ;connect to receive these signals |
| 63 |
(on-click 'frob-fullscreen) ;when clicked, generate signal 'frob-fullscreen |
| 64 |
) |
| 65 |
|
| 66 |
((type 'button) |
| 67 |
(name "Audio") |
| 68 |
(x 0) |
| 69 |
(y 230) |
| 70 |
(w 196) |
| 71 |
(h 32) |
| 72 |
(image "audioon.png") |
| 73 |
(himage "audioonh.png") |
| 74 |
(connect 'focus 'click) |
| 75 |
(on-click 'frob-audio) |
| 76 |
) |
| 77 |
|
| 78 |
((type 'button) |
| 79 |
(name "Difficulty") |
| 80 |
(x 0) |
| 81 |
(y 260) |
| 82 |
(w 0) |
| 83 |
(h 0) |
| 84 |
(connect 'focus 'click) |
| 85 |
(on-click 'frob-skill) |
| 86 |
) |
| 87 |
|
| 88 |
((type 'button) |
| 89 |
(name "Back") |
| 90 |
(x 0) |
| 91 |
(y 320) |
| 92 |
(image "quit.png") |
| 93 |
(himage "quith.png") |
| 94 |
(connect 'focus 'click) |
| 95 |
(on-click 'go-main) |
| 96 |
) |
| 97 |
|
| 98 |
) ;container |
| 99 |
) ;toplevel "prefs" |
| 100 |
|
| 101 |
((type 'toplevel) |
| 102 |
(name "main") |
| 103 |
(connect 'cycle-focus 'esc) ;'cycle-focus as an inherent action of containers? |
| 104 |
(on-esc 'quit) |
| 105 |
(container |
| 106 |
|
| 107 |
((type 'image) |
| 108 |
(x 0) |
| 109 |
(y 0) |
| 110 |
(image "logoscreen.png") |
| 111 |
) |
| 112 |
|
| 113 |
((type 'button) |
| 114 |
(name "OES") |
| 115 |
(x 19) |
| 116 |
(y 0) |
| 117 |
(image "oes_link1.png") |
| 118 |
(himage "oes_link2.png") |
| 119 |
(connect 'focus 'click) |
| 120 |
(on-click 'url-oes) |
| 121 |
) |
| 122 |
|
| 123 |
((type 'button) |
| 124 |
(name "URL3") |
| 125 |
(x 500) |
| 126 |
(y 50) |
| 127 |
(image "hisfatj1.png") |
| 128 |
(himage "hisfatj2.png") |
| 129 |
(connect 'focus 'click) |
| 130 |
(on-click 'url-os) |
| 131 |
) |
| 132 |
|
| 133 |
((type 'button) |
| 134 |
(name "Start") |
| 135 |
(x 440) |
| 136 |
(y 160) |
| 137 |
(w 196) |
| 138 |
(h 32) |
| 139 |
(image "newgame.png") |
| 140 |
(himage "newgameh.png") |
| 141 |
(connect 'focus 'click) |
| 142 |
(on-click 'start-game) |
| 143 |
) |
| 144 |
|
| 145 |
((type 'button) |
| 146 |
(name "Prefs") |
| 147 |
(x 440) |
| 148 |
(y 214) |
| 149 |
(w 196) |
| 150 |
(h 32) |
| 151 |
(image "prefs.png") |
| 152 |
(himage "prefsh.png") |
| 153 |
(connect 'focus 'click) |
| 154 |
(on-click 'go-prefs) |
| 155 |
) |
| 156 |
|
| 157 |
((type 'button) |
| 158 |
(name "Scores") |
| 159 |
(x 440) |
| 160 |
(y 268) |
| 161 |
(image "highscores.png") |
| 162 |
(himage "highscoresh.png") |
| 163 |
(connect 'focus 'click) |
| 164 |
(on-click 'go-scores) |
| 165 |
) |
| 166 |
|
| 167 |
((type 'button) |
| 168 |
(name "Quit") |
| 169 |
(x 440) |
| 170 |
(y 322) |
| 171 |
(image "quit.png") |
| 172 |
(himage "quith.png") |
| 173 |
(connect 'focus 'click) |
| 174 |
(on-click 'quit) |
| 175 |
) |
| 176 |
|
| 177 |
((type 'label) |
| 178 |
(name "label-io") |
| 179 |
(x 2) |
| 180 |
(y 430) |
| 181 |
(color 2) |
| 182 |
(text "www.icculus.org") |
| 183 |
) |
| 184 |
|
| 185 |
((type 'button) |
| 186 |
(name "URL1") |
| 187 |
(x 4) |
| 188 |
(y 440) |
| 189 |
(image "icculus_logoscreen1.png") |
| 190 |
(himage "icculus_logoscreen2.png") |
| 191 |
(connect 'focus 'click) |
| 192 |
(on-click 'url-io) |
| 193 |
) |
| 194 |
|
| 195 |
((type 'label) |
| 196 |
(name "label-ov") |
| 197 |
(x 72) |
| 198 |
(y 430) |
| 199 |
(color 2) |
| 200 |
(text "www.vorbis.com") |
| 201 |
) |
| 202 |
|
| 203 |
((type 'button) |
| 204 |
(name "URL2") |
| 205 |
(x 74) |
| 206 |
(y 440) |
| 207 |
(image "fish1.png") |
| 208 |
(himage "fish2.png") |
| 209 |
(connect 'focus 'click) |
| 210 |
(on-click 'url-ov) |
| 211 |
) |
| 212 |
|
| 213 |
; ((type 'button) |
| 214 |
; (name "URL1") |
| 215 |
; (x 280) |
| 216 |
; (y 460) |
| 217 |
; (w 100) |
| 218 |
; (h 20) |
| 219 |
; (image "quit.png") |
| 220 |
; (himage "quith.png") |
| 221 |
; (connect 'focus 'click) |
| 222 |
; (on-click 'url1) |
| 223 |
; ) |
| 224 |
|
| 225 |
((type 'button) |
| 226 |
(name "URL5") |
| 227 |
(x 280) |
| 228 |
(y 470) |
| 229 |
(w 65) |
| 230 |
(h 10) |
| 231 |
(connect 'click) |
| 232 |
(on-click 'url-oes) |
| 233 |
) |
| 234 |
|
| 235 |
) ;container |
| 236 |
) ;toplevel "main" |
| 237 |
|
| 238 |
|
| 239 |
((type 'toplevel) |
| 240 |
(name "highscores") |
| 241 |
(connect 'cycle-focus 'esc) |
| 242 |
(on-esc 'go-main) |
| 243 |
(container |
| 244 |
|
| 245 |
((type 'ownerdraw) |
| 246 |
(x 0) |
| 247 |
(y 0) |
| 248 |
(tag "highscores") |
| 249 |
) |
| 250 |
|
| 251 |
((type 'button) |
| 252 |
(name "Start") |
| 253 |
(x 29) |
| 254 |
(y 446) |
| 255 |
(image "newgame.png") |
| 256 |
(himage "newgameh.png") |
| 257 |
(connect 'focus 'click) |
| 258 |
(on-click 'start-game) |
| 259 |
) |
| 260 |
|
| 261 |
((type 'button) |
| 262 |
(name "Prefs") |
| 263 |
(x 238) |
| 264 |
(y 446) |
| 265 |
(image "prefs.png") |
| 266 |
(himage "prefsh.png") |
| 267 |
(connect 'focus 'click) |
| 268 |
(on-click 'go-prefs) |
| 269 |
) |
| 270 |
|
| 271 |
((type 'button) |
| 272 |
(name "Back") |
| 273 |
(x 437) |
| 274 |
(y 446) |
| 275 |
(image "quit.png") |
| 276 |
(himage "quith.png") |
| 277 |
(connect 'focus 'click) |
| 278 |
(on-click 'go-main) |
| 279 |
) |
| 280 |
|
| 281 |
) ;container |
| 282 |
) ;toplevel "highscores" |
| 283 |
|
| 284 |
|
| 285 |
((type 'toplevel) |
| 286 |
(name "gameover") |
| 287 |
(connect 'cycle-focus 'esc) |
| 288 |
(on-esc 'go-main) |
| 289 |
(container |
| 290 |
|
| 291 |
((type 'ownerdraw) |
| 292 |
(x 0) |
| 293 |
(y 0) |
| 294 |
(tag "gameover") |
| 295 |
) |
| 296 |
|
| 297 |
((type 'button) |
| 298 |
(name "Start") |
| 299 |
(x 440) |
| 300 |
(y 160) |
| 301 |
(w 196) |
| 302 |
(h 32) |
| 303 |
(image "newgame.png") |
| 304 |
(himage "newgameh.png") |
| 305 |
(connect 'focus 'click) |
| 306 |
(on-click 'start-game) |
| 307 |
) |
| 308 |
|
| 309 |
((type 'button) |
| 310 |
(name "Prefs") |
| 311 |
(x 440) |
| 312 |
(y 214) |
| 313 |
(w 196) |
| 314 |
(h 32) |
| 315 |
(image "prefs.png") |
| 316 |
(himage "prefsh.png") |
| 317 |
(connect 'focus 'click) |
| 318 |
(on-click 'go-prefs) |
| 319 |
) |
| 320 |
|
| 321 |
((type 'button) |
| 322 |
(name "Scores") |
| 323 |
(x 440) |
| 324 |
(y 268) |
| 325 |
(image "highscores.png") |
| 326 |
(himage "highscoresh.png") |
| 327 |
(connect 'focus 'click) |
| 328 |
(on-click 'go-scores) |
| 329 |
) |
| 330 |
|
| 331 |
((type 'button) |
| 332 |
(name "Quit") |
| 333 |
(x 440) |
| 334 |
(y 322) |
| 335 |
(image "quit.png") |
| 336 |
(himage "quith.png") |
| 337 |
(connect 'focus 'click) |
| 338 |
(on-click 'go-main) |
| 339 |
) |
| 340 |
|
| 341 |
) ;container |
| 342 |
) ;toplevel "gameover" |