typo in plotmode property fixed
This commit is contained in:
parent
5296ffcb88
commit
b9c30d9e5d
@ -159,6 +159,8 @@ type
|
|||||||
procedure GetFlameBatchesProc(AMachine: TatVirtualMachine);
|
procedure GetFlameBatchesProc(AMachine: TatVirtualMachine);
|
||||||
procedure GetFlameFinalxformEnabledProc(AMachine: TatVirtualMachine);
|
procedure GetFlameFinalxformEnabledProc(AMachine: TatVirtualMachine);
|
||||||
procedure SetFlameFinalxformEnabledProc(AMachine: TatVirtualMachine);
|
procedure SetFlameFinalxformEnabledProc(AMachine: TatVirtualMachine);
|
||||||
|
procedure GetFlameSoloXformProc(AMachine: TatVirtualMachine);
|
||||||
|
procedure SetFlameSoloXformProc(AMachine: TatVirtualMachine);
|
||||||
procedure GetFlameAngleProc(AMachine: TatVirtualMachine);
|
procedure GetFlameAngleProc(AMachine: TatVirtualMachine);
|
||||||
procedure SetFlameAngleProc(AMachine: TatVirtualMachine);
|
procedure SetFlameAngleProc(AMachine: TatVirtualMachine);
|
||||||
|
|
||||||
@ -2392,6 +2394,20 @@ begin
|
|||||||
cp.finalXformEnabled := (GetInputArgAsInteger(0) <> 0);
|
cp.finalXformEnabled := (GetInputArgAsInteger(0) <> 0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TScriptEditor.GetFlameSoloXformProc(AMachine: TatVirtualMachine);
|
||||||
|
begin
|
||||||
|
with AMachine do
|
||||||
|
ReturnOutPutArg(cp.soloXform);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TScriptEditor.SetFlameSoloXformProc(AMachine: TatVirtualMachine);
|
||||||
|
begin
|
||||||
|
with AMachine do
|
||||||
|
cp.soloXform := GetInputArgAsInteger(0);
|
||||||
|
if (cp.soloXform < 0) or (cp.soloXform >= NumTransforms) then
|
||||||
|
cp.soloXform := -1;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TScriptEditor.GetFlameWidthProc(AMachine: TatVirtualMachine);
|
procedure TScriptEditor.GetFlameWidthProc(AMachine: TatVirtualMachine);
|
||||||
begin
|
begin
|
||||||
with AMachine do
|
with AMachine do
|
||||||
@ -3206,7 +3222,7 @@ begin
|
|||||||
DefineProp('Batches', tkInteger, GetFlameBatchesProc, SetFlameBatchesProc);
|
DefineProp('Batches', tkInteger, GetFlameBatchesProc, SetFlameBatchesProc);
|
||||||
DefineProp('FinalXformEnabled', tkInteger, GetFlameFinalxformEnabledProc, SetFlameFinalxformEnabledProc);
|
DefineProp('FinalXformEnabled', tkInteger, GetFlameFinalxformEnabledProc, SetFlameFinalxformEnabledProc);
|
||||||
DefineProp('Angle', tkFloat, GetFlameAngleProc, SetFlameAngleProc);
|
DefineProp('Angle', tkFloat, GetFlameAngleProc, SetFlameAngleProc);
|
||||||
|
DefineProp('SoloXform', tkInteger, GetFlameSoloXformProc, SetFlameSoloXformProc);
|
||||||
end;
|
end;
|
||||||
Scripter.AddObject('Flame', Flame);
|
Scripter.AddObject('Flame', Flame);
|
||||||
|
|
||||||
@ -3243,7 +3259,7 @@ begin
|
|||||||
DefineProp('Variation', tkFloat, GetTransformVarProc, SetTransformVarProc, nil, false, 1);
|
DefineProp('Variation', tkFloat, GetTransformVarProc, SetTransformVarProc, nil, false, 1);
|
||||||
DefineProp('Variable', tkFloat, GetTransformVariProc, SetTransformVariProc, nil, false, 1);
|
DefineProp('Variable', tkFloat, GetTransformVariProc, SetTransformVariProc, nil, false, 1);
|
||||||
DefineProp('Chaos', tkFloat, GetTransformChaosProc, SetTransformChaosProc, nil, false, 1);
|
DefineProp('Chaos', tkFloat, GetTransformChaosProc, SetTransformChaosProc, nil, false, 1);
|
||||||
DefineProp('PlotMode', tkInteger, SetTransformPlotModeProc, SetTransformPlotModeProc);
|
DefineProp('PlotMode', tkInteger, GetTransformPlotModeProc, SetTransformPlotModeProc);
|
||||||
end;
|
end;
|
||||||
Scripter.AddObject('Transform', Transform);
|
Scripter.AddObject('Transform', Transform);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user