Line | |
---|
1 | main
|
---|
2 | func
|
---|
3 | Name "initActor"
|
---|
4 | Decl "@void-"
|
---|
5 | DynDecl "-v"
|
---|
6 | Label 3
|
---|
7 | blk
|
---|
8 | const.s str "actu"
|
---|
9 | bi.getParamStr
|
---|
10 | bi.findActor
|
---|
11 | storescr.a scr 1
|
---|
12 | const.s str "speaker"
|
---|
13 | bi.getParamStr
|
---|
14 | bi.findActor
|
---|
15 | storescr.a scr 2
|
---|
16 | func
|
---|
17 | Name "finishActor"
|
---|
18 | Decl "@void-"
|
---|
19 | DynDecl "-v"
|
---|
20 | Label 4
|
---|
21 | blk
|
---|
22 | func
|
---|
23 | Name "player_enter"
|
---|
24 | Decl "@void-<@actor"
|
---|
25 | DynDecl "-v<a"
|
---|
26 | Label 5
|
---|
27 | blk
|
---|
28 | storeloc.a loc 8
|
---|
29 | loadscr.a scr 1
|
---|
30 | const.s str "play_to_end"
|
---|
31 | bi.a.dyncall str "-v"
|
---|
32 | loadscr.a scr 2
|
---|
33 | const.s str "start"
|
---|
34 | bi.a.dyncall str "-v"
|
---|
35 | loadscr.a scr 1
|
---|
36 | const.s str "get_duration"
|
---|
37 | bi.a.dyncall str ">f"
|
---|
38 | storeloc.f loc 9
|
---|
39 | const.s str "soundOff"
|
---|
40 | loadloc.f loc 9
|
---|
41 | bi.evtAppoint
|
---|
42 | func
|
---|
43 | Name "player_leave"
|
---|
44 | Decl "@void-<@actor"
|
---|
45 | DynDecl "-v<a"
|
---|
46 | Label 6
|
---|
47 | blk
|
---|
48 | storeloc.a loc 10
|
---|
49 | loadscr.a scr 1
|
---|
50 | const.s str "play_to_start"
|
---|
51 | bi.a.dyncall str "-v"
|
---|
52 | loadscr.a scr 2
|
---|
53 | const.s str "start"
|
---|
54 | bi.a.dyncall str "-v"
|
---|
55 | loadscr.a scr 1
|
---|
56 | const.s str "get_duration"
|
---|
57 | bi.a.dyncall str ">f"
|
---|
58 | storeloc.f loc 11
|
---|
59 | const.s str "soundOff"
|
---|
60 | loadloc.f loc 11
|
---|
61 | bi.evtAppoint
|
---|
62 | func
|
---|
63 | Name "soundOff"
|
---|
64 | Decl "@void-"
|
---|
65 | DynDecl "-v"
|
---|
66 | Label 7
|
---|
67 | blk
|
---|
68 | loadscr.a scr 2
|
---|
69 | const.s str "stop"
|
---|
70 | bi.a.dyncall str "-v"
|
---|
Note: See
TracBrowser
for help on using the repository browser.