1
0

Implement GTRI

This commit is contained in:
otya128
2016-12-25 12:44:41 +09:00
parent d5e2968357
commit 1ebbd2a024
2 changed files with 147 additions and 0 deletions

View File

@@ -684,6 +684,14 @@ class BuiltinFunction
{
GCOPY(p, p.graphic.useGRP, x, y, x2, y2, x3, y3, cpmode);
}
static void GTRI(PetitComputer p, int x1, int y1, int x2, int y2, int x3, int y3, int color)
{
p.graphic.gtri(x1, y1, x2, y2, x3, y3, color);
}
static void GTRI(PetitComputer p, int x1, int y1, int x2, int y2, int x3, int y3)
{
p.graphic.gtri(x1, y1, x2, y2, x3, y3, p.graphic.gcolor);
}
static void BGMPLAY(PetitComputer p, Value numberOrMML)
{
if (numberOrMML.isNumber)