mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-30 17:26:31 +00:00
dbf8647d59
Added top & right borders to RawDr. Improved spacing in some debug and compiler reporting. Fixed RawPutChar and EdLite tab width. Fixed Ui missing '0x' prefix syntax highlighter bug. Added 32BitPaint demo.
236 lines
10 KiB
HTML
Executable file
236 lines
10 KiB
HTML
Executable file
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
|
|
<meta name="generator" content="ZealOS V0.08">
|
|
<style type="text/css">
|
|
body {background-color:#000000;}
|
|
.cB0{color:#ffffff;background-color:#34e2e2;}
|
|
.cE0{color:#ffffff;background-color:#fce94f;}
|
|
.cEA{color:#82bc49;background-color:#fce94f;}
|
|
.cF0{color:#ffffff;background-color:#000000;}
|
|
.cF1{color:#3465a4;background-color:#000000;}
|
|
.cF2{color:#4e9a06;background-color:#000000;}
|
|
.cF3{color:#06989a;background-color:#000000;}
|
|
.cF4{color:#a24444;background-color:#000000;}
|
|
.cF5{color:#75507b;background-color:#000000;}
|
|
.cF6{color:#ce982f;background-color:#000000;}
|
|
.cF7{color:#bcc0b9;background-color:#000000;}
|
|
.cF8{color:#555753;background-color:#000000;}
|
|
.cF9{color:#729fcf;background-color:#000000;}
|
|
.cFA{color:#82bc49;background-color:#000000;}
|
|
.cFB{color:#34e2e2;background-color:#000000;}
|
|
.cFC{color:#ac3535;background-color:#000000;}
|
|
.cFD{color:#ad7fa8;background-color:#000000;}
|
|
.cFE{color:#fce94f;background-color:#000000;}
|
|
.cFF{color:#000000;background-color:#000000;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre style="font-family:monospace;font-size:12pt">
|
|
<a name="l1"></a><span class=cF2>//Scroll Down</span><span class=cF0>
|
|
<a name="l2"></a></span><span class=cB0>
|
|
<a name="l3"></a>
|
|
<a name="l4"></a>
|
|
<a name="l5"></a>
|
|
<a name="l6"></a>
|
|
<a name="l7"></a>
|
|
<a name="l8"></a>
|
|
<a name="l9"></a>
|
|
<a name="l10"></a>
|
|
<a name="l11"></a>
|
|
<a name="l12"></a>
|
|
<a name="l13"></a>
|
|
<a name="l14"></a>
|
|
<a name="l15"></a>
|
|
<a name="l16"></a>
|
|
<a name="l17"></a>
|
|
<a name="l18"></a>
|
|
<a name="l19"></a>
|
|
<a name="l20"></a>
|
|
<a name="l21"></a>
|
|
<a name="l22"></a>
|
|
<a name="l23"></a>
|
|
<a name="l24"></a>
|
|
<a name="l25"></a>
|
|
<a name="l26"></a>
|
|
<a name="l27"></a>
|
|
<a name="l28"></a>
|
|
<a name="l29"></a>
|
|
<a name="l30"></a>
|
|
<a name="l31"></a>
|
|
<a name="l32"></a>
|
|
<a name="l33"></a></span><span class=cE0>
|
|
<a name="l34"></a>
|
|
<a name="l35"></a>
|
|
<a name="l36"></a>
|
|
<a name="l37"></a>
|
|
<a name="l38"></a>
|
|
<a name="l39"></a>
|
|
<a name="l40"></a>
|
|
<a name="l41"></a>
|
|
<a name="l42"></a>
|
|
<a name="l43"></a>
|
|
<a name="l44"></a>
|
|
<a name="l45"></a>
|
|
<a name="l46"></a>
|
|
<a name="l47"></a>
|
|
<a name="l48"></a>
|
|
<a name="l49"></a>
|
|
<a name="l50"></a>
|
|
<a name="l51"></a>
|
|
<a name="l52"></a>
|
|
<a name="l53"></a>
|
|
<a name="l54"></a>
|
|
<a name="l55"></a>
|
|
<a name="l56"></a>
|
|
<a name="l57"></a>
|
|
<a name="l58"></a>
|
|
<a name="l59"></a>
|
|
<a name="l60"></a></span><span class=cEA>
|
|
<a name="l61"></a><1>/* Graphics Not Rendered in HTML */</span><span class=cE0>
|
|
<a name="l62"></a></span><span class=cB0>
|
|
<a name="l63"></a>
|
|
<a name="l64"></a>
|
|
<a name="l65"></a>
|
|
<a name="l66"></a>
|
|
<a name="l67"></a>
|
|
<a name="l68"></a>
|
|
<a name="l69"></a>
|
|
<a name="l70"></a>
|
|
<a name="l71"></a>
|
|
<a name="l72"></a>
|
|
<a name="l73"></a>
|
|
<a name="l74"></a>
|
|
<a name="l75"></a>
|
|
<a name="l76"></a>
|
|
<a name="l77"></a>
|
|
<a name="l78"></a>
|
|
<a name="l79"></a>
|
|
<a name="l80"></a>
|
|
<a name="l81"></a>
|
|
<a name="l82"></a>
|
|
<a name="l83"></a>
|
|
<a name="l84"></a>
|
|
<a name="l85"></a>
|
|
<a name="l86"></a>
|
|
<a name="l87"></a>
|
|
<a name="l88"></a>
|
|
<a name="l89"></a>
|
|
<a name="l90"></a>
|
|
<a name="l91"></a>
|
|
<a name="l92"></a>
|
|
<a name="l93"></a></span><span class=cE0>
|
|
<a name="l94"></a>
|
|
<a name="l95"></a>
|
|
<a name="l96"></a>
|
|
<a name="l97"></a>
|
|
<a name="l98"></a>
|
|
<a name="l99"></a>
|
|
<a name="l100"></a>
|
|
<a name="l101"></a>
|
|
<a name="l102"></a>
|
|
<a name="l103"></a>
|
|
<a name="l104"></a>
|
|
<a name="l105"></a>
|
|
<a name="l106"></a>
|
|
<a name="l107"></a>
|
|
<a name="l108"></a>
|
|
<a name="l109"></a>
|
|
<a name="l110"></a>
|
|
<a name="l111"></a>
|
|
<a name="l112"></a>
|
|
<a name="l113"></a>
|
|
<a name="l114"></a>
|
|
<a name="l115"></a>
|
|
<a name="l116"></a>
|
|
<a name="l117"></a>
|
|
<a name="l118"></a>
|
|
<a name="l119"></a>
|
|
<a name="l120"></a></span><span class=cEA>
|
|
<a name="l121"></a><2>/* Graphics Not Rendered in HTML */</span><span class=cE0>
|
|
<a name="l122"></a>
|
|
<a name="l123"></a>
|
|
<a name="l124"></a>
|
|
<a name="l125"></a>
|
|
<a name="l126"></a>
|
|
<a name="l127"></a> </span><span class=cEA><3>/* Graphics Not Rendered in HTML */</span><span class=cE0>
|
|
<a name="l128"></a>
|
|
<a name="l129"></a>
|
|
<a name="l130"></a>
|
|
<a name="l131"></a> </span><span class=cEA><4>/* Graphics Not Rendered in HTML */</span><span class=cE0>
|
|
<a name="l132"></a>
|
|
<a name="l133"></a>
|
|
<a name="l134"></a>
|
|
<a name="l135"></a>
|
|
<a name="l136"></a>
|
|
<a name="l137"></a>
|
|
<a name="l138"></a>
|
|
<a name="l139"></a> </span><span class=cEA><5>/* Graphics Not Rendered in HTML */</span><span class=cE0>
|
|
<a name="l140"></a>
|
|
<a name="l141"></a>
|
|
<a name="l142"></a>
|
|
<a name="l143"></a>
|
|
<a name="l144"></a>
|
|
<a name="l145"></a>
|
|
<a name="l146"></a>
|
|
<a name="l147"></a>
|
|
<a name="l148"></a>
|
|
<a name="l149"></a>
|
|
<a name="l150"></a>
|
|
<a name="l151"></a>
|
|
<a name="l152"></a>
|
|
<a name="l153"></a>
|
|
<a name="l154"></a>
|
|
<a name="l155"></a>
|
|
<a name="l156"></a>
|
|
<a name="l157"></a>
|
|
<a name="l158"></a>
|
|
<a name="l159"></a>
|
|
<a name="l160"></a> </span><span class=cEA><6>/* Graphics Not Rendered in HTML */</span><span class=cE0>
|
|
<a name="l161"></a></span><span class=cF0>
|
|
<a name="l162"></a>
|
|
<a name="l163"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>DrawIt</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *task, </span><span class=cF9>CDC</span><span class=cF0> *dc)
|
|
<a name="l164"></a>{
|
|
<a name="l165"></a> </span><span class=cF1>U8</span><span class=cF0> *tmps;
|
|
<a name="l166"></a>
|
|
<a name="l167"></a> </span><span class=cF5>Sprite3</span><span class=cF0>(dc, </span><span class=cFE>100</span><span class=cF0>, task->pix_height - </span><span class=cFE>60</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFA><3></span><span class=cF0>);
|
|
<a name="l168"></a> </span><span class=cF5>Sprite3</span><span class=cF0>(dc, </span><span class=cFE>194</span><span class=cF0>, task->pix_height - </span><span class=cFE>140</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFA><4></span><span class=cF0>);
|
|
<a name="l169"></a> </span><span class=cF5>Sprite3</span><span class=cF0>(dc, </span><span class=cFE>400</span><span class=cF0>, task->pix_height - </span><span class=cFE>10</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFA><5></span><span class=cF0>);
|
|
<a name="l170"></a> </span><span class=cF5>Sprite3</span><span class=cF0>(dc, </span><span class=cFE>50</span><span class=cF0>, task->pix_height - </span><span class=cFE>160</span><span class=cF0>, </span><span class=cFE>0</span><span class=cF0>, </span><span class=cFA><6></span><span class=cF0>);
|
|
<a name="l171"></a> tmps = </span><span class=cF5>SpriteInterpolate</span><span class=cF0>(</span><span class=cF5>Tri</span><span class=cF7>(</span><span class=cF5>tS</span><span class=cF0>, </span><span class=cFE>2</span><span class=cF0>.</span><span class=cFE>0</span><span class=cF7>)</span><span class=cF0>, </span><span class=cFA><1></span><span class=cF0>, </span><span class=cFA><2></span><span class=cF0>);
|
|
<a name="l172"></a> </span><span class=cF5>Sprite3</span><span class=cF0>(dc, </span><span class=cFE>0</span><span class=cF0>, task->pix_height, </span><span class=cFE>0</span><span class=cF0>, tmps);
|
|
<a name="l173"></a> </span><span class=cF5>Free</span><span class=cF0>(tmps);
|
|
<a name="l174"></a>}
|
|
<a name="l175"></a>
|
|
<a name="l176"></a></span><span class=cF1>U0</span><span class=cF0> SongTask(</span><span class=cF9>I64</span><span class=cF0>)
|
|
<a name="l177"></a>{</span><span class=cF2>//Randomly generate (by God :-)</span><span class=cF0>
|
|
<a name="l178"></a> </span><span class=cF5>Fs</span><span class=cF0>->task_end_cb = &</span><span class=cF5>SoundTaskEndCB</span><span class=cF0>;
|
|
<a name="l179"></a> </span><span class=cF5>MusicSettingsReset</span><span class=cF0>;
|
|
<a name="l180"></a> </span><span class=cF1>while</span><span class=cF0> (</span><span class=cF3>TRUE</span><span class=cF0>)
|
|
<a name="l181"></a> </span><span class=cF7>{</span><span class=cF0>
|
|
<a name="l182"></a> </span><span class=cF5>Play</span><span class=cF0>(</span><span class=cF6>"4qG5eCGqE4A5FCeDF4qB"</span><span class=cF0>);
|
|
<a name="l183"></a> </span><span class=cF5>Play</span><span class=cF0>(</span><span class=cF6>"4G5eCGqE4A5FCeDF4qB"</span><span class=cF0>);
|
|
<a name="l184"></a> </span><span class=cF5>Play</span><span class=cF0>(</span><span class=cF6>"4B5DeF4G5etE4BAqBAetA5EDeE4G"</span><span class=cF0>);
|
|
<a name="l185"></a> </span><span class=cF5>Play</span><span class=cF0>(</span><span class=cF6>"4qB5DeF4G5etE4BAqBAetA5EDeE4G"</span><span class=cF0>);
|
|
<a name="l186"></a> </span><span class=cF7>}</span><span class=cF0>
|
|
<a name="l187"></a>}
|
|
<a name="l188"></a>
|
|
<a name="l189"></a></span><span class=cF1>U0</span><span class=cF0> Main()
|
|
<a name="l190"></a>{
|
|
<a name="l191"></a> </span><span class=cF5>SettingsPush</span><span class=cF0>; </span><span class=cF2>//See </span><a href="https://tomawezome.github.io/ZealOS/System/TaskSettings.CC.html#l3"><span class=cF4>SettingsPush</span></a><span class=cF0>
|
|
<a name="l192"></a> </span><span class=cF5>Fs</span><span class=cF0>->draw_it = &</span><span class=cF5>DrawIt</span><span class=cF0>;
|
|
<a name="l193"></a> </span><span class=cF5>Fs</span><span class=cF0>->song_task = </span><span class=cF5>Spawn</span><span class=cF0>(&SongTask, </span><span class=cF3>NULL</span><span class=cF0>, </span><span class=cF6>"Song"</span><span class=cF0>,, </span><span class=cF5>Fs</span><span class=cF0>);
|
|
<a name="l194"></a> </span><span class=cF5>AutoComplete</span><span class=cF0>;
|
|
<a name="l195"></a> </span><span class=cF5>WinBorder</span><span class=cF0>;
|
|
<a name="l196"></a> </span><span class=cF5>WinMax</span><span class=cF0>;
|
|
<a name="l197"></a> </span><span class=cF5>DocClear</span><span class=cF0>;
|
|
<a name="l198"></a> </span><span class=cF5>Fs</span><span class=cF0>->text_attr = </span><span class=cF3>YELLOW</span><span class=cF0> << </span><span class=cFE>4</span><span class=cF0> + </span><span class=cF3>BLACK</span><span class=cF0>;
|
|
<a name="l199"></a> </span><span class=cF6>"$BG,LTCYAN$%h31c"</span><span class=cF0>, </span><span class=cF6>'\n'</span><span class=cF0>;
|
|
<a name="l200"></a> </span><span class=cF5>View</span><span class=cF0>;
|
|
<a name="l201"></a> </span><span class=cF5>SettingsPop</span><span class=cF0>;
|
|
<a name="l202"></a>}
|
|
<a name="l203"></a>
|
|
<a name="l204"></a>Main;
|
|
</span></pre></body>
|
|
</html>
|