home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2003 October / cmycha200310.iso / Szkola / Szkola_Koziolka.exe / dane / PRZYGODA / mg2 / MenuInside.cnv < prev    next >
Text File  |  2003-09-09  |  21KB  |  760 lines

  1. OBJECT=MUSIC
  2. MUSIC:TYPE=MUSIC
  3. MUSIC:FILENAME=MUZA0.WAV
  4.  
  5. OBJECT=VPRAWO
  6. VPRAWO:TYPE=INTEGER
  7. VPRAWO:VALUE=0
  8. VPRAWO:ONCHANGED^100={KONIECPRAWO;}
  9. VPRAWO:ONCHANGED^90={KONIECLEWO;}
  10.  
  11. OBJECT=V_SCROLLSPEED1
  12. V_SCROLLSPEED1:TYPE=INTEGER
  13.  
  14. OBJECT=V_SCROLLSPEED2
  15. V_SCROLLSPEED2:TYPE=INTEGER
  16.  
  17. OBJECT=V_POS
  18. V_POS:TYPE=INTEGER
  19.  
  20. OBJECT=TMPINT
  21. TMPINT:TYPE=INTEGER
  22.  
  23. OBJECT=DOWYKONANIA
  24. DOWYKONANIA:TYPE=STRING
  25.  
  26. OBJECT=V_SOUND
  27. V_SOUND:TYPE=STRING
  28. V_SOUND:ONCHANGED=SOUND_STOP
  29. V_SOUND:ONCHANGED^NULL=UUU
  30.  
  31. OBJECT=V_HELP
  32. V_HELP:TYPE=INTEGER
  33.  
  34. OBJECT=NOZZLEBUT
  35. NOZZLEBUT:TYPE=ANIMO
  36. NOZZLEBUT:VISIBLE=TRUE
  37. NOZZLEBUT:FILENAME=NOZZLEBUT.ANN
  38. NOZZLEBUT:TOCANVAS=TRUE
  39. NOZZLEBUT:PRIORITY=2
  40. NOZZLEBUT:FPS=16
  41. NOZZLEBUT:PRELOAD=TRUE
  42. NOZZLEBUT:RELEASE=TRUE
  43. NOZZLEBUT:MONITORCOLLISION=FALSE
  44. NOZZLEBUT:MONITORCOLLISIONALPHA=FALSE
  45. NOZZLEBUT:ONFOCUSON={V_SOUND^SET("S_MALARZ");}
  46. NOZZLEBUT:ONFINISHED^ONFOCUSOFF={NOZZLEBUT^PLAY("ONNOEVENT");}
  47. NOZZLEBUT:ONCLICK={DOWYKONANIA^SET("BEHCLICKMALARZ");BEHKOZADOMODULU^RUN();}
  48.  
  49. OBJECT=PILKABUT
  50. PILKABUT:TYPE=ANIMO
  51. PILKABUT:VISIBLE=TRUE
  52. PILKABUT:FILENAME=PILKABUT.ANN
  53. PILKABUT:TOCANVAS=TRUE
  54. PILKABUT:PRIORITY=2
  55. PILKABUT:FPS=16
  56. PILKABUT:PRELOAD=TRUE
  57. PILKABUT:RELEASE=TRUE
  58. PILKABUT:MONITORCOLLISION=FALSE
  59. PILKABUT:MONITORCOLLISIONALPHA=FALSE
  60. PILKABUT:ONFOCUSON={V_SOUND^SET("S_PILKANASALI");@IF("V_DEMO","_","1","BFITMP0","");}
  61. PILKABUT:ONFINISHED^ONFOCUSOFF={PILKABUT^PLAY("ONNOEVENT");}
  62. PILKABUT:ONCLICK={@IF("V_DEMO","_","0","BFITMP1","");}
  63. PILKABUT:ONFOCUSOFF={@IF("V_DEMO","_","1","BFITMP2","");}
  64.  
  65. OBJECT=TEATRBUT
  66. TEATRBUT:TYPE=ANIMO
  67. TEATRBUT:VISIBLE=TRUE
  68. TEATRBUT:FILENAME=TEATRBUT.ANN
  69. TEATRBUT:TOCANVAS=TRUE
  70. TEATRBUT:PRIORITY=2
  71. TEATRBUT:FPS=16
  72. TEATRBUT:PRELOAD=TRUE
  73. TEATRBUT:RELEASE=TRUE
  74. TEATRBUT:MONITORCOLLISION=FALSE
  75. TEATRBUT:MONITORCOLLISIONALPHA=FALSE
  76. TEATRBUT:ONFOCUSON={V_SOUND^SET("S_TEATRZYK");}
  77. TEATRBUT:ONFINISHED^ONFOCUSOFF={TEATRBUT^PLAY("ONNOEVENT");}
  78. TEATRBUT:ONCLICK={DOWYKONANIA^SET("BEHCLICKTEATR");BEHKOZADOMODULU^RUN();}
  79.  
  80. OBJECT=ANGLISTAMENU
  81. ANGLISTAMENU:TYPE=ANIMO
  82. ANGLISTAMENU:VISIBLE=TRUE
  83. ANGLISTAMENU:FILENAME=ANGLISTAMENU.ANN
  84. ANGLISTAMENU:TOCANVAS=TRUE
  85. ANGLISTAMENU:PRIORITY=2
  86. ANGLISTAMENU:FPS=16
  87. ANGLISTAMENU:PRELOAD=TRUE
  88. ANGLISTAMENU:RELEASE=TRUE
  89. ANGLISTAMENU:MONITORCOLLISION=FALSE
  90. ANGLISTAMENU:MONITORCOLLISIONALPHA=FALSE
  91.  
  92. OBJECT=BIOLAMENU
  93. BIOLAMENU:TYPE=ANIMO
  94. BIOLAMENU:VISIBLE=TRUE
  95. BIOLAMENU:FILENAME=BIOLAMENU.ANN
  96. BIOLAMENU:TOCANVAS=TRUE
  97. BIOLAMENU:PRIORITY=2
  98. BIOLAMENU:FPS=16
  99. BIOLAMENU:PRELOAD=TRUE
  100. BIOLAMENU:RELEASE=TRUE
  101. BIOLAMENU:MONITORCOLLISION=FALSE
  102. BIOLAMENU:MONITORCOLLISIONALPHA=FALSE
  103.  
  104. OBJECT=KROLIKIBUT
  105. KROLIKIBUT:TYPE=ANIMO
  106. KROLIKIBUT:VISIBLE=TRUE
  107. KROLIKIBUT:FILENAME=KROLIKIBUT.ANN
  108. KROLIKIBUT:TOCANVAS=TRUE
  109. KROLIKIBUT:PRIORITY=2
  110. KROLIKIBUT:FPS=16
  111. KROLIKIBUT:PRELOAD=TRUE
  112. KROLIKIBUT:RELEASE=TRUE
  113. KROLIKIBUT:MONITORCOLLISION=FALSE
  114. KROLIKIBUT:MONITORCOLLISIONALPHA=FALSE
  115. KROLIKIBUT:ONFOCUSON={V_SOUND^SET("S_KROLIKI");@IF("V_DEMO","_","1","BFITMP3","");}
  116. KROLIKIBUT:ONFINISHED^ONFOCUSOFF={KROLIKIBUT^PLAY("ONNOEVENT");}
  117. KROLIKIBUT:ONCLICK={@IF("V_DEMO","_","0","BFITMP4","");}
  118. KROLIKIBUT:ONFOCUSOFF={@IF("V_DEMO","_","1","BFITMP5","");}
  119.  
  120. OBJECT=MATMAMENU
  121. MATMAMENU:TYPE=ANIMO
  122. MATMAMENU:VISIBLE=TRUE
  123. MATMAMENU:FILENAME=MATMAMENU.ANN
  124. MATMAMENU:TOCANVAS=TRUE
  125. MATMAMENU:PRIORITY=2
  126. MATMAMENU:FPS=16
  127. MATMAMENU:PRELOAD=TRUE
  128. MATMAMENU:RELEASE=TRUE
  129. MATMAMENU:MONITORCOLLISION=FALSE
  130. MATMAMENU:MONITORCOLLISIONALPHA=FALSE
  131.  
  132. OBJECT=POLSKIMENU
  133. POLSKIMENU:TYPE=ANIMO
  134. POLSKIMENU:VISIBLE=TRUE
  135. POLSKIMENU:FILENAME=POLSKIMENU.ANN
  136. POLSKIMENU:TOCANVAS=TRUE
  137. POLSKIMENU:PRIORITY=4
  138. POLSKIMENU:FPS=16
  139. POLSKIMENU:PRELOAD=TRUE
  140. POLSKIMENU:RELEASE=TRUE
  141. POLSKIMENU:MONITORCOLLISION=FALSE
  142. POLSKIMENU:MONITORCOLLISIONALPHA=FALSE
  143.  
  144. OBJECT=KOZA
  145. KOZA:TYPE=ANIMO
  146. KOZA:VISIBLE=TRUE
  147. KOZA:FILENAME=KOZA.ANN
  148. KOZA:TOCANVAS=TRUE
  149. KOZA:PRIORITY=2
  150. KOZA:FPS=16
  151. KOZA:PRELOAD=TRUE
  152. KOZA:RELEASE=TRUE
  153. KOZA:MONITORCOLLISION=FALSE
  154. KOZA:MONITORCOLLISIONALPHA=FALSE
  155.  
  156. OBJECT=DRZWIBUT
  157. DRZWIBUT:TYPE=ANIMO
  158. DRZWIBUT:VISIBLE=TRUE
  159. DRZWIBUT:FILENAME=DRZWIBUT.ANN
  160. DRZWIBUT:TOCANVAS=TRUE
  161. DRZWIBUT:PRIORITY=1
  162. DRZWIBUT:FPS=16
  163. DRZWIBUT:PRELOAD=TRUE
  164. DRZWIBUT:RELEASE=TRUE
  165. DRZWIBUT:MONITORCOLLISION=FALSE
  166. DRZWIBUT:MONITORCOLLISIONALPHA=FALSE
  167. DRZWIBUT:ONCLICK=BEHCLICKDRZWI
  168. DRZWIBUT:ONFOCUSON={S_DRZWI^PLAY();UUU^RUN();}
  169.  
  170. OBJECT=EXITNO
  171. EXITNO:TYPE=ANIMO
  172. EXITNO:VISIBLE=FALSE
  173. EXITNO:FILENAME=$COMMON\EXITNO.ANN
  174. EXITNO:TOCANVAS=TRUE
  175. EXITNO:PRIORITY=2001
  176. EXITNO:FPS=16
  177. EXITNO:PRELOAD=TRUE
  178. EXITNO:RELEASE=TRUE
  179. EXITNO:MONITORCOLLISION=FALSE
  180. EXITNO:MONITORCOLLISIONALPHA=FALSE
  181.  
  182. OBJECT=EXITTAK
  183. EXITTAK:TYPE=ANIMO
  184. EXITTAK:VISIBLE=FALSE
  185. EXITTAK:FILENAME=$COMMON\EXITTAK.ANN
  186. EXITTAK:TOCANVAS=TRUE
  187. EXITTAK:PRIORITY=2001
  188. EXITTAK:FPS=16
  189. EXITTAK:PRELOAD=TRUE
  190. EXITTAK:RELEASE=TRUE
  191. EXITTAK:MONITORCOLLISION=FALSE
  192. EXITTAK:MONITORCOLLISIONALPHA=FALSE
  193.  
  194. OBJECT=EXITBUT
  195. EXITBUT:TYPE=ANIMO
  196. EXITBUT:VISIBLE=TRUE
  197. EXITBUT:FILENAME=$COMMON\EXITBUT.ANN
  198. EXITBUT:TOCANVAS=TRUE
  199. EXITBUT:PRIORITY=2000
  200. EXITBUT:FPS=16
  201. EXITBUT:PRELOAD=TRUE
  202. EXITBUT:RELEASE=TRUE
  203. EXITBUT:MONITORCOLLISION=FALSE
  204. EXITBUT:MONITORCOLLISIONALPHA=FALSE
  205. EXITBUT:ONINIT={EXITBUT^SETFRAME("EXITBUT","EXITIN");}
  206. EXITBUT:ONFOCUSON={EXITBUT^SETFRAME("EXITBUT","EXITAC");S_WYJSCIEZPROGRAMU^PLAY();}
  207. EXITBUT:ONCLICK=BEHEXITDIALOG
  208. EXITBUT:ONFOCUSOFF={EXITBUT^SETFRAME("EXITBUT","EXITIN");}
  209.  
  210. OBJECT=HELPBUT
  211. HELPBUT:TYPE=ANIMO
  212. HELPBUT:VISIBLE=TRUE
  213. HELPBUT:FILENAME=$COMMON\HELPBUT.ANN
  214. HELPBUT:TOCANVAS=TRUE
  215. HELPBUT:PRIORITY=2000
  216. HELPBUT:FPS=16
  217. HELPBUT:PRELOAD=TRUE
  218. HELPBUT:RELEASE=TRUE
  219. HELPBUT:MONITORCOLLISION=FALSE
  220. HELPBUT:MONITORCOLLISIONALPHA=FALSE
  221. HELPBUT:ONINIT={HELPBUT^SETFRAME("HELPBUT","HELP_IN");}
  222. HELPBUT:ONFOCUSON={HELPBUT^SETFRAME("HELPBUT","HELP_AC");}
  223. HELPBUT:ONCLICK=BEHHELP
  224. HELPBUT:ONFOCUSOFF={HELPBUT^SETFRAME("HELPBUT","HELP_IN");}
  225.  
  226. OBJECT=HAND
  227. HAND:TYPE=ANIMO
  228. HAND:VISIBLE=TRUE
  229. HAND:FILENAME=HAND.ANN
  230. HAND:TOCANVAS=TRUE
  231. HAND:PRIORITY=2100
  232. HAND:FPS=16
  233. HAND:PRELOAD=TRUE
  234. HAND:RELEASE=TRUE
  235. HAND:MONITORCOLLISION=FALSE
  236. HAND:MONITORCOLLISIONALPHA=FALSE
  237.  
  238. OBJECT=PIXEL
  239. PIXEL:TYPE=ANIMO
  240. PIXEL:VISIBLE=TRUE
  241. PIXEL:FILENAME=PIXEL.ANN
  242. PIXEL:TOCANVAS=TRUE
  243. PIXEL:PRIORITY=0
  244. PIXEL:FPS=16
  245. PIXEL:PRELOAD=TRUE
  246. PIXEL:RELEASE=TRUE
  247. PIXEL:MONITORCOLLISION=FALSE
  248. PIXEL:MONITORCOLLISIONALPHA=FALSE
  249.  
  250. OBJECT=I_PLAN2
  251. I_PLAN2:TYPE=IMAGE
  252. I_PLAN2:VISIBLE=TRUE
  253. I_PLAN2:FILENAME=BKG1350.IMG
  254. I_PLAN2:TOCANVAS=TRUE
  255. I_PLAN2:PRIORITY=0
  256. I_PLAN2:PRELOAD=TRUE
  257. I_PLAN2:RELEASE=TRUE
  258. I_PLAN2:MONITORCOLLISION=FALSE
  259. I_PLAN2:MONITORCOLLISIONALPHA=FALSE
  260.  
  261. OBJECT=I_PLAN1
  262. I_PLAN1:TYPE=IMAGE
  263. I_PLAN1:VISIBLE=TRUE
  264. I_PLAN1:FILENAME=BKG1500.IMG
  265. I_PLAN1:TOCANVAS=TRUE
  266. I_PLAN1:PRIORITY=1000
  267. I_PLAN1:PRELOAD=TRUE
  268. I_PLAN1:RELEASE=TRUE
  269. I_PLAN1:MONITORCOLLISION=FALSE
  270. I_PLAN1:MONITORCOLLISIONALPHA=FALSE
  271.  
  272. OBJECT=NAKLADKA_KORALIKI
  273. NAKLADKA_KORALIKI:TYPE=IMAGE
  274. NAKLADKA_KORALIKI:VISIBLE=TRUE
  275. NAKLADKA_KORALIKI:FILENAME=NAKLADKA_KORALIKI.IMG
  276. NAKLADKA_KORALIKI:TOCANVAS=TRUE
  277. NAKLADKA_KORALIKI:PRIORITY=3
  278. NAKLADKA_KORALIKI:PRELOAD=TRUE
  279. NAKLADKA_KORALIKI:RELEASE=TRUE
  280. NAKLADKA_KORALIKI:MONITORCOLLISION=FALSE
  281. NAKLADKA_KORALIKI:MONITORCOLLISIONALPHA=FALSE
  282.  
  283. OBJECT=EXITDIALOG
  284. EXITDIALOG:TYPE=IMAGE
  285. EXITDIALOG:VISIBLE=FALSE
  286. EXITDIALOG:FILENAME=$COMMON\EXITDIALOG.IMG
  287. EXITDIALOG:TOCANVAS=TRUE
  288. EXITDIALOG:PRIORITY=2000
  289. EXITDIALOG:PRELOAD=TRUE
  290. EXITDIALOG:RELEASE=TRUE
  291. EXITDIALOG:MONITORCOLLISION=FALSE
  292. EXITDIALOG:MONITORCOLLISIONALPHA=FALSE
  293.  
  294. OBJECT=I_DEMO_ALL
  295. I_DEMO_ALL:TYPE=IMAGE
  296. I_DEMO_ALL:VISIBLE=FALSE
  297. I_DEMO_ALL:FILENAME=$COMMON\I_DEMO_ALL.IMG
  298. I_DEMO_ALL:TOCANVAS=TRUE
  299. I_DEMO_ALL:PRIORITY=1000
  300. I_DEMO_ALL:PRELOAD=TRUE
  301. I_DEMO_ALL:RELEASE=TRUE
  302. I_DEMO_ALL:MONITORCOLLISION=FALSE
  303. I_DEMO_ALL:MONITORCOLLISIONALPHA=FALSE
  304.  
  305. OBJECT=BUTTONLEWO
  306. BUTTONLEWO:TYPE=BUTTON
  307. BUTTONLEWO:VISIBLE=TRUE
  308. BUTTONLEWO:RECT=0,40,100,600
  309. BUTTONLEWO:ENABLE=TRUE
  310. BUTTONLEWO:DRAGGABLE=FALSE
  311. BUTTONLEWO:ONFOCUSON={TIMER1^ENABLE();}
  312. BUTTONLEWO:ONFOCUSOFF={TIMER1^DISABLE();}
  313.  
  314. OBJECT=BUTTONPRAWO
  315. BUTTONPRAWO:TYPE=BUTTON
  316. BUTTONPRAWO:VISIBLE=TRUE
  317. BUTTONPRAWO:RECT=700,40,800,600
  318. BUTTONPRAWO:ENABLE=TRUE
  319. BUTTONPRAWO:DRAGGABLE=FALSE
  320. BUTTONPRAWO:ONFOCUSON={TIMER2^ENABLE();}
  321. BUTTONPRAWO:ONFOCUSOFF={TIMER2^DISABLE();}
  322.  
  323. OBJECT=BUTTONANG
  324. BUTTONANG:TYPE=BUTTON
  325. BUTTONANG:VISIBLE=TRUE
  326. BUTTONANG:ENABLE=TRUE
  327. BUTTONANG:DRAGGABLE=FALSE
  328. BUTTONANG:GFXSTANDARD=ANGLISTAMENU
  329. BUTTONANG:ONFOCUSON={BEHANGON;@IF("V_DEMO","_","1","BFITMP6","");}
  330. BUTTONANG:ONCLICKED={@IF("V_DEMO","_","0","BFITMP7","");}
  331. BUTTONANG:ONFOCUSOFF={BEHANGOFF;@IF("V_DEMO","_","1","BFITMP8","");}
  332.  
  333. OBJECT=BUTTONBIOL
  334. BUTTONBIOL:TYPE=BUTTON
  335. BUTTONBIOL:VISIBLE=TRUE
  336. BUTTONBIOL:ENABLE=TRUE
  337. BUTTONBIOL:DRAGGABLE=FALSE
  338. BUTTONBIOL:GFXSTANDARD=BIOLAMENU
  339. BUTTONBIOL:ONFOCUSON=BEHBIOLON
  340. BUTTONBIOL:ONFOCUSOFF=BEHBIOLOFF
  341. BUTTONBIOL:ONCLICKED={DOWYKONANIA^SET("BEHCLICKBIOLA");BEHKOZADOMODULU^RUN();}
  342.  
  343. OBJECT=BUTTONMATMA
  344. BUTTONMATMA:TYPE=BUTTON
  345. BUTTONMATMA:VISIBLE=TRUE
  346. BUTTONMATMA:ENABLE=TRUE
  347. BUTTONMATMA:DRAGGABLE=FALSE
  348. BUTTONMATMA:GFXSTANDARD=MATMAMENU
  349. BUTTONMATMA:ONFOCUSON={BEHMATMAON;@IF("V_DEMO","_","1","BFITMP9","");}
  350. BUTTONMATMA:ONFOCUSOFF={BEHMATMAOFF;@IF("V_DEMO","_","1","BFITMP10","");}
  351. BUTTONMATMA:ONCLICKED={@IF("V_DEMO","_","0","BFITMP11","");}
  352.  
  353. OBJECT=BUTTONPOLSKI
  354. BUTTONPOLSKI:TYPE=BUTTON
  355. BUTTONPOLSKI:VISIBLE=TRUE
  356. BUTTONPOLSKI:ENABLE=TRUE
  357. BUTTONPOLSKI:DRAGGABLE=FALSE
  358. BUTTONPOLSKI:GFXSTANDARD=POLSKIMENU
  359. BUTTONPOLSKI:ONFOCUSON={BEHPOLON;@IF("V_DEMO","_","1","BFITMP12","");}
  360. BUTTONPOLSKI:ONFOCUSOFF={BEHPOLOFF;@IF("V_DEMO","_","1","BFITMP13","");}
  361. BUTTONPOLSKI:ONCLICKED={@IF("V_DEMO","_","0","BFITMP14","");}
  362.  
  363. OBJECT=BUTTAK
  364. BUTTAK:TYPE=BUTTON
  365. BUTTAK:VISIBLE=TRUE
  366. BUTTAK:RECT=EXITTAK
  367. BUTTAK:ENABLE=FALSE
  368. BUTTAK:DRAGGABLE=FALSE
  369. BUTTAK:GFXSTANDARD=EXITTAK
  370. BUTTAK:ONINIT={EXITTAK^SETFRAME("EXITTAK","TAK_IN");}
  371. BUTTAK:ONFOCUSON={EXITTAK^SETFRAME("EXITTAK","TAK_NAJ");S_TAK^PLAY();}
  372. BUTTAK:ONCLICKED=BEHEXIT
  373. BUTTAK:ONFOCUSOFF={EXITTAK^SETFRAME("EXITTAK","TAK_IN");}
  374.  
  375. OBJECT=BUTNIE
  376. BUTNIE:TYPE=BUTTON
  377. BUTNIE:VISIBLE=TRUE
  378. BUTNIE:RECT=EXITNO
  379. BUTNIE:ENABLE=FALSE
  380. BUTNIE:DRAGGABLE=FALSE
  381. BUTNIE:GFXSTANDARD=EXITNO
  382. BUTNIE:ONINIT={EXITNO^SETFRAME("EXITNO","NIE_IN");}
  383. BUTNIE:ONFOCUSON={EXITNO^SETFRAME("EXITNO","NIE_NAJ");S_NIE^PLAY();}
  384. BUTNIE:ONCLICKED={EXITNO^SETFRAME("EXITNO","NIE_KLIK");BEHRESUME^RUN();}
  385. BUTNIE:ONFOCUSOFF={EXITNO^SETFRAME("EXITNO","NIE_IN");}
  386.  
  387. OBJECT=BUTHELPBREAKER
  388. BUTHELPBREAKER:TYPE=BUTTON
  389. BUTHELPBREAKER:VISIBLE=TRUE
  390. BUTHELPBREAKER:RECT=0,0,800,600
  391. BUTHELPBREAKER:ENABLE=FALSE
  392. BUTHELPBREAKER:DRAGGABLE=FALSE
  393. BUTHELPBREAKER:ONCLICKED=BEHHELPEND
  394.  
  395. OBJECT=ANGMENUSEQ
  396. ANGMENUSEQ:TYPE=SEQUENCE
  397. ANGMENUSEQ:FILENAME=ANGMENUSEQ.SEQ
  398. ANGMENUSEQ:ONINIT=BEHANGOFF
  399. ANGMENUSEQ:ONFINISHED^IDLE=BEHANGOFF
  400.  
  401. OBJECT=BIOLAMENUSEQ
  402. BIOLAMENUSEQ:TYPE=SEQUENCE
  403. BIOLAMENUSEQ:FILENAME=BIOLAMENUSEQ.SEQ
  404. BIOLAMENUSEQ:ONINIT=BEHBIOLOFF
  405. BIOLAMENUSEQ:ONFINISHED^IDLE=BEHBIOLOFF
  406.  
  407. OBJECT=POLSKIMENUSEQ
  408. POLSKIMENUSEQ:TYPE=SEQUENCE
  409. POLSKIMENUSEQ:FILENAME=POLSKIMENUSEQ.SEQ
  410. POLSKIMENUSEQ:ONINIT=BEHPOLOFF
  411. POLSKIMENUSEQ:ONFINISHED^IDLE=BEHPOLOFF
  412.  
  413. OBJECT=MATMAMENUSEQ
  414. MATMAMENUSEQ:TYPE=SEQUENCE
  415. MATMAMENUSEQ:FILENAME=MATMENUSEQ.SEQ
  416. MATMAMENUSEQ:ONINIT=BEHMATMAOFF
  417. MATMAMENUSEQ:ONFINISHED^IDLE=BEHMATMAOFF
  418.  
  419. OBJECT=KOZAMENUSEQ
  420. KOZAMENUSEQ:TYPE=SEQUENCE
  421. KOZAMENUSEQ:FILENAME=KOZAMENUSEQ.SEQ
  422. KOZAMENUSEQ:ONFINISHED={*DOWYKONANIA^RUN();}
  423.  
  424. OBJECT=HELP
  425. HELP:TYPE=SEQUENCE
  426. HELP:FILENAME=HELP.SEQ
  427. HELP:ONFINISHED^GADA_4=BEHHELPEND
  428.  
  429. OBJECT=TIMER1
  430. TIMER1:TYPE=TIMER
  431. TIMER1:ELAPSE=25
  432. TIMER1:TICKS=0
  433. TIMER1:ONTICK=BEHLEWO
  434.  
  435. OBJECT=TIMER2
  436. TIMER2:TYPE=TIMER
  437. TIMER2:ELAPSE=25
  438. TIMER2:TICKS=0
  439. TIMER2:ONTICK=BEHPRAWO
  440.  
  441. OBJECT=TIMERKOZIOLKA
  442. TIMERKOZIOLKA:TYPE=TIMER
  443. TIMERKOZIOLKA:ELAPSE=10000
  444. TIMERKOZIOLKA:TICKS=0
  445. TIMERKOZIOLKA:ONTICK=BEHKOZARANDOM
  446.  
  447. OBJECT=G_SOUNDS
  448. G_SOUNDS:TYPE=GROUP
  449.  
  450. OBJECT=G_SEQUENCE
  451. G_SEQUENCE:TYPE=GROUP
  452.  
  453. OBJECT=S_TEATRZYK
  454. S_TEATRZYK:TYPE=SOUND
  455. S_TEATRZYK:FILENAME=IKO1.WAV
  456. S_TEATRZYK:PRELOAD=FALSE
  457. S_TEATRZYK:FLUSHAFTERPLAYED=FALSE
  458.  
  459. OBJECT=S_KROLIKI
  460. S_KROLIKI:TYPE=SOUND
  461. S_KROLIKI:FILENAME=IKO8.WAV
  462. S_KROLIKI:PRELOAD=FALSE
  463. S_KROLIKI:FLUSHAFTERPLAYED=FALSE
  464.  
  465. OBJECT=S_PILKANASALI
  466. S_PILKANASALI:TYPE=SOUND
  467. S_PILKANASALI:FILENAME=IKO10.WAV
  468. S_PILKANASALI:PRELOAD=FALSE
  469. S_PILKANASALI:FLUSHAFTERPLAYED=FALSE
  470.  
  471. OBJECT=S_MALARZ
  472. S_MALARZ:TYPE=SOUND
  473. S_MALARZ:FILENAME=IKO12.WAV
  474. S_MALARZ:PRELOAD=FALSE
  475. S_MALARZ:FLUSHAFTERPLAYED=FALSE
  476.  
  477. OBJECT=S_DRZWI
  478. S_DRZWI:TYPE=SOUND
  479. S_DRZWI:FILENAME=IKO70.WAV
  480. S_DRZWI:PRELOAD=FALSE
  481. S_DRZWI:FLUSHAFTERPLAYED=FALSE
  482.  
  483. OBJECT=S_TAK
  484. S_TAK:TYPE=SOUND
  485. S_TAK:FILENAME=IKO46.WAV
  486. S_TAK:PRELOAD=FALSE
  487. S_TAK:FLUSHAFTERPLAYED=FALSE
  488.  
  489. OBJECT=S_NIE
  490. S_NIE:TYPE=SOUND
  491. S_NIE:FILENAME=IKO47.WAV
  492. S_NIE:PRELOAD=FALSE
  493. S_NIE:FLUSHAFTERPLAYED=FALSE
  494.  
  495. OBJECT=S_RUSURE
  496. S_RUSURE:TYPE=SOUND
  497. S_RUSURE:FILENAME=IKO71.WAV
  498. S_RUSURE:PRELOAD=FALSE
  499. S_RUSURE:FLUSHAFTERPLAYED=FALSE
  500.  
  501. OBJECT=S_WELCOME
  502. S_WELCOME:TYPE=SOUND
  503. S_WELCOME:FILENAME=IKO72.WAV
  504. S_WELCOME:PRELOAD=FALSE
  505. S_WELCOME:FLUSHAFTERPLAYED=FALSE
  506.  
  507. OBJECT=S_WYJSCIEZPROGRAMU
  508. S_WYJSCIEZPROGRAMU:TYPE=SOUND
  509. S_WYJSCIEZPROGRAMU:FILENAME=IKO37.WAV
  510. S_WYJSCIEZPROGRAMU:PRELOAD=FALSE
  511. S_WYJSCIEZPROGRAMU:FLUSHAFTERPLAYED=FALSE
  512.  
  513. OBJECT=MOUSE
  514. MOUSE:TYPE=MOUSE
  515.  
  516. OBJECT=CNVLOADER
  517. CNVLOADER:TYPE=CNVLOADER
  518.  
  519. OBJECT=CANVASOBSERVER
  520. CANVASOBSERVER:TYPE=CANVAS_OBSERVER
  521.  
  522. OBJECT=KEYBOARD
  523. KEYBOARD:TYPE=KEYBOARD
  524.  
  525. OBJECT=BEHEXIT
  526. BEHEXIT:TYPE=BEHAVIOUR
  527. BEHEXIT:CODE={PRZYGODA^GOTO("CREDITS");}
  528.  
  529.  
  530. OBJECT=BEHLEWO
  531. BEHLEWO:TYPE=BEHAVIOUR
  532. BEHLEWO:CODE={@IF("V_POS",">_","10","BFITMP15","");}
  533.  
  534.  
  535. OBJECT=BEHPRAWO
  536. BEHPRAWO:TYPE=BEHAVIOUR
  537. BEHPRAWO:CODE={@IF("V_POS","<_","560","BFITMP16","");}
  538.  
  539.  
  540. OBJECT=__INIT__
  541. __INIT__:TYPE=BEHAVIOUR
  542. __INIT__:CODE={TIMER1^DISABLE();TIMER2^DISABLE();BUTHELPBREAKER^DISABLE();HAND^HIDE();PILKABUT^SETASBUTTON(TRUE,TRUE);NOZZLEBUT^SETASBUTTON(TRUE,TRUE);TEATRBUT^SETASBUTTON(TRUE,TRUE);KROLIKIBUT^SETASBUTTON(TRUE,TRUE);DRZWIBUT^SETASBUTTON(TRUE,TRUE);EXITBUT^SETASBUTTON(TRUE,TRUE);HELPBUT^SETASBUTTON(TRUE,TRUE);I_PLAN2^MOVE(-275,0);PILKABUT^MOVE(-275,0);NOZZLEBUT^MOVE(-275,0);TEATRBUT^MOVE(-275,0);ANGLISTAMENU^MOVE(-275,0);BIOLAMENU^MOVE(-275,0);KROLIKIBUT^MOVE(-275,0);MATMAMENU^MOVE(-275,0);POLSKIMENU^MOVE(-275,0);DRZWIBUT^MOVE(-275,0);KOZA^MOVE(-275,0);NAKLADKA_KORALIKI^MOVE(-275,0);I_PLAN1^MOVE(-350,0);V_SCROLLSPEED1^SET(20);V_SCROLLSPEED2^SET(17);V_POS^SET(275);G_SOUNDS^ADD("S_TEATRZYK","S_KROLIKI","S_PILKANASALI","S_MALARZ");G_SEQUENCE^ADD("ANGMENUSEQ","BIOLAMENUSEQ","POLSKIMENUSEQ","MATMAMENUSEQ");@IF("V_WELCOMED","_","0","BFITMP17","");}
  543.  
  544.  
  545. OBJECT=BEHANGON
  546. BEHANGON:TYPE=BEHAVIOUR
  547. BEHANGON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");ANGMENUSEQ^STOP(FALSE);ANGMENUSEQ^PLAY("GADA");}
  548.  
  549.  
  550. OBJECT=BEHANGOFF
  551. BEHANGOFF:TYPE=BEHAVIOUR
  552. BEHANGOFF:CODE={ANGMENUSEQ^STOP(FALSE);ANGMENUSEQ^PLAY("IDLE");}
  553.  
  554.  
  555. OBJECT=BEHBIOLON
  556. BEHBIOLON:TYPE=BEHAVIOUR
  557. BEHBIOLON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");BIOLAMENUSEQ^STOP(FALSE);BIOLAMENUSEQ^PLAY("GADA");}
  558.  
  559.  
  560. OBJECT=BEHBIOLOFF
  561. BEHBIOLOFF:TYPE=BEHAVIOUR
  562. BEHBIOLOFF:CODE={BIOLAMENUSEQ^STOP(FALSE);BIOLAMENUSEQ^PLAY("IDLE");}
  563.  
  564.  
  565. OBJECT=BEHMATMAON
  566. BEHMATMAON:TYPE=BEHAVIOUR
  567. BEHMATMAON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");MATMAMENUSEQ^STOP(FALSE);MATMAMENUSEQ^PLAY("GADA");}
  568.  
  569.  
  570. OBJECT=BEHMATMAOFF
  571. BEHMATMAOFF:TYPE=BEHAVIOUR
  572. BEHMATMAOFF:CODE={MATMAMENUSEQ^STOP(FALSE);MATMAMENUSEQ^PLAY("IDLE");}
  573.  
  574.  
  575. OBJECT=BEHPOLON
  576. BEHPOLON:TYPE=BEHAVIOUR
  577. BEHPOLON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");POLSKIMENUSEQ^STOP(FALSE);POLSKIMENUSEQ^PLAY("GADA");}
  578.  
  579.  
  580. OBJECT=BEHPOLOFF
  581. BEHPOLOFF:TYPE=BEHAVIOUR
  582. BEHPOLOFF:CODE={POLSKIMENUSEQ^STOP(FALSE);POLSKIMENUSEQ^PLAY("IDLE");}
  583.  
  584.  
  585. OBJECT=BEHCLICKMALARZ
  586. BEHCLICKMALARZ:TYPE=BEHAVIOUR
  587. BEHCLICKMALARZ:CODE={PRZYGODA^GOTO("NOZZLE");}
  588.  
  589.  
  590. OBJECT=BEHCLICKPILKASALOWA
  591. BEHCLICKPILKASALOWA:TYPE=BEHAVIOUR
  592. BEHCLICKPILKASALOWA:CODE={VARKLASA^SET(1);PRZYGODA^GOTO("PILKAWYBOR");}
  593.  
  594.  
  595. OBJECT=BEHCLICKKROLIKI
  596. BEHCLICKKROLIKI:TYPE=BEHAVIOUR
  597. BEHCLICKKROLIKI:CODE={PRZYGODA^GOTO("HOTEL_WYB");}
  598.  
  599.  
  600. OBJECT=BEHCLICKTEATR
  601. BEHCLICKTEATR:TYPE=BEHAVIOUR
  602. BEHCLICKTEATR:CODE={PRZYGODA^GOTO("TEATR_WYB");}
  603.  
  604.  
  605. OBJECT=BEHCLICKDRZWI
  606. BEHCLICKDRZWI:TYPE=BEHAVIOUR
  607. BEHCLICKDRZWI:CODE={PRZYGODA^GOTO("MENUOUTSIDE");}
  608.  
  609.  
  610. OBJECT=BEHKOZARANDOM
  611. BEHKOZARANDOM:TYPE=BEHAVIOUR
  612. BEHKOZARANDOM:CODE={KOZAMENUSEQ^PLAY("RANDOM");}
  613.  
  614.  
  615. OBJECT=BEHKOZADOMODULU
  616. BEHKOZADOMODULU:TYPE=BEHAVIOUR
  617. BEHKOZADOMODULU:CODE={TIMERKOZIOLKA^DISABLE();KOZAMENUSEQ^PLAY("DOMODULU");}
  618.  
  619.  
  620. OBJECT=BEHCLICKANGOL
  621. BEHCLICKANGOL:TYPE=BEHAVIOUR
  622. BEHCLICKANGOL:CODE={VARTESTTYP^SET("ANGIELSKI");PRZYGODA^GOTO("TESTWYBOR");}
  623.  
  624.  
  625. OBJECT=BEHCLICKPOLAK
  626. BEHCLICKPOLAK:TYPE=BEHAVIOUR
  627. BEHCLICKPOLAK:CODE={VARTESTTYP^SET("POLSKI");PRZYGODA^GOTO("TESTWYBOR");}
  628.  
  629.  
  630. OBJECT=BEHCLICKBIOLA
  631. BEHCLICKBIOLA:TYPE=BEHAVIOUR
  632. BEHCLICKBIOLA:CODE={VARTESTTYP^SET("PRZYRODA");PRZYGODA^GOTO("TESTWYBOR");}
  633.  
  634.  
  635. OBJECT=BEHCLICKMATMA
  636. BEHCLICKMATMA:TYPE=BEHAVIOUR
  637. BEHCLICKMATMA:CODE={VARTESTTYP^SET("MATEMATYK");PRZYGODA^GOTO("TESTWYBOR");}
  638.  
  639.  
  640. OBJECT=SOUND_STOP
  641. SOUND_STOP:TYPE=BEHAVIOUR
  642. SOUND_STOP:CODE={G_SOUNDS^STOP();*V_SOUND^PLAY();}
  643.  
  644.  
  645. OBJECT=UUU
  646. UUU:TYPE=BEHAVIOUR
  647. UUU:CODE={}
  648.  
  649.  
  650. OBJECT=BEHEXITDIALOG
  651. BEHEXITDIALOG:TYPE=BEHAVIOUR
  652. BEHEXITDIALOG:CODE={MENUINSIDE^PAUSE();EXITDIALOG^SHOW();EXITNO^SHOW();EXITTAK^SHOW();BUTNIE^ENABLE();BUTTAK^ENABLE();BUTTONANG^DISABLEBUTVISIBLE();BUTTONPOLSKI^DISABLEBUTVISIBLE();BUTTONBIOL^DISABLEBUTVISIBLE();BUTTONMATMA^DISABLEBUTVISIBLE();S_RUSURE^PLAY();}
  653.  
  654.  
  655. OBJECT=BEHRESUME
  656. BEHRESUME:TYPE=BEHAVIOUR
  657. BEHRESUME:CODE={EXITDIALOG^HIDE();EXITNO^HIDE();EXITTAK^HIDE();BUTNIE^DISABLE();BUTTAK^DISABLE();BUTTONANG^ENABLE();BUTTONPOLSKI^ENABLE();BUTTONBIOL^ENABLE();BUTTONMATMA^ENABLE();MENUINSIDE^RESUME();}
  658.  
  659.  
  660. OBJECT=BEHHELP
  661. BEHHELP:TYPE=BEHAVIOUR
  662. BEHHELP:CODE={MENUINSIDE^PAUSE();BUTTONANG^DISABLEBUTVISIBLE();BUTTONPOLSKI^DISABLEBUTVISIBLE();BUTTONBIOL^DISABLEBUTVISIBLE();BUTTONMATMA^DISABLEBUTVISIBLE();HELP^PLAY("GADA");BUTHELPBREAKER^ENABLE();}
  663.  
  664.  
  665. OBJECT=BEHHELPEND
  666. BEHHELPEND:TYPE=BEHAVIOUR
  667. BEHHELPEND:CODE={HELP^STOP(FALSE);BUTHELPBREAKER^DISABLE();BUTTONANG^ENABLE();BUTTONPOLSKI^ENABLE();BUTTONBIOL^ENABLE();BUTTONMATMA^ENABLE();MENUINSIDE^RESUME();MOUSE^SET("ACTIVE");MOUSE^SET("ARROW");}
  668.  
  669.  
  670. OBJECT=BFITMP0
  671. BFITMP0:TYPE=BEHAVIOUR
  672. BFITMP0:CODE={I_DEMO_ALL^SHOW();}
  673.  
  674.  
  675. OBJECT=BFITMP1
  676. BFITMP1:TYPE=BEHAVIOUR
  677. BFITMP1:CODE={DOWYKONANIA^SET("BEHCLICKPILKASALOWA");BEHKOZADOMODULU^RUN();}
  678.  
  679.  
  680. OBJECT=BFITMP2
  681. BFITMP2:TYPE=BEHAVIOUR
  682. BFITMP2:CODE={I_DEMO_ALL^HIDE();}
  683.  
  684.  
  685. OBJECT=BFITMP3
  686. BFITMP3:TYPE=BEHAVIOUR
  687. BFITMP3:CODE={I_DEMO_ALL^SHOW();}
  688.  
  689.  
  690. OBJECT=BFITMP4
  691. BFITMP4:TYPE=BEHAVIOUR
  692. BFITMP4:CODE={DOWYKONANIA^SET("BEHCLICKKROLIKI");BEHKOZADOMODULU^RUN();}
  693.  
  694.  
  695. OBJECT=BFITMP5
  696. BFITMP5:TYPE=BEHAVIOUR
  697. BFITMP5:CODE={I_DEMO_ALL^HIDE();}
  698.  
  699.  
  700. OBJECT=BFITMP6
  701. BFITMP6:TYPE=BEHAVIOUR
  702. BFITMP6:CODE={I_DEMO_ALL^SHOW();}
  703.  
  704.  
  705. OBJECT=BFITMP7
  706. BFITMP7:TYPE=BEHAVIOUR
  707. BFITMP7:CODE={DOWYKONANIA^SET("BEHCLICKANGOL");BEHKOZADOMODULU^RUN();}
  708.  
  709.  
  710. OBJECT=BFITMP8
  711. BFITMP8:TYPE=BEHAVIOUR
  712. BFITMP8:CODE={I_DEMO_ALL^HIDE();}
  713.  
  714.  
  715. OBJECT=BFITMP9
  716. BFITMP9:TYPE=BEHAVIOUR
  717. BFITMP9:CODE={I_DEMO_ALL^SHOW();}
  718.  
  719.  
  720. OBJECT=BFITMP10
  721. BFITMP10:TYPE=BEHAVIOUR
  722. BFITMP10:CODE={I_DEMO_ALL^HIDE();}
  723.  
  724.  
  725. OBJECT=BFITMP11
  726. BFITMP11:TYPE=BEHAVIOUR
  727. BFITMP11:CODE={DOWYKONANIA^SET("BEHCLICKMATMA");BEHKOZADOMODULU^RUN();}
  728.  
  729.  
  730. OBJECT=BFITMP12
  731. BFITMP12:TYPE=BEHAVIOUR
  732. BFITMP12:CODE={I_DEMO_ALL^SHOW();}
  733.  
  734.  
  735. OBJECT=BFITMP13
  736. BFITMP13:TYPE=BEHAVIOUR
  737. BFITMP13:CODE={I_DEMO_ALL^HIDE();}
  738.  
  739.  
  740. OBJECT=BFITMP14
  741. BFITMP14:TYPE=BEHAVIOUR
  742. BFITMP14:CODE={DOWYKONANIA^SET("BEHCLICKPOLAK");BEHKOZADOMODULU^RUN();}
  743.  
  744.  
  745. OBJECT=BFITMP15
  746. BFITMP15:TYPE=BEHAVIOUR
  747. BFITMP15:CODE={BUTTONPRAWO^ENABLE();I_PLAN2^MOVE(V_SCROLLSPEED2,0);PILKABUT^MOVE(V_SCROLLSPEED2,0);NOZZLEBUT^MOVE(V_SCROLLSPEED2,0);TEATRBUT^MOVE(V_SCROLLSPEED2,0);ANGLISTAMENU^MOVE(V_SCROLLSPEED2,0);BIOLAMENU^MOVE(V_SCROLLSPEED2,0);KROLIKIBUT^MOVE(V_SCROLLSPEED2,0);MATMAMENU^MOVE(V_SCROLLSPEED2,0);POLSKIMENU^MOVE(V_SCROLLSPEED2,0);DRZWIBUT^MOVE(V_SCROLLSPEED2,0);KOZA^MOVE(V_SCROLLSPEED2,0);NAKLADKA_KORALIKI^MOVE(V_SCROLLSPEED2,0);I_PLAN1^MOVE(V_SCROLLSPEED1,0);V_POS^SUB(V_SCROLLSPEED2);}
  748.  
  749.  
  750. OBJECT=BFITMP16
  751. BFITMP16:TYPE=BEHAVIOUR
  752. BFITMP16:CODE={BUTTONLEWO^ENABLE();TMPINT^SET([0-V_SCROLLSPEED2]);I_PLAN2^MOVE(TMPINT,0);PILKABUT^MOVE(TMPINT,0);NOZZLEBUT^MOVE(TMPINT,0);TEATRBUT^MOVE(TMPINT,0);ANGLISTAMENU^MOVE(TMPINT,0);BIOLAMENU^MOVE(TMPINT,0);KROLIKIBUT^MOVE(TMPINT,0);MATMAMENU^MOVE(TMPINT,0);POLSKIMENU^MOVE(TMPINT,0);DRZWIBUT^MOVE(TMPINT,0);KOZA^MOVE(TMPINT,0);NAKLADKA_KORALIKI^MOVE(TMPINT,0);I_PLAN1^MOVE([0-V_SCROLLSPEED1],0);VPRAWO^INC();V_POS^ADD(V_SCROLLSPEED2);}
  753.  
  754.  
  755. OBJECT=BFITMP17
  756. BFITMP17:TYPE=BEHAVIOUR
  757. BFITMP17:CODE={S_WELCOME^PLAY();V_WELCOMED^SET(1);}
  758.  
  759.  
  760.