1
0

implement GCIRCLE X,Y,R,S,E,C

This commit is contained in:
otya128
2016-12-03 20:13:39 +09:00
parent 326ca3a25b
commit 3eaee11c98
2 changed files with 54 additions and 6 deletions

View File

@@ -326,7 +326,7 @@ class BuiltinFunction
static void GCIRCLE(PetitComputer p, int x, int y, int r, DefaultValue!(int, false) color)
{
color.setDefaultValue(p.graphic.gcolor);
p.graphic.gcircle(p.graphic.useGRP, x, y, r, 0, 360, 0, cast(int)color);
p.graphic.gcircle(p.graphic.useGRP, x, y, r, cast(int)color);
}
static void GCIRCLE(PetitComputer p, int x, int y, int r, int sr, int er, DefaultValue!(int, false) flag, DefaultValue!(int, false) color)
{