@@ -1216,8 +1216,7 @@ public class LExecutor{
|
||||
this.a = a;
|
||||
}
|
||||
|
||||
public PackColorI(){
|
||||
}
|
||||
public PackColorI(){}
|
||||
|
||||
@Override
|
||||
public void run(LExecutor exec){
|
||||
@@ -1225,6 +1224,29 @@ public class LExecutor{
|
||||
}
|
||||
}
|
||||
|
||||
public static class UnpackColorI implements LInstruction{
|
||||
public LVar r, g, b, a, value;
|
||||
|
||||
public UnpackColorI(LVar r, LVar g, LVar b, LVar a, LVar value){
|
||||
this.r = r;
|
||||
this.g = g;
|
||||
this.b = b;
|
||||
this.a = a;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public UnpackColorI(){}
|
||||
|
||||
@Override
|
||||
public void run(LExecutor exec){
|
||||
var color = Tmp.c1.fromDouble(value.num());
|
||||
r.setnum(color.r);
|
||||
g.setnum(color.g);
|
||||
b.setnum(color.b);
|
||||
a.setnum(color.a);
|
||||
}
|
||||
}
|
||||
|
||||
public static class CutsceneI implements LInstruction{
|
||||
public CutsceneAction action = CutsceneAction.stop;
|
||||
public LVar p1, p2, p3, p4;
|
||||
|
||||
Reference in New Issue
Block a user