mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-29 00:36:32 +00:00
1858 lines
257 KiB
HTML
Executable file
1858 lines
257 KiB
HTML
Executable file
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
|
|
<meta name="generator" content="ZealOS V1.07">
|
|
<style type="text/css">
|
|
body {background-color:#1f1f1f;}
|
|
.cF0{color:#e3e3e3;background-color:#1f1f1f;}
|
|
.cF1{color:#4f84a6;background-color:#1f1f1f;}
|
|
.cF2{color:#73a255;background-color:#1f1f1f;}
|
|
.cF3{color:#297582;background-color:#1f1f1f;}
|
|
.cF4{color:#b34f4b;background-color:#1f1f1f;}
|
|
.cF5{color:#8a52c3;background-color:#1f1f1f;}
|
|
.cF6{color:#b7822f;background-color:#1f1f1f;}
|
|
.cF7{color:#444444;background-color:#1f1f1f;}
|
|
.cF8{color:#6d6d6d;background-color:#1f1f1f;}
|
|
.cF9{color:#94bfde;background-color:#1f1f1f;}
|
|
.cFA{color:#a1ce97;background-color:#1f1f1f;}
|
|
.cFB{color:#6db4be;background-color:#1f1f1f;}
|
|
.cFC{color:#e88e88;background-color:#1f1f1f;}
|
|
.cFD{color:#ca94e8;background-color:#1f1f1f;}
|
|
.cFE{color:#d4b475;background-color:#1f1f1f;}
|
|
.cFF{color:#1f1f1f;background-color:#1f1f1f;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre style="font-family:monospace;font-size:12pt">
|
|
<a name="l1"></a><span class=cF9>I64</span><span class=cF0> ts_i;
|
|
<a name="l2"></a></span><span class=cF1>F64</span><span class=cF0> ts_t0;
|
|
<a name="l3"></a>
|
|
<a name="l4"></a></span><span class=cF1>U0</span><span class=cF0> TS(</span><span class=cF1>U8</span><span class=cF0> *desc)
|
|
<a name="l5"></a>{</span><span class=cF2>//We must set these because an app can call </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KMisc.ZC.html#l289"><span class=cF4>ProgressBarsReset</span></a><span class=cF2>.</span><span class=cF0>
|
|
<a name="l6"></a> </span><span class=cF1>U8</span><span class=cF0> *st = </span><span class=cF5>MStrPrint</span><span class=cF0>(</span><span class=cF6>"%d. %s"</span><span class=cF0>, ts_i, desc);
|
|
<a name="l7"></a>
|
|
<a name="l8"></a> </span><span class=cF1>if</span><span class=cF0> (*desc)
|
|
<a name="l9"></a> </span><span class=cFB>progress3_max</span><span class=cF0> = </span><span class=cFE>1</span><span class=cF0>;
|
|
<a name="l10"></a> </span><span class=cF1>else</span><span class=cF0>
|
|
<a name="l11"></a> </span><span class=cFB>progress3_max</span><span class=cF0> = </span><span class=cFE>0</span><span class=cF0>;
|
|
<a name="l12"></a> </span><span class=cF5>StrPrint</span><span class=cF0>(</span><span class=cFB>progress3_desc</span><span class=cF0>, </span><span class=cF6>"%*hc%s"</span><span class=cF0>,
|
|
<a name="l13"></a> </span><span class=cF7>(</span><span class=cF3>PROGRESS_DESC_LEN</span><span class=cF0> - </span><span class=cF5>StrLen</span><span class=cF0>(st)</span><span class=cF7>)</span><span class=cF0> >> </span><span class=cFE>1</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, st);
|
|
<a name="l14"></a> </span><span class=cF5>Free</span><span class=cF0>(st);
|
|
<a name="l15"></a> </span><span class=cFB>progress4</span><span class=cF0> = ts_i++;
|
|
<a name="l16"></a> </span><span class=cFB>progress4_max</span><span class=cF0> = </span><span class=cFE>171</span><span class=cF0>;
|
|
<a name="l17"></a> </span><span class=cFB>progress4_t0</span><span class=cF0> = ts_t0;
|
|
<a name="l18"></a> *</span><span class=cFB>progress4_desc</span><span class=cF0> = </span><span class=cFE>0</span><span class=cF0>;
|
|
<a name="l19"></a> </span><span class=cF5>RegExe</span><span class=cF0>(</span><span class=cF6>"ZealOS/OSTestSuite"</span><span class=cF0>);
|
|
<a name="l20"></a>}
|
|
<a name="l21"></a>
|
|
<a name="l22"></a></span><span class=cF1>U0</span><span class=cF0> TSFile(</span><span class=cF1>U8</span><span class=cF0> *name, </span><span class=cF9>I64</span><span class=cF0> mS=</span><span class=cFE>750</span><span class=cF0>)
|
|
<a name="l23"></a>{
|
|
<a name="l24"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"%s\";Sleep(%d);\n"</span><span class=cF0>, name, mS);
|
|
<a name="l25"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l26"></a>}
|
|
<a name="l27"></a>
|
|
<a name="l28"></a></span><span class=cF1>U0</span><span class=cF0> TSFileChar(</span><span class=cF1>U8</span><span class=cF0> *name, </span><span class=cF9>I64</span><span class=cF0> mS=</span><span class=cFE>750</span><span class=cF0>, </span><span class=cF9>I64</span><span class=cF0> ch=</span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cF1>Bool</span><span class=cF0> wait=</span><span class=cF3>TRUE</span><span class=cF0>)
|
|
<a name="l29"></a>{
|
|
<a name="l30"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l31"></a> </span><span class=cF1>if</span><span class=cF0> (wait)
|
|
<a name="l32"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"%s\";\n"</span><span class=cF0>, name);
|
|
<a name="l33"></a> </span><span class=cF1>else</span><span class=cF0>
|
|
<a name="l34"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>"#include \"%s\";\n"</span><span class=cF0>, name);
|
|
<a name="l35"></a> </span><span class=cF5>Sleep</span><span class=cF0>(mS);
|
|
<a name="l36"></a> </span><span class=cF1>if</span><span class=cF0> (ch)
|
|
<a name="l37"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, ch, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l38"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l39"></a>}
|
|
<a name="l40"></a>
|
|
<a name="l41"></a></span><span class=cF2>/*</span><span class=cF0>
|
|
<a name="l42"></a></span><span class=cF2>U0 DoMouseDemo()</span><span class=cF0>
|
|
<a name="l43"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l44"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Graphics/MouseDemo\";\n");</span><span class=cF0>
|
|
<a name="l45"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l46"></a></span><span class=cF2>U0 DoPullDownMenu()</span><span class=cF0>
|
|
<a name="l47"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l48"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/PullDownMenu\";\n");</span><span class=cF0>
|
|
<a name="l49"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l50"></a></span><span class=cF2>U0 DoTicTacToe()</span><span class=cF0>
|
|
<a name="l51"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l52"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Games/TicTacToe\";\n");</span><span class=cF0>
|
|
<a name="l53"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l54"></a></span><span class=cF2>U0 DoLife()</span><span class=cF0>
|
|
<a name="l55"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l56"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Graphics/Life\";\n");</span><span class=cF0>
|
|
<a name="l57"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l58"></a></span><span class=cF2>U0 DoZing()</span><span class=cF0>
|
|
<a name="l59"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l60"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Games/Zing\";\n");</span><span class=cF0>
|
|
<a name="l61"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l62"></a></span><span class=cF2>U0 DoSlider()</span><span class=cF0>
|
|
<a name="l63"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l64"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Graphics/Slider\";\n");</span><span class=cF0>
|
|
<a name="l65"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l66"></a></span><span class=cF2>U0 DoScrollBars()</span><span class=cF0>
|
|
<a name="l67"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l68"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Graphics/ScrollBars\";\n");</span><span class=cF0>
|
|
<a name="l69"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l70"></a></span><span class=cF2>U0 DoWhap()</span><span class=cF0>
|
|
<a name="l71"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l72"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Games/Whap\";\n");</span><span class=cF0>
|
|
<a name="l73"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l74"></a></span><span class=cF2>U0 DoDataBase()</span><span class=cF0>
|
|
<a name="l75"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l76"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Disk/DataBase\";\n");</span><span class=cF0>
|
|
<a name="l77"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l78"></a></span><span class=cF2>U0 DoDiskRaw()</span><span class=cF0>
|
|
<a name="l79"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l80"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Disk/DiskRaw\";\n");</span><span class=cF0>
|
|
<a name="l81"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l82"></a></span><span class=cF2>U0 DoTimeClock()</span><span class=cF0>
|
|
<a name="l83"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l84"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Apps/TimeClock\";\n");</span><span class=cF0>
|
|
<a name="l85"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l86"></a></span><span class=cF2>U0 DoLectures()</span><span class=cF0>
|
|
<a name="l87"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l88"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Lectures\";\n");</span><span class=cF0>
|
|
<a name="l89"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l90"></a></span><span class=cF2>U0 DoInFile()</span><span class=cF0>
|
|
<a name="l91"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l92"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/InFile\";\n");</span><span class=cF0>
|
|
<a name="l93"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l94"></a></span><span class=cF2>U0 DoSpy()</span><span class=cF0>
|
|
<a name="l95"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l96"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/Spy\";\n");</span><span class=cF0>
|
|
<a name="l97"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l98"></a></span><span class=cF2>U0 DoUnusedDefine()</span><span class=cF0>
|
|
<a name="l99"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l100"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/DolDoc/UnusedDefine\";\n");</span><span class=cF0>
|
|
<a name="l101"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l102"></a></span><span class=cF2>U0 DoOnceDemo()</span><span class=cF0>
|
|
<a name="l103"></a></span><span class=cF2>{</span><span class=cF0>
|
|
<a name="l104"></a> </span><span class=cF2>XTalkWait(task, "#include \"::/Demo/OnceDemo\";\n");</span><span class=cF0>
|
|
<a name="l105"></a></span><span class=cF2>}</span><span class=cF0>
|
|
<a name="l106"></a></span><span class=cF2>*/</span><span class=cF0>
|
|
<a name="l107"></a>
|
|
<a name="l108"></a></span><span class=cF1>U0</span><span class=cF0> DoRandDemo()
|
|
<a name="l109"></a>{
|
|
<a name="l110"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l111"></a>
|
|
<a name="l112"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/RandDemo\";\n"</span><span class=cF0>);
|
|
<a name="l113"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>" "</span><span class=cF0>);
|
|
<a name="l114"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>" "</span><span class=cF0>);
|
|
<a name="l115"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l116"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l117"></a>}
|
|
<a name="l118"></a>
|
|
<a name="l119"></a></span><span class=cF1>U0</span><span class=cF0> DoLowPassFilter()
|
|
<a name="l120"></a>{
|
|
<a name="l121"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l122"></a>
|
|
<a name="l123"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/LowPassFilter\";\n"</span><span class=cF0>);
|
|
<a name="l124"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l125"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l126"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l127"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l128"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l129"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l130"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l131"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l132"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l133"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l134"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l135"></a>}
|
|
<a name="l136"></a>
|
|
<a name="l137"></a></span><span class=cF1>U0</span><span class=cF0> DoMathAudioDemo()
|
|
<a name="l138"></a>{
|
|
<a name="l139"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l140"></a>
|
|
<a name="l141"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/MathAudioDemo\";\n"</span><span class=cF0>);
|
|
<a name="l142"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l143"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l144"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l145"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l146"></a>
|
|
<a name="l147"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l148"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l149"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l150"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l151"></a>
|
|
<a name="l152"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l153"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l154"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l155"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l156"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l157"></a>}
|
|
<a name="l158"></a>
|
|
<a name="l159"></a></span><span class=cF1>U0</span><span class=cF0> DoMessageLoop()
|
|
<a name="l160"></a>{
|
|
<a name="l161"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l162"></a>
|
|
<a name="l163"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/MessageLoop\";\n"</span><span class=cF0>);
|
|
<a name="l164"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l165"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l166"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l167"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l168"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l169"></a>}
|
|
<a name="l170"></a>
|
|
<a name="l171"></a></span><span class=cF1>U0</span><span class=cF0> DoASCIIOrgan()
|
|
<a name="l172"></a>{
|
|
<a name="l173"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l174"></a>
|
|
<a name="l175"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Sound/ASCIIOrgan\";\n"</span><span class=cF0>);
|
|
<a name="l176"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l177"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'A'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l178"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l179"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'B'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l180"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l181"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'C'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l182"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l183"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l184"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l185"></a>}
|
|
<a name="l186"></a>
|
|
<a name="l187"></a></span><span class=cF1>U0</span><span class=cF0> DoDoodle()
|
|
<a name="l188"></a>{
|
|
<a name="l189"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l190"></a>
|
|
<a name="l191"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Doodle\";\n"</span><span class=cF0>);
|
|
<a name="l192"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
|
|
<a name="l193"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l194"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l195"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l196"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l197"></a>}
|
|
<a name="l198"></a>
|
|
<a name="l199"></a></span><span class=cF1>U0</span><span class=cF0> DoSpeedLine()
|
|
<a name="l200"></a>{
|
|
<a name="l201"></a> </span><span class=cF9>I64</span><span class=cF0> i = </span><span class=cF3>PURPLE</span><span class=cF0> + </span><span class=cFE>1</span><span class=cF0>; </span><span class=cF2>//+1 because TRANSPARENT</span><span class=cF0>
|
|
<a name="l202"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l203"></a>
|
|
<a name="l204"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Speedline\";\n"</span><span class=cF0>);
|
|
<a name="l205"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
|
|
<a name="l206"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l207"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l208"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l209"></a> </span><span class=cF1>while</span><span class=cF0> (i--)
|
|
<a name="l210"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l211"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l212"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task);
|
|
<a name="l213"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
|
|
<a name="l214"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l215"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l216"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l217"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l218"></a>}
|
|
<a name="l219"></a>
|
|
<a name="l220"></a></span><span class=cF1>U0</span><span class=cF0> DoKeyBitMap()
|
|
<a name="l221"></a>{
|
|
<a name="l222"></a> </span><span class=cF9>I64</span><span class=cF0> i_sc = </span><span class=cF5>Char2ScanCode</span><span class=cF0>(</span><span class=cF6>'i'</span><span class=cF0>);
|
|
<a name="l223"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/KeyBitMap\";\n"</span><span class=cF0>);
|
|
<a name="l224"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l225"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, i_sc);
|
|
<a name="l226"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l227"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, i_sc);
|
|
<a name="l228"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l229"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l230"></a>}
|
|
<a name="l231"></a>
|
|
<a name="l232"></a></span><span class=cF1>U0</span><span class=cF0> DoDigits()
|
|
<a name="l233"></a>{
|
|
<a name="l234"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l235"></a>
|
|
<a name="l236"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Digits\";\n"</span><span class=cF0>);
|
|
<a name="l237"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l238"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l239"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l240"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l241"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l242"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'1'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l243"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l244"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l245"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l246"></a>}
|
|
<a name="l247"></a>
|
|
<a name="l248"></a></span><span class=cF1>U0</span><span class=cF0> DoSymmetry()
|
|
<a name="l249"></a>{
|
|
<a name="l250"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l251"></a>
|
|
<a name="l252"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Symmetry\";\n"</span><span class=cF0>);
|
|
<a name="l253"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l254"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l255"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l256"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
|
|
<a name="l257"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l258"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l259"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l260"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l261"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l262"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l263"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l264"></a>}
|
|
<a name="l265"></a>
|
|
<a name="l266"></a></span><span class=cF1>U0</span><span class=cF0> DoBSpline()
|
|
<a name="l267"></a>{
|
|
<a name="l268"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l269"></a>
|
|
<a name="l270"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/BSpline\";\n"</span><span class=cF0>);
|
|
<a name="l271"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l272"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l273"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l274"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l275"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l276"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l277"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l278"></a>}
|
|
<a name="l279"></a>
|
|
<a name="l280"></a></span><span class=cF1>U0</span><span class=cF0> DoScreenCapture()
|
|
<a name="l281"></a>{
|
|
<a name="l282"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l283"></a>
|
|
<a name="l284"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/ScreenCapture\";\n"</span><span class=cF0>);
|
|
<a name="l285"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l286"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l287"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l288"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l289"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l290"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l291"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l292"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>"~/DemoScreenShot.GR*"</span><span class=cF0>);
|
|
<a name="l293"></a>}
|
|
<a name="l294"></a>
|
|
<a name="l295"></a></span><span class=cF1>U0</span><span class=cF0> DoStadium()
|
|
<a name="l296"></a>{
|
|
<a name="l297"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l298"></a>
|
|
<a name="l299"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Stadium/Stadium\";\n"</span><span class=cF0>);
|
|
<a name="l300"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l301"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
|
|
<a name="l302"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l303"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>320</span><span class=cF0>, </span><span class=cFE>20</span><span class=cF0>);
|
|
<a name="l304"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l305"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>520</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
|
|
<a name="l306"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l307"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l308"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l309"></a>}
|
|
<a name="l310"></a>
|
|
<a name="l311"></a></span><span class=cF1>U0</span><span class=cF0> DoPalette()
|
|
<a name="l312"></a>{
|
|
<a name="l313"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l314"></a>
|
|
<a name="l315"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Palette\";\n"</span><span class=cF0>);
|
|
<a name="l316"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l317"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l318"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l319"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l320"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l321"></a>}
|
|
<a name="l322"></a>
|
|
<a name="l323"></a></span><span class=cF1>U0</span><span class=cF0> DoElephantWalk()
|
|
<a name="l324"></a>{
|
|
<a name="l325"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l326"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l327"></a>
|
|
<a name="l328"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/ElephantWalk\";\n"</span><span class=cF0>);
|
|
<a name="l329"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>15</span><span class=cF0>; i++)
|
|
<a name="l330"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l331"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l332"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l333"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l334"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l335"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l336"></a>}
|
|
<a name="l337"></a>
|
|
<a name="l338"></a></span><span class=cF1>U0</span><span class=cF0> DoHalogen()
|
|
<a name="l339"></a>{
|
|
<a name="l340"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l341"></a>
|
|
<a name="l342"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Halogen\";\n"</span><span class=cF0>);
|
|
<a name="l343"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l344"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l345"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l346"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l347"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>333</span><span class=cF0>);
|
|
<a name="l348"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l349"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l350"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l351"></a>}
|
|
<a name="l352"></a>
|
|
<a name="l353"></a></span><span class=cF1>U0</span><span class=cF0> DoTheDead()
|
|
<a name="l354"></a>{
|
|
<a name="l355"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l356"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l357"></a>
|
|
<a name="l358"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/TheDead\";\n"</span><span class=cF0>);
|
|
<a name="l359"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>15</span><span class=cF0>; i++)
|
|
<a name="l360"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l361"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l362"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l363"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l364"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l365"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>15</span><span class=cF0>; i++)
|
|
<a name="l366"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l367"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l368"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l369"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l370"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l371"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l372"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l373"></a>}
|
|
<a name="l374"></a>
|
|
<a name="l375"></a></span><span class=cF1>U0</span><span class=cF0> DoBomberGolf()
|
|
<a name="l376"></a>{
|
|
<a name="l377"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l378"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l379"></a>
|
|
<a name="l380"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/BomberGolf\";\n"</span><span class=cF0>);
|
|
<a name="l381"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>7</span><span class=cF0>; i++)
|
|
<a name="l382"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l383"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l384"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l385"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l386"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l387"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l388"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>7</span><span class=cF0>; i++)
|
|
<a name="l389"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l390"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l391"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l392"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l393"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l394"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l395"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l396"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l397"></a>}
|
|
<a name="l398"></a>
|
|
<a name="l399"></a></span><span class=cF1>U0</span><span class=cF0> DoZoneOut()
|
|
<a name="l400"></a>{
|
|
<a name="l401"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l402"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/ZoneOut\";\n"</span><span class=cF0>);
|
|
<a name="l403"></a>
|
|
<a name="l404"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l405"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l406"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l407"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>15</span><span class=cF0>; i++)
|
|
<a name="l408"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l409"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l410"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l411"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l412"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l413"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l414"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l415"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l416"></a>}
|
|
<a name="l417"></a>
|
|
<a name="l418"></a></span><span class=cF1>U0</span><span class=cF0> DoVaroom()
|
|
<a name="l419"></a>{
|
|
<a name="l420"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l421"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l422"></a>
|
|
<a name="l423"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Varoom\";\n"</span><span class=cF0>);
|
|
<a name="l424"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>10</span><span class=cF0>; i++)
|
|
<a name="l425"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l426"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l427"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l428"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l429"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l430"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l431"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l432"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l433"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l434"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l435"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l436"></a>}
|
|
<a name="l437"></a>
|
|
<a name="l438"></a></span><span class=cF1>U0</span><span class=cF0> DoFlatTops()
|
|
<a name="l439"></a>{
|
|
<a name="l440"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/FlatTops\";\n"</span><span class=cF0>);
|
|
<a name="l441"></a>
|
|
<a name="l442"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l443"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l444"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l445"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l446"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cF5>RandI16</span><span class=cF0>%</span><span class=cFE>400</span><span class=cF0>+</span><span class=cFE>200</span><span class=cF0>, </span><span class=cF5>RandI16</span><span class=cF0>%</span><span class=cFE>300</span><span class=cF0>+</span><span class=cFE>150</span><span class=cF0>);
|
|
<a name="l447"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l448"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l449"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l450"></a>}
|
|
<a name="l451"></a>
|
|
<a name="l452"></a></span><span class=cF1>U0</span><span class=cF0> DoWenceslas()
|
|
<a name="l453"></a>{
|
|
<a name="l454"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l455"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/Wenceslas\";\n"</span><span class=cF0>);
|
|
<a name="l456"></a>
|
|
<a name="l457"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l458"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l459"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l460"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l461"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l462"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l463"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l464"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l465"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l466"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l467"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l468"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l469"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>25</span><span class=cF0>; i++)
|
|
<a name="l470"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l471"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l472"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l473"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>25</span><span class=cF0>);
|
|
<a name="l474"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l475"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l476"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l477"></a>}
|
|
<a name="l478"></a>
|
|
<a name="l479"></a></span><span class=cF1>U0</span><span class=cF0> DoTreeCheckers()
|
|
<a name="l480"></a>{
|
|
<a name="l481"></a> </span><span class=cF9>I64</span><span class=cF0> task_num;
|
|
<a name="l482"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/TreeCheckers\";\n"</span><span class=cF0>);
|
|
<a name="l483"></a>
|
|
<a name="l484"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l485"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l486"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l487"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l488"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l489"></a>
|
|
<a name="l490"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l491"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l492"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l493"></a>
|
|
<a name="l494"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l495"></a>
|
|
<a name="l496"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l497"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l498"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l499"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l500"></a>}
|
|
<a name="l501"></a>
|
|
<a name="l502"></a></span><span class=cF1>U0</span><span class=cF0> DoMorseCode()
|
|
<a name="l503"></a>{
|
|
<a name="l504"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l505"></a>
|
|
<a name="l506"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Sound/MorseCode\";\n"</span><span class=cF0>);
|
|
<a name="l507"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l508"></a>
|
|
<a name="l509"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l510"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l511"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l512"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>350</span><span class=cF0>);
|
|
<a name="l513"></a>
|
|
<a name="l514"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l515"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l516"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l517"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>350</span><span class=cF0>);
|
|
<a name="l518"></a>
|
|
<a name="l519"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l520"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l521"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l522"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>25</span><span class=cF0>);
|
|
<a name="l523"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l524"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l525"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l526"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>25</span><span class=cF0>);
|
|
<a name="l527"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l528"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l529"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l530"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l531"></a>
|
|
<a name="l532"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l533"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l534"></a>}
|
|
<a name="l535"></a>
|
|
<a name="l536"></a></span><span class=cF1>U0</span><span class=cF0> DoPixCollision()
|
|
<a name="l537"></a>{
|
|
<a name="l538"></a> </span><span class=cF9>I64</span><span class=cF0> w, h;
|
|
<a name="l539"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l540"></a>
|
|
<a name="l541"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Collision\";\n"</span><span class=cF0>);
|
|
<a name="l542"></a> w = task->pix_width >> </span><span class=cFE>1</span><span class=cF0> + task->pix_left + task->scroll_x;
|
|
<a name="l543"></a> h = task->pix_height >> </span><span class=cFE>1</span><span class=cF0> + task->pix_top + task->scroll_y;
|
|
<a name="l544"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(w - </span><span class=cFE>35</span><span class=cF0>, h - </span><span class=cFE>35</span><span class=cF0>);
|
|
<a name="l545"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>10</span><span class=cF0>, w + </span><span class=cFE>35</span><span class=cF0>, w + </span><span class=cFE>35</span><span class=cF0>);
|
|
<a name="l546"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l547"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l548"></a>}
|
|
<a name="l549"></a>
|
|
<a name="l550"></a></span><span class=cF1>U0</span><span class=cF0> DoBlackDiamond()
|
|
<a name="l551"></a>{
|
|
<a name="l552"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l553"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l554"></a>
|
|
<a name="l555"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/BlackDiamond\";\n"</span><span class=cF0>);
|
|
<a name="l556"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>15</span><span class=cF0>; i++)
|
|
<a name="l557"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l558"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l559"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>75</span><span class=cF0>);
|
|
<a name="l560"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l561"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>12</span><span class=cF0>; i++)
|
|
<a name="l562"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l563"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l564"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>75</span><span class=cF0>);
|
|
<a name="l565"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l566"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l567"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l568"></a>}
|
|
<a name="l569"></a>
|
|
<a name="l570"></a></span><span class=cF1>U0</span><span class=cF0> DoCtrlR1()
|
|
<a name="l571"></a>{
|
|
<a name="l572"></a> </span><span class=cF9>I64</span><span class=cF0> i, task_num;
|
|
<a name="l573"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l574"></a>
|
|
<a name="l575"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"//"</span><span class=cF0>);
|
|
<a name="l576"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_CTRLR</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l577"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l578"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l579"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>1</span><span class=cF0>;i++)
|
|
<a name="l580"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l581"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l582"></a> </span><span class=cF2>//Color</span><span class=cF0>
|
|
<a name="l583"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l584"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l585"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>2</span><span class=cF0>; i++)
|
|
<a name="l586"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l587"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l588"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l589"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l590"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>2</span><span class=cF0>; i++)
|
|
<a name="l591"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l592"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l593"></a>
|
|
<a name="l594"></a> </span><span class=cF2>//Width</span><span class=cF0>
|
|
<a name="l595"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l596"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l597"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>4</span><span class=cF0>; i++)
|
|
<a name="l598"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l599"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l600"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l601"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l602"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>4</span><span class=cF0>; i++)
|
|
<a name="l603"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l604"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l605"></a>
|
|
<a name="l606"></a> </span><span class=cF2>//Line</span><span class=cF0>
|
|
<a name="l607"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l608"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l609"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>7</span><span class=cF0>; i++)
|
|
<a name="l610"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l611"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l612"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l613"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
|
|
<a name="l614"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>95</span><span class=cF0>);
|
|
<a name="l615"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l616"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
|
|
<a name="l617"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
|
|
<a name="l618"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l619"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
|
|
<a name="l620"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>110</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
|
|
<a name="l621"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l622"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l623"></a>
|
|
<a name="l624"></a> </span><span class=cF2>//Color</span><span class=cF0>
|
|
<a name="l625"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l626"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l627"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>2</span><span class=cF0>; i++)
|
|
<a name="l628"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l629"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l630"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l631"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l632"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>3</span><span class=cF0>; i++)
|
|
<a name="l633"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l634"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l635"></a>
|
|
<a name="l636"></a> </span><span class=cF2>//Circle</span><span class=cF0>
|
|
<a name="l637"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l638"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l639"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>10</span><span class=cF0>; i++)
|
|
<a name="l640"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l641"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l642"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l643"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>, </span><span class=cFE>150</span><span class=cF0>);
|
|
<a name="l644"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
|
|
<a name="l645"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l646"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l647"></a>
|
|
<a name="l648"></a> </span><span class=cF2>//Exit</span><span class=cF0>
|
|
<a name="l649"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l650"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>+</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
|
|
<a name="l651"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l652"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l653"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l654"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l655"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>"\n"</span><span class=cF0>);
|
|
<a name="l656"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l657"></a>}
|
|
<a name="l658"></a>
|
|
<a name="l659"></a></span><span class=cF1>U0</span><span class=cF0> DoF2Macro()
|
|
<a name="l660"></a>{
|
|
<a name="l661"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l662"></a> </span><span class=cF1>U8</span><span class=cF0> *ptr = </span><span class=cF6>"\"Boo!\\n\";\n"</span><span class=cF0>;
|
|
<a name="l663"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l664"></a>
|
|
<a name="l665"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&</span><span class=cFB>sys_macro_task</span><span class=cF0>);
|
|
<a name="l666"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_F2</span><span class=cF0>);
|
|
<a name="l667"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&</span><span class=cFB>sys_macro_task</span><span class=cF0>);
|
|
<a name="l668"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>);
|
|
<a name="l669"></a>
|
|
<a name="l670"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>|</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
|
|
<a name="l671"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l672"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l673"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>); </span><span class=cF2>//Press RECORD</span><span class=cF0>
|
|
<a name="l674"></a> </span><span class=cF1>while</span><span class=cF0> (!</span><span class=cF5>Bt</span><span class=cF7>(</span><span class=cF0>&</span><span class=cFB>sys_semas</span><span class=cF0>[</span><span class=cF3>SEMA_RECORD_MACRO</span><span class=cF0>], </span><span class=cFE>0</span><span class=cF7>)</span><span class=cF0>)
|
|
<a name="l675"></a> </span><span class=cF5>Yield</span><span class=cF0>;
|
|
<a name="l676"></a>
|
|
<a name="l677"></a> </span><span class=cF1>while</span><span class=cF0> (*ptr)
|
|
<a name="l678"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, *ptr++, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l679"></a>
|
|
<a name="l680"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l681"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l682"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>); </span><span class=cF2>//Press STOP</span><span class=cF0>
|
|
<a name="l683"></a>
|
|
<a name="l684"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>10</span><span class=cF0>; i++)
|
|
<a name="l685"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_F2</span><span class=cF0>|</span><span class=cF3>SCF_SHIFT</span><span class=cF0>);
|
|
<a name="l686"></a>
|
|
<a name="l687"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(</span><span class=cFB>sys_macro_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l688"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&</span><span class=cFB>sys_macro_task</span><span class=cF0>);
|
|
<a name="l689"></a>
|
|
<a name="l690"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l691"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>"\n"</span><span class=cF0>);
|
|
<a name="l692"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l693"></a>}
|
|
<a name="l694"></a>
|
|
<a name="l695"></a></span><span class=cF1>U0</span><span class=cF0> DoLightTable()
|
|
<a name="l696"></a>{
|
|
<a name="l697"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Graphics/LightTable\";\n\n"</span><span class=cF0>);
|
|
<a name="l698"></a>
|
|
<a name="l699"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task);
|
|
<a name="l700"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'2'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l701"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l702"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0> - </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l703"></a>
|
|
<a name="l704"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'3'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l705"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l706"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l707"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l708"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>120</span><span class=cF0>, </span><span class=cFE>180</span><span class=cF0>);
|
|
<a name="l709"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>160</span><span class=cF0>, </span><span class=cFE>120</span><span class=cF0>);
|
|
<a name="l710"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>320</span><span class=cF0>, </span><span class=cFE>10</span><span class=cF0>);
|
|
<a name="l711"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>160</span><span class=cF0>, </span><span class=cFE>120</span><span class=cF0>);
|
|
<a name="l712"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>120</span><span class=cF0>, </span><span class=cFE>180</span><span class=cF0>);
|
|
<a name="l713"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l714"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l715"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>640</span><span class=cF0>-</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l716"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l717"></a>
|
|
<a name="l718"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'4'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l719"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>320</span><span class=cF0>, </span><span class=cFE>190</span><span class=cF0>);
|
|
<a name="l720"></a>
|
|
<a name="l721"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'5'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l722"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>460</span><span class=cF0>, </span><span class=cFE>280</span><span class=cF0>);
|
|
<a name="l723"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0> , </span><span class=cFE>500</span><span class=cF0>, </span><span class=cFE>220</span><span class=cF0>);
|
|
<a name="l724"></a>
|
|
<a name="l725"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l726"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l727"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l728"></a>}
|
|
<a name="l729"></a>
|
|
<a name="l730"></a></span><span class=cF1>U0</span><span class=cF0> DoPredatorPrey()
|
|
<a name="l731"></a>{
|
|
<a name="l732"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Graphics/PredatorPrey\";\n"</span><span class=cF0>);
|
|
<a name="l733"></a>
|
|
<a name="l734"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l735"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l736"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l737"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l738"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l739"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l740"></a>}
|
|
<a name="l741"></a>
|
|
<a name="l742"></a></span><span class=cF1>U0</span><span class=cF0> DoCharDemo()
|
|
<a name="l743"></a>{
|
|
<a name="l744"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l745"></a>
|
|
<a name="l746"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/CharDemo\";\n"</span><span class=cF0>);
|
|
<a name="l747"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l748"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l749"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l750"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l751"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l752"></a>}
|
|
<a name="l753"></a>
|
|
<a name="l754"></a></span><span class=cF1>U0</span><span class=cF0> DoLattice()
|
|
<a name="l755"></a>{
|
|
<a name="l756"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l757"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l758"></a>
|
|
<a name="l759"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Lattice\";\n"</span><span class=cF0>);
|
|
<a name="l760"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>20</span><span class=cF0>; i++)
|
|
<a name="l761"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l762"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>6</span><span class=cF0>; i++)
|
|
<a name="l763"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l764"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'+'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l765"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l766"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l767"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>6</span><span class=cF0>; i++)
|
|
<a name="l768"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l769"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l770"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l771"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l772"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>16</span><span class=cF0>; i++)
|
|
<a name="l773"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l774"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l775"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l776"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l777"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l778"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l779"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l780"></a>}
|
|
<a name="l781"></a>
|
|
<a name="l782"></a></span><span class=cF1>U0</span><span class=cF0> DoCartesian()
|
|
<a name="l783"></a>{
|
|
<a name="l784"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l785"></a>
|
|
<a name="l786"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Cartesian\";\n"</span><span class=cF0>);
|
|
<a name="l787"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"0.2*x`1.5\n"</span><span class=cF0>);
|
|
<a name="l788"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l789"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l790"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l791"></a>}
|
|
<a name="l792"></a>
|
|
<a name="l793"></a></span><span class=cF1>U0</span><span class=cF0> DoMPAdd()
|
|
<a name="l794"></a>{
|
|
<a name="l795"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l796"></a>
|
|
<a name="l797"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/MultiCore/MPAdd\";\n"</span><span class=cF0>);
|
|
<a name="l798"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l799"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l800"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l801"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l802"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l803"></a>}
|
|
<a name="l804"></a>
|
|
<a name="l805"></a></span><span class=cF1>U0</span><span class=cF0> DoFlapBat()
|
|
<a name="l806"></a>{
|
|
<a name="l807"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l808"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/FlapBat\";\n"</span><span class=cF0>);
|
|
<a name="l809"></a>
|
|
<a name="l810"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l811"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l812"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l813"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l814"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>4</span><span class=cF0>; i++)
|
|
<a name="l815"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l816"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l817"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l818"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l819"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l820"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l821"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l822"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l823"></a>}
|
|
<a name="l824"></a>
|
|
<a name="l825"></a></span><span class=cF1>U0</span><span class=cF0> DoBattleLines()
|
|
<a name="l826"></a>{
|
|
<a name="l827"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/BattleLines\";\n"</span><span class=cF0>);
|
|
<a name="l828"></a>
|
|
<a name="l829"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l830"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l831"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l832"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l833"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>430</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l834"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>530</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l835"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
|
|
<a name="l836"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l837"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l838"></a>}
|
|
<a name="l839"></a>
|
|
<a name="l840"></a></span><span class=cF1>U0</span><span class=cF0> DoBigGuns()
|
|
<a name="l841"></a>{
|
|
<a name="l842"></a> </span><span class=cF9>I64</span><span class=cF0> i, task_num;
|
|
<a name="l843"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/BigGuns\";\n"</span><span class=cF0>);
|
|
<a name="l844"></a>
|
|
<a name="l845"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l846"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l847"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l848"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l849"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l850"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l851"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>5</span><span class=cF0>; i++)
|
|
<a name="l852"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l853"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l854"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l855"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l856"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l857"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l858"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l859"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l860"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l861"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l862"></a>}
|
|
<a name="l863"></a>
|
|
<a name="l864"></a></span><span class=cF1>U0</span><span class=cF0> DoDunGen()
|
|
<a name="l865"></a>{
|
|
<a name="l866"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l867"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l868"></a>
|
|
<a name="l869"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/DunGen\";\n"</span><span class=cF0>);
|
|
<a name="l870"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>10</span><span class=cF0>; i++)
|
|
<a name="l871"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l872"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l873"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l874"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l875"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>12</span><span class=cF0>; i++)
|
|
<a name="l876"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l877"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l878"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l879"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l880"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>6</span><span class=cF0>; i++)
|
|
<a name="l881"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l882"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l883"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l884"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l885"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l886"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l887"></a>}
|
|
<a name="l888"></a>
|
|
<a name="l889"></a></span><span class=cF1>U0</span><span class=cF0> DoTitanium()
|
|
<a name="l890"></a>{
|
|
<a name="l891"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l892"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l893"></a>
|
|
<a name="l894"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Apps/Titanium/Run\";\n"</span><span class=cF0>);
|
|
<a name="l895"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l896"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l897"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>3</span><span class=cF0>; i++)
|
|
<a name="l898"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l899"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l900"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l901"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l902"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l903"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l904"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l905"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l906"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l907"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l908"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l909"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l910"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l911"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l912"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l913"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l914"></a>}
|
|
<a name="l915"></a>
|
|
<a name="l916"></a></span><span class=cF1>U0</span><span class=cF0> DoToTheFront()
|
|
<a name="l917"></a>{
|
|
<a name="l918"></a> </span><span class=cF9>I64</span><span class=cF0> task_num;
|
|
<a name="l919"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Apps/ToTheFront/Run\";\n"</span><span class=cF0>);
|
|
<a name="l920"></a>
|
|
<a name="l921"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l922"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l923"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l924"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l925"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l926"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l927"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l928"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l929"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l930"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l931"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l932"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>5000</span><span class=cF0>);
|
|
<a name="l933"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l934"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l935"></a>}
|
|
<a name="l936"></a>
|
|
<a name="l937"></a></span><span class=cF1>U0</span><span class=cF0> DoPsalmody()
|
|
<a name="l938"></a>{
|
|
<a name="l939"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l940"></a>
|
|
<a name="l941"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Apps/Psalmody/Run\";\n"</span><span class=cF0>);
|
|
<a name="l942"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l943"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l944"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l945"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l946"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'g'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l947"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l948"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'g'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l949"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l950"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l951"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'h'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l952"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cF6>'j'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l953"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l954"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cF6>'j'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l955"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>+</span><span class=cF3>SCF_CTRL</span><span class=cF0>);
|
|
<a name="l956"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'x'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l957"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1250</span><span class=cF0>);
|
|
<a name="l958"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l959"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l960"></a>}
|
|
<a name="l961"></a>
|
|
<a name="l962"></a></span><span class=cF1>U0</span><span class=cF0> DoJukeBox()
|
|
<a name="l963"></a>{
|
|
<a name="l964"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Apps/Psalmody/Load\";JukeBox(\"::/Apps/Psalmody/Examples\");\n"</span><span class=cF0>);
|
|
<a name="l965"></a>
|
|
<a name="l966"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l967"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l968"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l969"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l970"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l971"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l972"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l973"></a>}
|
|
<a name="l974"></a>
|
|
<a name="l975"></a></span><span class=cF1>U0</span><span class=cF0> DoSpan()
|
|
<a name="l976"></a>{
|
|
<a name="l977"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Apps/Span/Run\";\n"</span><span class=cF0>);
|
|
<a name="l978"></a>
|
|
<a name="l979"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l980"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l981"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l982"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l983"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l984"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l985"></a>}
|
|
<a name="l986"></a>
|
|
<a name="l987"></a></span><span class=cF1>U0</span><span class=cF0> DoStrut()
|
|
<a name="l988"></a>{
|
|
<a name="l989"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l990"></a>
|
|
<a name="l991"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Apps/Strut/Run\";\n"</span><span class=cF0>);
|
|
<a name="l992"></a>
|
|
<a name="l993"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l994"></a>
|
|
<a name="l995"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l996"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l997"></a> </span><span class=cF5>Refresh</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>);
|
|
<a name="l998"></a>
|
|
<a name="l999"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0>-</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1000"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1001"></a>
|
|
<a name="l1002"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1003"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1004"></a>
|
|
<a name="l1005"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'s'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1006"></a>
|
|
<a name="l1007"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1008"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1009"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1010"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1011"></a>
|
|
<a name="l1012"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1013"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1014"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1015"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1016"></a>
|
|
<a name="l1017"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1018"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1019"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1020"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1021"></a>
|
|
<a name="l1022"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cF3>GR_HEIGHT</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1023"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1024"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1025"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1026"></a>
|
|
<a name="l1027"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cF3>GR_HEIGHT</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1028"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1029"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1030"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1031"></a>
|
|
<a name="l1032"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cF3>GR_HEIGHT</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1033"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1034"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1035"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1036"></a>
|
|
<a name="l1037"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'t'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1038"></a>
|
|
<a name="l1039"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1040"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1041"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> - </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1042"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1043"></a>
|
|
<a name="l1044"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cF3>GR_WIDTH</span><span class=cF0> / </span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1045"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1046"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1047"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1048"></a>
|
|
<a name="l1049"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
|
|
<a name="l1050"></a>
|
|
<a name="l1051"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1052"></a> </span><span class=cF5>LBts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF5>Char2ScanCode</span><span class=cF7>(</span><span class=cF6>'1'</span><span class=cF7>)</span><span class=cF0>);
|
|
<a name="l1053"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>600</span><span class=cF0>);
|
|
<a name="l1054"></a> </span><span class=cF5>LBtr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF5>Char2ScanCode</span><span class=cF7>(</span><span class=cF6>'1'</span><span class=cF7>)</span><span class=cF0>);
|
|
<a name="l1055"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'Z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1056"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1057"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'Z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1058"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1059"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'Z'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1060"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1061"></a>
|
|
<a name="l1062"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1063"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1064"></a>}
|
|
<a name="l1065"></a>
|
|
<a name="l1066"></a></span><span class=cF1>U0</span><span class=cF0> DoRawHide()
|
|
<a name="l1067"></a>{
|
|
<a name="l1068"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/RawHide\";\n"</span><span class=cF0>);
|
|
<a name="l1069"></a>
|
|
<a name="l1070"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1071"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1072"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1073"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>2500</span><span class=cF0>);
|
|
<a name="l1074"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1075"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1076"></a>}
|
|
<a name="l1077"></a>
|
|
<a name="l1078"></a></span><span class=cF1>U0</span><span class=cF0> DoPoleZeros()
|
|
<a name="l1079"></a>{
|
|
<a name="l1080"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Graphics/PoleZeros\";\n"</span><span class=cF0>);
|
|
<a name="l1081"></a>
|
|
<a name="l1082"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1083"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1084"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1085"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1086"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1087"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1088"></a>}
|
|
<a name="l1089"></a>
|
|
<a name="l1090"></a></span><span class=cF1>U0</span><span class=cF0> DoWhap()
|
|
<a name="l1091"></a>{
|
|
<a name="l1092"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1093"></a>
|
|
<a name="l1094"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Whap\";\n"</span><span class=cF0>);
|
|
<a name="l1095"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1096"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1097"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>3</span><span class=cF0>, </span><span class=cFE>350</span><span class=cF0>, </span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l1098"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1099"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>3</span><span class=cF0>, </span><span class=cFE>450</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1100"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1101"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1102"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1103"></a>}
|
|
<a name="l1104"></a>
|
|
<a name="l1105"></a></span><span class=cF1>U0</span><span class=cF0> DoGrid()
|
|
<a name="l1106"></a>{
|
|
<a name="l1107"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Graphics/Grid\";\n"</span><span class=cF0>);
|
|
<a name="l1108"></a>
|
|
<a name="l1109"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1110"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>150</span><span class=cF0>);
|
|
<a name="l1111"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l1112"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l1113"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>2</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1114"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1115"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1116"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
|
|
<a name="l1117"></a> </span><span class=cF5>DocBottom</span><span class=cF0>(</span><span class=cF5>DocPut</span><span class=cF7>(</span><span class=cF0>task</span><span class=cF7>)</span><span class=cF0>);
|
|
<a name="l1118"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1119"></a>}
|
|
<a name="l1120"></a>
|
|
<a name="l1121"></a></span><span class=cF1>U0</span><span class=cF0> DoPick()
|
|
<a name="l1122"></a>{
|
|
<a name="l1123"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1124"></a>
|
|
<a name="l1125"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Pick\";\n"</span><span class=cF0>);
|
|
<a name="l1126"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1127"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1128"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1129"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>4</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l1130"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
|
|
<a name="l1131"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1132"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1133"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1134"></a>}
|
|
<a name="l1135"></a>
|
|
<a name="l1136"></a></span><span class=cF1>U0</span><span class=cF0> DoPick3D()
|
|
<a name="l1137"></a>{
|
|
<a name="l1138"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1139"></a>
|
|
<a name="l1140"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Graphics/Pick3D\";\n"</span><span class=cF0>);
|
|
<a name="l1141"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>200</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1142"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1143"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1144"></a> </span><span class=cF5>InSetMouse</span><span class=cF0>(</span><span class=cFE>4</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>, </span><span class=cFE>400</span><span class=cF0>);
|
|
<a name="l1145"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(,,, </span><span class=cF3>FALSE</span><span class=cF0>);
|
|
<a name="l1146"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1147"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1148"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1149"></a>}
|
|
<a name="l1150"></a>
|
|
<a name="l1151"></a></span><span class=cF1>U0</span><span class=cF0> DoGrModels()
|
|
<a name="l1152"></a>{
|
|
<a name="l1153"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1154"></a> </span><span class=cF9>I64</span><span class=cF0> i, j, task_num = -</span><span class=cFE>1</span><span class=cF0>;
|
|
<a name="l1155"></a>
|
|
<a name="l1156"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Apps/GrModels/Run\";\n"</span><span class=cF0>);
|
|
<a name="l1157"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1158"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1159"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>4</span><span class=cF0>; i++)
|
|
<a name="l1160"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1161"></a> task_num = </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task, task_num);
|
|
<a name="l1162"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1163"></a> </span><span class=cF1>for</span><span class=cF0> (j = </span><span class=cFE>0</span><span class=cF0>; j <= i; j++)
|
|
<a name="l1164"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1165"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1166"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1167"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l1168"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1169"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1170"></a>}
|
|
<a name="l1171"></a>
|
|
<a name="l1172"></a></span><span class=cF1>U0</span><span class=cF0> DoKeepAway()
|
|
<a name="l1173"></a>{
|
|
<a name="l1174"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Apps/KeepAway/Run\";\n"</span><span class=cF0>);
|
|
<a name="l1175"></a>
|
|
<a name="l1176"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1177"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1178"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1179"></a> </span><span class=cF5>MouseSet</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>, </span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l1180"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1181"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN_UP</span><span class=cF0>, </span><span class=cFB>mouse</span><span class=cF0>.pos.x, </span><span class=cFB>mouse</span><span class=cF0>.pos.y);
|
|
<a name="l1182"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l1183"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1184"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1185"></a>}
|
|
<a name="l1186"></a>
|
|
<a name="l1187"></a></span><span class=cF1>U0</span><span class=cF0> DoRocket()
|
|
<a name="l1188"></a>{
|
|
<a name="l1189"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1190"></a>
|
|
<a name="l1191"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Rocket\";\n"</span><span class=cF0>);
|
|
<a name="l1192"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1193"></a> </span><span class=cF5>Bts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1194"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l1195"></a> </span><span class=cF5>Btr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1196"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1197"></a> </span><span class=cF5>Bts</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1198"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l1199"></a> </span><span class=cF5>Btr</span><span class=cF0>(</span><span class=cFB>kbd</span><span class=cF0>.down_bitmap, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1200"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1000</span><span class=cF0>);
|
|
<a name="l1201"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1202"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1203"></a>}
|
|
<a name="l1204"></a>
|
|
<a name="l1205"></a></span><span class=cF1>U0</span><span class=cF0> DoRocketScience()
|
|
<a name="l1206"></a>{
|
|
<a name="l1207"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/RocketScience\";\n"</span><span class=cF0>);
|
|
<a name="l1208"></a>
|
|
<a name="l1209"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1210"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1211"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1212"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1213"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1214"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1215"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>2000</span><span class=cF0>);
|
|
<a name="l1216"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1217"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1218"></a>}
|
|
<a name="l1219"></a>
|
|
<a name="l1220"></a></span><span class=cF1>U0</span><span class=cF0> DoMassSpring()
|
|
<a name="l1221"></a>{
|
|
<a name="l1222"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/Games/MassSpring\";\n"</span><span class=cF0>);
|
|
<a name="l1223"></a>
|
|
<a name="l1224"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1225"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1226"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1227"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1228"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//#1</span><span class=cF0>
|
|
<a name="l1229"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>); </span><span class=cF2>//#2</span><span class=cF0>
|
|
<a name="l1230"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>210</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//#3</span><span class=cF0>
|
|
<a name="l1231"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_L_DOWN_UP</span><span class=cF0>, </span><span class=cFE>310</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);</span><span class=cF2>//#4</span><span class=cF0>
|
|
<a name="l1232"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1233"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//1-2</span><span class=cF0>
|
|
<a name="l1234"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1235"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1236"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>210</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>);</span><span class=cF2>//3-4</span><span class=cF0>
|
|
<a name="l1237"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>310</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1238"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1239"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);</span><span class=cF2>//2-4</span><span class=cF0>
|
|
<a name="l1240"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>310</span><span class=cF0>, </span><span class=cFE>200</span><span class=cF0>);
|
|
<a name="l1241"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1242"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_DOWN</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>); </span><span class=cF2>//1-3</span><span class=cF0>
|
|
<a name="l1243"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_MS_R_UP</span><span class=cF0>, </span><span class=cFE>210</span><span class=cF0>, </span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1244"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1245"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1246"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1247"></a>}
|
|
<a name="l1248"></a>
|
|
<a name="l1249"></a></span><span class=cF1>U0</span><span class=cF0> DoSquirt()
|
|
<a name="l1250"></a>{
|
|
<a name="l1251"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l1252"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1253"></a>
|
|
<a name="l1254"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Squirt\";\n"</span><span class=cF0>);
|
|
<a name="l1255"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>5</span><span class=cF0>; i++)
|
|
<a name="l1256"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1257"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1258"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l1259"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1260"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>5</span><span class=cF0>; i++)
|
|
<a name="l1261"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1262"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l1263"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l1264"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1265"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>5</span><span class=cF0>; i++)
|
|
<a name="l1266"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1267"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1268"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l1269"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1270"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>5</span><span class=cF0>; i++)
|
|
<a name="l1271"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1272"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1273"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l1274"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1275"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1276"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1277"></a>}
|
|
<a name="l1278"></a>
|
|
<a name="l1279"></a></span><span class=cF1>U0</span><span class=cF0> DoXCaliber()
|
|
<a name="l1280"></a>{
|
|
<a name="l1281"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l1282"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1283"></a>
|
|
<a name="l1284"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Apps/X-Caliber/Run\";\n"</span><span class=cF0>);
|
|
<a name="l1285"></a>
|
|
<a name="l1286"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l1287"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>TaskValidate</span><span class=cF7>(</span><span class=cF0>task->popup_task</span><span class=cF7>)</span><span class=cF0>)
|
|
<a name="l1288"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1289"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_CTRL</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1290"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1291"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1292"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1293"></a>
|
|
<a name="l1294"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>5</span><span class=cF0>; i++)
|
|
<a name="l1295"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1296"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_SHIFT</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1297"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_SHIFT</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1298"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1299"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>10</span><span class=cF0>; i++)
|
|
<a name="l1300"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1301"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1302"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1303"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>100</span><span class=cF0>);
|
|
<a name="l1304"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1305"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1306"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1307"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1308"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1309"></a>}
|
|
<a name="l1310"></a>
|
|
<a name="l1311"></a></span><span class=cF1>U0</span><span class=cF0> DoFPS()
|
|
<a name="l1312"></a>{
|
|
<a name="l1313"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l1314"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1315"></a>
|
|
<a name="l1316"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/CastleFrankenstein\";\n"</span><span class=cF0>);
|
|
<a name="l1317"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>15</span><span class=cF0>; i++)
|
|
<a name="l1318"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1319"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1320"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1321"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1322"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>8</span><span class=cF0>; i++)
|
|
<a name="l1323"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1324"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1325"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1326"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1327"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>9</span><span class=cF0>; i++)
|
|
<a name="l1328"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1329"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1330"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1331"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1332"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>6</span><span class=cF0>; i++)
|
|
<a name="l1333"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1334"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1335"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1336"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1337"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1338"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1339"></a>}
|
|
<a name="l1340"></a>
|
|
<a name="l1341"></a></span><span class=cF1>U0</span><span class=cF0> DoTalons()
|
|
<a name="l1342"></a>{
|
|
<a name="l1343"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l1344"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1345"></a>
|
|
<a name="l1346"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Games/Talons\";\n"</span><span class=cF0>);
|
|
<a name="l1347"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1348"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>10</span><span class=cF0>; i++)
|
|
<a name="l1349"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1350"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_UP</span><span class=cF0>);
|
|
<a name="l1351"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1352"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1353"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>10</span><span class=cF0>; i++)
|
|
<a name="l1354"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1355"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1356"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1357"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1358"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1359"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1360"></a>}
|
|
<a name="l1361"></a>
|
|
<a name="l1362"></a></span><span class=cF1>U0</span><span class=cF0> DoPhoneNumWords()
|
|
<a name="l1363"></a>{
|
|
<a name="l1364"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1365"></a>
|
|
<a name="l1366"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/PhoneNumWords\";\n"</span><span class=cF0>);
|
|
<a name="l1367"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"702-254-4223\n\n"</span><span class=cF0>);
|
|
<a name="l1368"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1369"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1370"></a>}
|
|
<a name="l1371"></a>
|
|
<a name="l1372"></a></span><span class=cF1>U0</span><span class=cF0> DoSuggestedSpelling()
|
|
<a name="l1373"></a>{
|
|
<a name="l1374"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1375"></a>
|
|
<a name="l1376"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/SuggestSpelling\";\n"</span><span class=cF0>);
|
|
<a name="l1377"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"effecient\n\n"</span><span class=cF0>);
|
|
<a name="l1378"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1379"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1380"></a>}
|
|
<a name="l1381"></a>
|
|
<a name="l1382"></a></span><span class=cF1>U0</span><span class=cF0> DoFPrintF()
|
|
<a name="l1383"></a>{
|
|
<a name="l1384"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1385"></a>
|
|
<a name="l1386"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Disk/FPrintF\";\n"</span><span class=cF0>);
|
|
<a name="l1387"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"~/DemoFPrintF.DD"</span><span class=cF0>);
|
|
<a name="l1388"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1389"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"Type(\"~/DemoFPrintF.DD\");\n"</span><span class=cF0>);
|
|
<a name="l1390"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_CTRLO</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1391"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"Del(\"~/DemoFPrintF.DD*\");\n"</span><span class=cF0>);
|
|
<a name="l1392"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1393"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1394"></a>}
|
|
<a name="l1395"></a>
|
|
<a name="l1396"></a></span><span class=cF1>U0</span><span class=cF0> DoLastClass()
|
|
<a name="l1397"></a>{
|
|
<a name="l1398"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1399"></a>
|
|
<a name="l1400"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/LastClass\";\n"</span><span class=cF0>);
|
|
<a name="l1401"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1402"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1403"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1404"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1405"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1406"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1407"></a>}
|
|
<a name="l1408"></a>
|
|
<a name="l1409"></a></span><span class=cF1>U0</span><span class=cF0> DoMiniCompiler()
|
|
<a name="l1410"></a>{
|
|
<a name="l1411"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1412"></a>
|
|
<a name="l1413"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Lectures/MiniCompiler\";\n"</span><span class=cF0>);
|
|
<a name="l1414"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"1+2*(3+4)\n"</span><span class=cF0>);
|
|
<a name="l1415"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1416"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1417"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1418"></a>}
|
|
<a name="l1419"></a>
|
|
<a name="l1420"></a></span><span class=cF1>U0</span><span class=cF0> DoWebLog()
|
|
<a name="l1421"></a>{
|
|
<a name="l1422"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1423"></a>
|
|
<a name="l1424"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/WebLogDemo/WebLogRep\";\n"</span><span class=cF0>);
|
|
<a name="l1425"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1426"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1427"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1428"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1429"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1430"></a>}
|
|
<a name="l1431"></a>
|
|
<a name="l1432"></a></span><span class=cF1>U0</span><span class=cF0> DoRevFile()
|
|
<a name="l1433"></a>{
|
|
<a name="l1434"></a> </span><span class=cF9>CTask</span><span class=cF0> *task;
|
|
<a name="l1435"></a>
|
|
<a name="l1436"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>"~/DemoPoemFwd.DD*"</span><span class=cF0>);
|
|
<a name="l1437"></a> task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/RevFileDemo/Rev\";Type(\"~/DemoPoemFwd.DD\");Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1438"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1439"></a>}
|
|
<a name="l1440"></a>
|
|
<a name="l1441"></a></span><span class=cF1>U0</span><span class=cF0> DoSortFile()
|
|
<a name="l1442"></a>{
|
|
<a name="l1443"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/SortFileDemo/F64FileGen\";"</span><span class=cF0>
|
|
<a name="l1444"></a> </span><span class=cF6>"#include \"::/Demo/SortFileDemo/F64FileSort\";Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1445"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1446"></a>}
|
|
<a name="l1447"></a>
|
|
<a name="l1448"></a></span><span class=cF1>U0</span><span class=cF0> DoToHtmlToTXT()
|
|
<a name="l1449"></a>{
|
|
<a name="l1450"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/ToHtmlToTXTDemo/HtmlGen\";"</span><span class=cF0>
|
|
<a name="l1451"></a> </span><span class=cF6>"#include \"::/Demo/ToHtmlToTXTDemo/TXTGen\";"</span><span class=cF0>
|
|
<a name="l1452"></a> </span><span class=cF6>"Type(\"~/DemoOutPage.TXT\");Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1453"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1454"></a>}
|
|
<a name="l1455"></a>
|
|
<a name="l1456"></a></span><span class=cF1>U0</span><span class=cF0> DoLogic()
|
|
<a name="l1457"></a>{
|
|
<a name="l1458"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1459"></a>
|
|
<a name="l1460"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Apps/Logic/Run\";\n"</span><span class=cF0>);
|
|
<a name="l1461"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"NAND\nNOR\n\n0x100\n0xF0\n0xCC\n0xAA\n\n0x12\n\n"</span><span class=cF0>);
|
|
<a name="l1462"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1463"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1464"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1465"></a>}
|
|
<a name="l1466"></a>
|
|
<a name="l1467"></a></span><span class=cF1>U0</span><span class=cF0> DoPrompt()
|
|
<a name="l1468"></a>{
|
|
<a name="l1469"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1470"></a>
|
|
<a name="l1471"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Prompt\";\n"</span><span class=cF0>);
|
|
<a name="l1472"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"1+2*3<<4\n"</span><span class=cF0>);
|
|
<a name="l1473"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"1.0+2*3`2\n"</span><span class=cF0>);
|
|
<a name="l1474"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"Terry Davis\n"</span><span class=cF0>);
|
|
<a name="l1475"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"*-1\n"</span><span class=cF0>);
|
|
<a name="l1476"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1477"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1478"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1479"></a>}
|
|
<a name="l1480"></a>
|
|
<a name="l1481"></a></span><span class=cF1>U0</span><span class=cF0> DoNumBible()
|
|
<a name="l1482"></a>{
|
|
<a name="l1483"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1484"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/DolDoc/NumBible\";\n"</span><span class=cF0>);
|
|
<a name="l1485"></a> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF6>"~/DemoNumBible.DD"</span><span class=cF0>);
|
|
<a name="l1486"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1487"></a>}
|
|
<a name="l1488"></a>
|
|
<a name="l1489"></a></span><span class=cF1>U0</span><span class=cF0> DoForm()
|
|
<a name="l1490"></a>{
|
|
<a name="l1491"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1492"></a>
|
|
<a name="l1493"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/DolDoc/Form\";\n"</span><span class=cF0>);
|
|
<a name="l1494"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l1495"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>"54321"</span><span class=cF0>);
|
|
<a name="l1496"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l1497"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1498"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l1499"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SCF_CTRL</span><span class=cF0>|</span><span class=cF3>SC_CURSOR_LEFT</span><span class=cF0>);
|
|
<a name="l1500"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>"77777"</span><span class=cF0>);
|
|
<a name="l1501"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l1502"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1503"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1504"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1505"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>);
|
|
<a name="l1506"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l1507"></a> </span><span class=cF5>XTalk</span><span class=cF0>(task, </span><span class=cF6>"MyName"</span><span class=cF0>);
|
|
<a name="l1508"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1509"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1510"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1511"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1512"></a>}
|
|
<a name="l1513"></a>
|
|
<a name="l1514"></a></span><span class=cF1>U0</span><span class=cF0> DoClickCallBack()
|
|
<a name="l1515"></a>{
|
|
<a name="l1516"></a> </span><span class=cF9>I64</span><span class=cF0> i;
|
|
<a name="l1517"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>(</span><span class=cF6>"#include \"::/Demo/DolDoc/ClickCallBack\";\n"</span><span class=cF0>);
|
|
<a name="l1518"></a>
|
|
<a name="l1519"></a> </span><span class=cF1>for</span><span class=cF0> (i = </span><span class=cFE>0</span><span class=cF0>; i < </span><span class=cFE>3</span><span class=cF0>; i++)
|
|
<a name="l1520"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1521"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1522"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1523"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1524"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l1525"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1526"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1527"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1528"></a>}
|
|
<a name="l1529"></a>
|
|
<a name="l1530"></a></span><span class=cF1>U0</span><span class=cF0> DoMenuBttn()
|
|
<a name="l1531"></a>{
|
|
<a name="l1532"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1533"></a>
|
|
<a name="l1534"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/DolDoc/MenuBttn\";\n"</span><span class=cF0>);
|
|
<a name="l1535"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1536"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1537"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1538"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1539"></a> </span><span class=cF5>MessagePost</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1540"></a> </span><span class=cF5>BirthWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1541"></a> </span><span class=cF5>TaskWait</span><span class=cF0>(task->popup_task);
|
|
<a name="l1542"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1543"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(</span><span class=cFB>sys_focus_task</span><span class=cF0>, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_RIGHT</span><span class=cF0>);
|
|
<a name="l1544"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>500</span><span class=cF0>);
|
|
<a name="l1545"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task->popup_task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1546"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task->popup_task);
|
|
<a name="l1547"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1548"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1549"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1550"></a>}
|
|
<a name="l1551"></a>
|
|
<a name="l1552"></a></span><span class=cF1>U0</span><span class=cF0> DoMenuSprite()
|
|
<a name="l1553"></a>{
|
|
<a name="l1554"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1555"></a>
|
|
<a name="l1556"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/DolDoc/MenuSprite\";\n"</span><span class=cF0>);
|
|
<a name="l1557"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1558"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1559"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1560"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l1561"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1562"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1563"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cF3>SC_CURSOR_DOWN</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1564"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>50</span><span class=cF0>);
|
|
<a name="l1565"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1566"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>300</span><span class=cF0>);
|
|
<a name="l1567"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1568"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1569"></a>}
|
|
<a name="l1570"></a>
|
|
<a name="l1571"></a></span><span class=cF1>U0</span><span class=cF0> DoExceptions()
|
|
<a name="l1572"></a>{
|
|
<a name="l1573"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1574"></a>
|
|
<a name="l1575"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Exceptions\";\n"</span><span class=cF0>);
|
|
<a name="l1576"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"yy"</span><span class=cF0>);
|
|
<a name="l1577"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1578"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1579"></a>}
|
|
<a name="l1580"></a>
|
|
<a name="l1581"></a></span><span class=cF1>U0</span><span class=cF0> DoDemoDoc()
|
|
<a name="l1582"></a>{
|
|
<a name="l1583"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1584"></a>
|
|
<a name="l1585"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"Ed(\"::/Demo/DolDoc/DemoDoc.DD\");\n"</span><span class=cF0>);
|
|
<a name="l1586"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_CTRLG</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1587"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"100"</span><span class=cF0>);
|
|
<a name="l1588"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1589"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1590"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1591"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1592"></a>}
|
|
<a name="l1593"></a>
|
|
<a name="l1594"></a></span><span class=cF1>U0</span><span class=cF0> DoFileRead()
|
|
<a name="l1595"></a>{
|
|
<a name="l1596"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1597"></a>
|
|
<a name="l1598"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/DolDoc/FileRead\";\n"</span><span class=cF0>);
|
|
<a name="l1599"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1600"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1601"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1602"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1603"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1604"></a>}
|
|
<a name="l1605"></a>
|
|
<a name="l1606"></a></span><span class=cF1>U0</span><span class=cF0> DoDefine()
|
|
<a name="l1607"></a>{
|
|
<a name="l1608"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1609"></a>
|
|
<a name="l1610"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Define\";\n"</span><span class=cF0>);
|
|
<a name="l1611"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"YS\n"</span><span class=cF0>);
|
|
<a name="l1612"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1613"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1614"></a>}
|
|
<a name="l1615"></a>
|
|
<a name="l1616"></a></span><span class=cF1>U0</span><span class=cF0> DoAsmAndC1()
|
|
<a name="l1617"></a>{
|
|
<a name="l1618"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1619"></a>
|
|
<a name="l1620"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Asm/AsmAndC1\";\n2\n"</span><span class=cF0>);
|
|
<a name="l1621"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1622"></a>}
|
|
<a name="l1623"></a>
|
|
<a name="l1624"></a></span><span class=cF1>U0</span><span class=cF0> DoAsmAndC2()
|
|
<a name="l1625"></a>{
|
|
<a name="l1626"></a> </span><span class=cF9>CTask</span><span class=cF0> *task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1627"></a>
|
|
<a name="l1628"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"#include \"::/Demo/Asm/AsmAndC2\";\n2\n"</span><span class=cF0>);
|
|
<a name="l1629"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1630"></a>}
|
|
<a name="l1631"></a>
|
|
<a name="l1632"></a></span><span class=cF1>U0</span><span class=cF0> OSTestSuite()
|
|
<a name="l1633"></a>{
|
|
<a name="l1634"></a> </span><span class=cF9>CTask</span><span class=cF0> *task;
|
|
<a name="l1635"></a>
|
|
<a name="l1636"></a> ts_t0 = </span><span class=cF5>tS</span><span class=cF0>;
|
|
<a name="l1637"></a> ts_i = </span><span class=cFE>0</span><span class=cF0>;
|
|
<a name="l1638"></a>
|
|
<a name="l1639"></a> TS(</span><span class=cF6>"BlackDiamond"</span><span class=cF0>); DoBlackDiamond;
|
|
<a name="l1640"></a> TS(</span><span class=cF6>"Talons"</span><span class=cF0>); DoTalons;
|
|
<a name="l1641"></a> TS(</span><span class=cF6>"FlatTops"</span><span class=cF0>); DoFlatTops;
|
|
<a name="l1642"></a> TS(</span><span class=cF6>"DunGen"</span><span class=cF0>); DoDunGen;
|
|
<a name="l1643"></a> TS(</span><span class=cF6>"FPS"</span><span class=cF0>); DoFPS;
|
|
<a name="l1644"></a> TS(</span><span class=cF6>"ZoneOut"</span><span class=cF0>); DoZoneOut;
|
|
<a name="l1645"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS("Varoom"); </span><span class=cF0> </span><span class=cF2>DoVaroom;</span><span class=cF0>
|
|
<a name="l1646"></a> TS(</span><span class=cF6>"Rocket"</span><span class=cF0>); DoRocket;
|
|
<a name="l1647"></a> TS(</span><span class=cF6>"RocketScience"</span><span class=cF0>); DoRocketScience;
|
|
<a name="l1648"></a> TS(</span><span class=cF6>"BattleLines"</span><span class=cF0>); DoBattleLines;
|
|
<a name="l1649"></a> TS(</span><span class=cF6>"BigGuns"</span><span class=cF0>); DoBigGuns;
|
|
<a name="l1650"></a> TS(</span><span class=cF6>"FlapBat"</span><span class=cF0>); DoFlapBat;
|
|
<a name="l1651"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS("Titanium"); </span><span class=cF0> </span><span class=cF2>DoTitanium;</span><span class=cF0>
|
|
<a name="l1652"></a> TS(</span><span class=cF6>"ToTheFront"</span><span class=cF0>); DoToTheFront;
|
|
<a name="l1653"></a> TS(</span><span class=cF6>"Psalmody"</span><span class=cF0>); DoPsalmody;
|
|
<a name="l1654"></a> TS(</span><span class=cF6>"JukeBox"</span><span class=cF0>); DoJukeBox;
|
|
<a name="l1655"></a> TS(</span><span class=cF6>"Span"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cFB>sys_heap_init_flag</span><span class=cF0>) DoSpan; </span><span class=cF2>//Has FloodFill</span><span class=cF0>
|
|
<a name="l1656"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS("Strut");</span><span class=cF0> </span><span class=cF2>DoStrut;</span><span class=cF0>
|
|
<a name="l1657"></a> TS(</span><span class=cF6>"RawHide"</span><span class=cF0>); DoRawHide;
|
|
<a name="l1658"></a> TS(</span><span class=cF6>"KeepAway"</span><span class=cF0>); DoKeepAway;
|
|
<a name="l1659"></a> TS(</span><span class=cF6>"XCaliber"</span><span class=cF0>); DoXCaliber;
|
|
<a name="l1660"></a> TS(</span><span class=cF6>"Wenceslas"</span><span class=cF0>); DoWenceslas;
|
|
<a name="l1661"></a> TS(</span><span class=cF6>"BomberGolf"</span><span class=cF0>); DoBomberGolf;
|
|
<a name="l1662"></a> TS(</span><span class=cF6>"TheDead"</span><span class=cF0>); DoTheDead;
|
|
<a name="l1663"></a> TS(</span><span class=cF6>"TreeCheckers"</span><span class=cF0>); DoTreeCheckers;
|
|
<a name="l1664"></a> TS(</span><span class=cF6>"RadixDort"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/RadixSort"</span><span class=cF0>);
|
|
<a name="l1665"></a> TS(</span><span class=cF6>"MPAdd"</span><span class=cF0>); DoMPAdd;
|
|
<a name="l1666"></a> TS(</span><span class=cF6>"Primes"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/MultiCore/Primes"</span><span class=cF0>);
|
|
<a name="l1667"></a> TS(</span><span class=cF6>"Palindrome"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>FileFind</span><span class=cF7>(</span><span class=cF3>BIBLE_FILENAME</span><span class=cF7>)</span><span class=cF0>) TSFile(</span><span class=cF6>"::/Demo/MultiCore/Palindrome"</span><span class=cF0>);
|
|
<a name="l1668"></a> TS(</span><span class=cF6>"MPRadix"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> > </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>"::/Demo/MultiCore/MPRadix"</span><span class=cF0>);
|
|
<a name="l1669"></a> TS(</span><span class=cF6>"LoadTest"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> > </span><span class=cFE>1</span><span class=cF0> && </span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>) TSFileChar(</span><span class=cF6>"::/Demo/MultiCore/LoadTest"</span><span class=cF0>);
|
|
<a name="l1670"></a> TS(</span><span class=cF6>"MPPrint"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> > </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>"::/Demo/MultiCore/MPPrint"</span><span class=cF0>);
|
|
<a name="l1671"></a> TS(</span><span class=cF6>"Lock"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> > </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>"::/Demo/MultiCore/Lock"</span><span class=cF0>);
|
|
<a name="l1672"></a> TS(</span><span class=cF6>"Interrupts"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> > </span><span class=cFE>1</span><span class=cF0>) TSFile(</span><span class=cF6>"::/Demo/MultiCore/Interrupts"</span><span class=cF0>);
|
|
<a name="l1673"></a> TS(</span><span class=cF6>"SpritePlot"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/SpritePlot"</span><span class=cF0>);
|
|
<a name="l1674"></a> TS(</span><span class=cF6>"Elephants"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Elephant"</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
|
|
<a name="l1675"></a> TS(</span><span class=cF6>"SpritePlot3D"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/SpritePlot3D"</span><span class=cF0>);
|
|
<a name="l1676"></a> TS(</span><span class=cF6>"SpritePut"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Graphics/SpritePut"</span><span class=cF0>);
|
|
<a name="l1677"></a> TS(</span><span class=cF6>"SpritePutExt"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Graphics/SpritePutExt"</span><span class=cF0>);
|
|
<a name="l1678"></a> TS(</span><span class=cF6>"SpriteText"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Graphics/SpriteText"</span><span class=cF0>);
|
|
<a name="l1679"></a> TS(</span><span class=cF6>"SpriteRaw"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Graphics/SpriteRaw"</span><span class=cF0>);
|
|
<a name="l1680"></a> TS(</span><span class=cF6>"EdSprite"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Graphics/EdSprite"</span><span class=cF0>);
|
|
<a name="l1681"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS("Balloon");</span><span class=cF0> </span><span class=cF2>TSFile("::/Demo/Graphics/Balloon", 0);</span><span class=cF0>
|
|
<a name="l1682"></a> TS(</span><span class=cF6>"Carry"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Carry"</span><span class=cF0>);
|
|
<a name="l1683"></a> TS(</span><span class=cF6>"Directives"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Directives"</span><span class=cF0>);
|
|
<a name="l1684"></a> TS(</span><span class=cF6>"RandDemo"</span><span class=cF0>); DoRandDemo;
|
|
<a name="l1685"></a> TS(</span><span class=cF6>"Extents"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Extents"</span><span class=cF0>);
|
|
<a name="l1686"></a> TS(</span><span class=cF6>"NetOfDots"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/NetOfDots"</span><span class=cF0>);
|
|
<a name="l1687"></a> TS(</span><span class=cF6>"SunMoon"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/SunMoon"</span><span class=cF0>);
|
|
<a name="l1688"></a> TS(</span><span class=cF6>"LowPassFilter"</span><span class=cF0>); DoLowPassFilter;
|
|
<a name="l1689"></a> TS(</span><span class=cF6>"MathAudioDemo"</span><span class=cF0>); DoMathAudioDemo;
|
|
<a name="l1690"></a> TS(</span><span class=cF6>"Lines"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Lines"</span><span class=cF0>);
|
|
<a name="l1691"></a> TS(</span><span class=cF6>"Bounce"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Bounce"</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>, </span><span class=cF3>FALSE</span><span class=cF0>);
|
|
<a name="l1692"></a> TS(</span><span class=cF6>"MessageLoop"</span><span class=cF0>); DoMessageLoop;
|
|
<a name="l1693"></a> TS(</span><span class=cF6>"ASCIIOrgan"</span><span class=cF0>); DoASCIIOrgan;
|
|
<a name="l1694"></a> TS(</span><span class=cF6>"MorseCode"</span><span class=cF0>); DoMorseCode;
|
|
<a name="l1695"></a> TS(</span><span class=cF6>"PixCollision"</span><span class=cF0>); DoPixCollision;
|
|
<a name="l1696"></a> TS(</span><span class=cF6>"Doodle"</span><span class=cF0>); DoDoodle;
|
|
<a name="l1697"></a> TS(</span><span class=cF6>"MassSpring"</span><span class=cF0>); DoMassSpring;
|
|
<a name="l1698"></a> TS(</span><span class=cF6>"SpeedLine"</span><span class=cF0>); DoSpeedLine;
|
|
<a name="l1699"></a> TS(</span><span class=cF6>"KeyBitMap"</span><span class=cF0>); DoKeyBitMap;
|
|
<a name="l1700"></a> TS(</span><span class=cF6>"BSpline"</span><span class=cF0>); DoBSpline;
|
|
<a name="l1701"></a> TS(</span><span class=cF6>"GrModels"</span><span class=cF0>); DoGrModels;
|
|
<a name="l1702"></a> TS(</span><span class=cF6>"Blot"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Blot"</span><span class=cF0>, </span><span class=cFE>1800</span><span class=cF0>);
|
|
<a name="l1703"></a> TS(</span><span class=cF6>"ScreenCapture"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoScreenCapture;
|
|
<a name="l1704"></a> TS(</span><span class=cF6>"Grid"</span><span class=cF0>); DoGrid;
|
|
<a name="l1705"></a> TS(</span><span class=cF6>"Pick"</span><span class=cF0>); DoPick;
|
|
<a name="l1706"></a> TS(</span><span class=cF6>"Pick3D"</span><span class=cF0>); DoPick3D;
|
|
<a name="l1707"></a> TS(</span><span class=cF6>"Whap"</span><span class=cF0>); DoWhap;
|
|
<a name="l1708"></a> TS(</span><span class=cF6>"Palette"</span><span class=cF0>); DoPalette;
|
|
<a name="l1709"></a> TS(</span><span class=cF6>"Print"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Print"</span><span class=cF0>);
|
|
<a name="l1710"></a> TS(</span><span class=cF6>"Shading"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Shading"</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1711"></a> TS(</span><span class=cF6>"RotateTank"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/RotateTank"</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1712"></a> TS(</span><span class=cF6>"3DPoly"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/3DPoly"</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1713"></a> TS(</span><span class=cF6>"Box"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Box"</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1714"></a> TS(</span><span class=cF6>"Symmetry"</span><span class=cF0>); DoSymmetry;
|
|
<a name="l1715"></a> TS(</span><span class=cF6>"Shadow"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Shadow"</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1716"></a> TS(</span><span class=cF6>"Transform"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Transform"</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
|
|
<a name="l1717"></a> TS(</span><span class=cF6>"LightTable"</span><span class=cF0>); DoLightTable;
|
|
<a name="l1718"></a> TS(</span><span class=cF6>"PredatorPrey"</span><span class=cF0>); DoPredatorPrey;
|
|
<a name="l1719"></a> TS(</span><span class=cF6>"PoleZeros"</span><span class=cF0>); DoPoleZeros;
|
|
<a name="l1720"></a> TS(</span><span class=cF6>"Digits"</span><span class=cF0>); DoDigits;
|
|
<a name="l1721"></a> TS(</span><span class=cF6>"Stadium"</span><span class=cF0>); DoStadium;
|
|
<a name="l1722"></a> TS(</span><span class=cF6>"ElephantWalk"</span><span class=cF0>); DoElephantWalk;
|
|
<a name="l1723"></a> TS(</span><span class=cF6>"Halogen"</span><span class=cF0>); DoHalogen;
|
|
<a name="l1724"></a> TS(</span><span class=cF6>"Maze"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Games/Maze"</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
|
|
<a name="l1725"></a> TS(</span><span class=cF6>"FontEd"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/FontEd"</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
|
|
<a name="l1726"></a> TS(</span><span class=cF6>"Lattice"</span><span class=cF0>); DoLattice;
|
|
<a name="l1727"></a> TS(</span><span class=cF6>"CtrlR1"</span><span class=cF0>); DoCtrlR1;
|
|
<a name="l1728"></a> TS(</span><span class=cF6>"F2Macro"</span><span class=cF0>); DoF2Macro;
|
|
<a name="l1729"></a> TS(</span><span class=cF6>"SubIntAccess"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/SubIntAccess"</span><span class=cF0>);
|
|
<a name="l1730"></a> TS(</span><span class=cF6>"DemoDoc"</span><span class=cF0>); DoDemoDoc;
|
|
<a name="l1731"></a> TS(</span><span class=cF6>"TreeDemo"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/DolDoc/TreeDemo"</span><span class=cF0>);
|
|
<a name="l1732"></a> TS(</span><span class=cF6>"TextDemo"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/DolDoc/TextDemo"</span><span class=cF0>);
|
|
<a name="l1733"></a> TS(</span><span class=cF6>"CursorMove"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/DolDoc/CursorMove"</span><span class=cF0>);
|
|
<a name="l1734"></a> TS(</span><span class=cF6>"MiniCompiler"</span><span class=cF0>); DoMiniCompiler;
|
|
<a name="l1735"></a></span><span class=cF2>//</span><span class=cF0> </span><span class=cF2>TS("MiniGrLib");</span><span class=cF0> </span><span class=cF2>TSFile("::/Demo/Lectures/MiniGrLib", 0);</span><span class=cF0>
|
|
<a name="l1736"></a> TS(</span><span class=cF6>"TimeIns"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/TimeIns"</span><span class=cF0>);
|
|
<a name="l1737"></a> TS(</span><span class=cF6>"PhoneNumWords"</span><span class=cF0>); DoPhoneNumWords;
|
|
<a name="l1738"></a> TS(</span><span class=cF6>"UnusedSpaceRep"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Disk/UnusedSpaceRep"</span><span class=cF0>);
|
|
<a name="l1739"></a> TS(</span><span class=cF6>"BlkDevRep"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Disk/BlkDevRep"</span><span class=cF0>);
|
|
<a name="l1740"></a> TS(</span><span class=cF6>"LastClass"</span><span class=cF0>); DoLastClass;
|
|
<a name="l1741"></a> TS(</span><span class=cF6>"FPrintF"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoFPrintF;
|
|
<a name="l1742"></a> TS(</span><span class=cF6>"SerializeTree"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Disk/SerializeTree"</span><span class=cF0>);
|
|
<a name="l1743"></a> TS(</span><span class=cF6>"Exceptions"</span><span class=cF0>); DoExceptions;
|
|
<a name="l1744"></a> TS(</span><span class=cF6>"ScreenDCodes"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/ScreenCodes"</span><span class=cF0>);
|
|
<a name="l1745"></a> TS(</span><span class=cF6>"ExtChars"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/ExtChars"</span><span class=cF0>);
|
|
<a name="l1746"></a> TS(</span><span class=cF6>"PanText"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Graphics/PanText"</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1747"></a> TS(</span><span class=cF6>"CharAnimation"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Graphics/CharAnimation"</span><span class=cF0>);
|
|
<a name="l1748"></a> TS(</span><span class=cF6>"CharDemo"</span><span class=cF0>); DoCharDemo;
|
|
<a name="l1749"></a> TS(</span><span class=cF6>"DateTime"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/DateTime"</span><span class=cF0>);
|
|
<a name="l1750"></a> TS(</span><span class=cF6>"SubSwitch"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/SubSwitch"</span><span class=cF0>);
|
|
<a name="l1751"></a> TS(</span><span class=cF6>"NullCase"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/NullCase"</span><span class=cF0>);
|
|
<a name="l1752"></a> TS(</span><span class=cF6>"Magicpairs"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/MagicPairs"</span><span class=cF0>);
|
|
<a name="l1753"></a> TS(</span><span class=cF6>"Hanoi"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/Hanoi"</span><span class=cF0>, </span><span class=cFE>3000</span><span class=cF0>);
|
|
<a name="l1754"></a> TS(</span><span class=cF6>"Squirt"</span><span class=cF0>); DoSquirt;
|
|
<a name="l1755"></a> TS(</span><span class=cF6>"CommonAncestor"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Graphics/CommonAncestor"</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
|
|
<a name="l1756"></a> TS(</span><span class=cF6>"Cartesian"</span><span class=cF0>); DoCartesian;
|
|
<a name="l1757"></a> TS(</span><span class=cF6>"RainDrops"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Games/RainDrops"</span><span class=cF0>,, </span><span class=cF3>CH_SHIFT_ESC</span><span class=cF0>);
|
|
<a name="l1758"></a> TS(</span><span class=cF6>"Collision"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Games/Collision"</span><span class=cF0>, </span><span class=cFE>1500</span><span class=cF0>);
|
|
<a name="l1759"></a> TS(</span><span class=cF6>"Logic"</span><span class=cF0>); DoLogic;
|
|
<a name="l1760"></a> TS(</span><span class=cF6>"CompileDemo"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/CompileDemo"</span><span class=cF0>);
|
|
<a name="l1761"></a> TS(</span><span class=cF6>"Prompt"</span><span class=cF0>); DoPrompt;
|
|
<a name="l1762"></a> TS(</span><span class=cF6>"WebLog"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoWebLog;
|
|
<a name="l1763"></a> TS(</span><span class=cF6>"RevFile"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoRevFile;
|
|
<a name="l1764"></a> TS(</span><span class=cF6>"SortFile"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoSortFile;
|
|
<a name="l1765"></a> TS(</span><span class=cF6>"ToHtmlToTXT"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoToHtmlToTXT;
|
|
<a name="l1766"></a> TS(</span><span class=cF6>"RegistryDemo"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) TSFile(</span><span class=cF6>"::/Demo/RegistryDemo"</span><span class=cF0>);
|
|
<a name="l1767"></a> TS(</span><span class=cF6>"Define"</span><span class=cF0>); DoDefine;
|
|
<a name="l1768"></a> TS(</span><span class=cF6>"GlobalVars"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/GlobalVars"</span><span class=cF0>);
|
|
<a name="l1769"></a> TS(</span><span class=cF6>"FileRead"</span><span class=cF0>); DoFileRead;
|
|
<a name="l1770"></a> TS(</span><span class=cF6>"ParenWarn"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/ParenWarn"</span><span class=cF0>);
|
|
<a name="l1771"></a> TS(</span><span class=cF6>"DefineStr"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/DolDoc/DefineStr"</span><span class=cF0>);
|
|
<a name="l1772"></a> TS(</span><span class=cF6>"Data"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/DolDoc/Data"</span><span class=cF0>);
|
|
<a name="l1773"></a> TS(</span><span class=cF6>"CallBack"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/DolDoc/CallBack"</span><span class=cF0>);
|
|
<a name="l1774"></a> TS(</span><span class=cF6>"ClassMeta"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/ClassMeta"</span><span class=cF0>);
|
|
<a name="l1775"></a> TS(</span><span class=cF6>"NumBible"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>'~'</span><span class=cF7>)</span><span class=cF0>) DoNumBible;
|
|
<a name="l1776"></a> TS(</span><span class=cF6>"Form"</span><span class=cF0>); DoForm;
|
|
<a name="l1777"></a> TS(</span><span class=cF6>"ClickCallBack"</span><span class=cF0>); DoClickCallBack;
|
|
<a name="l1778"></a> TS(</span><span class=cF6>"MenuBttn"</span><span class=cF0>); DoMenuBttn;
|
|
<a name="l1779"></a> TS(</span><span class=cF6>"MenuSprite"</span><span class=cF0>); DoMenuSprite;
|
|
<a name="l1780"></a> TS(</span><span class=cF6>"SuggestedSpelling"</span><span class=cF0>);DoSuggestedSpelling;
|
|
<a name="l1781"></a> TS(</span><span class=cF6>"WordSearch"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/WordSearch"</span><span class=cF0>);
|
|
<a name="l1782"></a> TS(</span><span class=cF6>"StackGrow"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/StackGrow"</span><span class=cF0>);
|
|
<a name="l1783"></a> TS(</span><span class=cF6>"MemDemo"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/MemDemo"</span><span class=cF0>);
|
|
<a name="l1784"></a> TS(</span><span class=cF6>"WaterFowl"</span><span class=cF0>); TSFileChar(</span><span class=cF6>"::/Demo/Sound/WaterFowl"</span><span class=cF0>);
|
|
<a name="l1785"></a> TS(</span><span class=cF6>"AsmHelloWorld"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Asm/AsmHelloWorld"</span><span class=cF0>);
|
|
<a name="l1786"></a> TS(</span><span class=cF6>"AsmAndC1"</span><span class=cF0>); DoAsmAndC1;
|
|
<a name="l1787"></a> TS(</span><span class=cF6>"AsmAndC2"</span><span class=cF0>); DoAsmAndC2;
|
|
<a name="l1788"></a> TS(</span><span class=cF6>"AsmAndC3"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Asm/AsmAndC3"</span><span class=cF0>);
|
|
<a name="l1789"></a> TS(</span><span class=cF6>"MulByHand"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Asm/MulByHand"</span><span class=cF0>);
|
|
<a name="l1790"></a> TS(</span><span class=cF6>"DivByHand"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Asm/DivByHand"</span><span class=cF0>);
|
|
<a name="l1791"></a> TS(</span><span class=cF6>"BuzzFizz"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Asm/BuzzFizz"</span><span class=cF0>);
|
|
<a name="l1792"></a> TS(</span><span class=cF6>"PutDec"</span><span class=cF0>); TSFile(</span><span class=cF6>"::/Demo/Asm/PutDec"</span><span class=cF0>);
|
|
<a name="l1793"></a>
|
|
<a name="l1794"></a> task = </span><span class=cF5>User</span><span class=cF0>;
|
|
<a name="l1795"></a> TS(</span><span class=cF6>"Prof"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"DocMax;Prof;HeapLog(ON);\n"</span><span class=cF0>);
|
|
<a name="l1796"></a> TS(</span><span class=cF6>"PCIRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"PCIRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1797"></a> TS(</span><span class=cF6>"MemBIOSRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"MemBIOSRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1798"></a> TS(</span><span class=cF6>"MemPageRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"MemPageRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1799"></a> TS(</span><span class=cF6>"MemRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"MemRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1800"></a> TS(</span><span class=cF6>"ProfRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"ProfRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1801"></a> TS(</span><span class=cF6>"HeapLogSizeRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"HeapLogSizeRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1802"></a> TS(</span><span class=cF6>"CPURep"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFB>mp_count</span><span class=cF0> > </span><span class=cFE>1</span><span class=cF0>) </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"CPURep(TRUE);Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1803"></a> TS(</span><span class=cF6>"DiskCheck"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"DiskCheck;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1804"></a> TS(</span><span class=cF6>"DriveView"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>)
|
|
<a name="l1805"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1806"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"DriveView;\n"</span><span class=cF0>);
|
|
<a name="l1807"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>750</span><span class=cF0>);
|
|
<a name="l1808"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1809"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1810"></a> TS(</span><span class=cF6>"DiskView"</span><span class=cF0>); </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>DriveIsWritable</span><span class=cF7>(</span><span class=cF6>':'</span><span class=cF7>)</span><span class=cF0>)
|
|
<a name="l1811"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l1812"></a> </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"DiskView;\n"</span><span class=cF0>);
|
|
<a name="l1813"></a> </span><span class=cF5>Sleep</span><span class=cF0>(</span><span class=cFE>250</span><span class=cF0>);
|
|
<a name="l1814"></a> </span><span class=cF5>MessagePostWait</span><span class=cF0>(task, </span><span class=cF3>MESSAGE_KEY_DOWN_UP</span><span class=cF0>, </span><span class=cF3>CH_SPACE</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>);
|
|
<a name="l1815"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l1816"></a> TS(</span><span class=cF6>"SATARep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"SATARep;\nSleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1817"></a> TS(</span><span class=cF6>"HashDepthRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"HashDepthRep(sys_task->hash_table);Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1818"></a> TS(</span><span class=cF6>"HashTableDump"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"HashTableDump;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1819"></a> TS(</span><span class=cF6>"DriveRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"DriveRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1820"></a> TS(</span><span class=cF6>"TaskRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"TaskRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1821"></a> TS(</span><span class=cF6>"VideoRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"VideoRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1822"></a> TS(</span><span class=cF6>"SysRep"</span><span class=cF0>); </span><span class=cF5>XTalkWait</span><span class=cF0>(task, </span><span class=cF6>"SysRep;Sleep(750);\n"</span><span class=cF0>);
|
|
<a name="l1823"></a> </span><span class=cF5>DeathWait</span><span class=cF0>(&task, </span><span class=cF3>TRUE</span><span class=cF0>);
|
|
<a name="l1824"></a>
|
|
<a name="l1825"></a> </span><span class=cF5>ProgressBarsReset</span><span class=cF0>(</span><span class=cF6>"ZealOS/OSTestSuite"</span><span class=cF0>);
|
|
<a name="l1826"></a> </span><span class=cF6>"Elapsed Time:%5.3f\n"</span><span class=cF0>, </span><span class=cF5>tS</span><span class=cF0> - ts_t0;
|
|
<a name="l1827"></a>}
|
|
<a name="l1828"></a>
|
|
<a name="l1829"></a>OSTestSuite;
|
|
</span></pre></body>
|
|
</html>
|