File size: 1,247 Bytes
806d4b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

//5 has graphics;




           <1>/* Graphics Not Rendered in HTML */





F64 t0=Beat;
U0 DrawIt(CTask *,CDC *dc)
{
  F64 dt=Beat-t0;
  dc->flags|=DCF_TRANSFORMATION;
  DCDepthBufAlloc(dc);
  dc->x=320;
  dc->y=27;
  dc->z=GR_Z_ALL;
  Mat4x4RotX(dc->r,0.140*pi);
  Mat4x4RotZ(dc->r,0.250*pi*Sin(pi*dt));
  Mat4x4RotY(dc->r,0.230*pi);
  if (dt>16)
    Mat4x4RotY(dc->r,0.5*Sin(pi/2*dt));
  Sprite3(dc,0,0,0,<1>);
}

U0 Song()
{
  SettingsPush; //See SettingsPush
  Fs->draw_it=&DrawIt;
  Fs->task_end_cb=&SndTaskEndCB;
  MusicSettingsRst;
  music.tempo= 2.480;
  music.stacatto_factor= 0.902;
  try {
    while (!ScanKey) {
      t0=Beat;
      "$GREEN$To God...$FG$\n";
      Play("5qG4BA5sEDEDqCG4B5C",
            "Fa\0ther, \0 \0what \0 \0 \0 \0You \0been \0do\0ing?\n\0");
      Play("5G4BA5sEDEDqCG4B5C",
            "Watch\0-it!  \0 \0Or, \0 \0 \0 \0they'll \0be \0su\0ing.\n\0");
      Play("5eGDD4B5G4BqB5eE4A5EDFE4qG",
            "They \0don't \0real\0ly \0un\0der\0stand\n\0"
            "What \0 \0You're \0 \0up \0 \0to.\n\0");
      Play("5eGDD4B5G4BqB5eE4A5EDFE4qG",
            "High \0a\0bove \0our \0ways,\n\0 \0 \0If \0 \0"
            "they \0 \0on\0ly \0knew.\n\0");
    }
  } catch
    PutExcept;
  SettingsPop;
}

Song;