Download Home/Sup1/Sup1Hymns/doing.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1Hymns/doing.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Home/Sup1/Sup1Hymns/doing.txt
-
curl -L -o doing.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1Hymns/doing.txt
1.25 kB
| //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; | |