Implement GCOLOR()

This commit is contained in:
otya128 committed 2016-12-13 23:33:54 +09:00
1 parent 5cee75af6f
commit 6c941d49bc
1 file changed
+4
+4
View File
@@ -465,6 +465,10 @@ class BuiltinFunction
{
p.graphic.gcolor = color;
}
static int GCOLOR(PetitComputer p)
{
return p.graphic.gcolor;
}
static void GPRIO(PetitComputer p, int z)
{
p.graphic.gprio = z;