Something else I noticed.
If you look at the
Function CreateParticleType% ()
function
It calls all of the particle setting functions with just
the ID which means that all of the values are being
set to the default settings in the functions themselves
Like the Particle size function
ParticleType_SetSize (id%, sze#=1, szv#=0, szc#=0, szm#=10)
sze#=1 szm#=10
in the CreateParticleType function this function is
called with
ParticleType_SetSize id
which allows the function to set the rest of the values
with the defaults.
If you set those values to the defaults instead of 0 when
writing the saved files then it won't mess up the default
settings for the particle.
If you look at the
Function CreateParticleType% ()
function
It calls all of the particle setting functions with just
the ID which means that all of the values are being
set to the default settings in the functions themselves
Like the Particle size function
ParticleType_SetSize (id%, sze#=1, szv#=0, szc#=0, szm#=10)
sze#=1 szm#=10
in the CreateParticleType function this function is
called with
ParticleType_SetSize id
which allows the function to set the rest of the values
with the defaults.
If you set those values to the defaults instead of 0 when
writing the saved files then it won't mess up the default
settings for the particle.