A quick glympse at your code shows that you are using dynamical array but have no mechanizm for modifying array size. You can't save any data into array if it doesn't have any elemets as newly created dynamica arrays have.
A quick glympse at your code shows that you are using dynamical array but have no mechanizm for modifying array size. You can't save any data into array if it doesn't have any elemets as newly created dynamica arrays have.
I am using SetLength(). See function TTileStyles.Add() or Delete():
http://code.google.com/p/nxpascal/so...leUnit.pas#164
You don't even need to have variable to track array size. Length() and High() ( = Length()-1 ) can be used to retrieve that information.
Oh, as you saw in other thread, i took an entirely different approach for tile blending. Making of this tool was cancelled for few other reasons aswell... to put it with simple words: it was complicated, and no clear purpose.
Bookmarks