Files
TempleOS-Rijn/Demo/Graphics/SpriteText.CPP
T
2018-09-08 21:46:09 +02:00

61 lines
974 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$SP,"",BI=1$
U0 SpriteText(U8 *elems)
{
CSprite *tempg=elems-offset(CSprite.start);
U8 *st;
while (tempg->type) {
//Study this routine $LK,"SpriteElem2OneLineSummary",A="MN:SpriteElem2OneLineSummary"$().
st=SpriteElem2OneLineSummary(tempg);
"%s\n",st;
Free(st);
tempg(U8 *)+=SpriteElemSize(tempg);
}
}
"$$PURPLE$$**** LINE SUMMARIES ****$$FG$$\n";
SpriteText($IB,"<1>",BI=1$);
"\n\n$$PURPLE$$**** ENTIRE SPRITE CODE ****$$FG$$\n";
Sprite2Code(,$IB,"<1>",BI=1$);
³ ³ÿÿÿúÿÿÿOð! -


)
5 5
5/
ÿÿÿÿ!
%
'
!'9
Ýÿÿÿ#Ûÿÿÿ1
ãÿÿÿ
Ýÿÿÿ ë
?ömÛ¾}ûüyžçIú$I’$I’$ÿó4ÿûæ}úö}Û¾íÛ¶mßmÛmÛmûmÛmÛMÛmÛmÛmÓmûm›¶oß·}{­×ÙíÖµÛ� I$I‚$I’,H’ ’$H’$A’$I$I’$I’ I’$ ‚A� ]Û¶mÛmÛmÛ·mÛmÛoÛ¶íÛ¶mßmÛömÛ}Û¶mÛömo[·mÛ6oÛnÛmÛmÛ