QuotemoveList.X = moveList[i + 1].X;
This might be a little irrelevant but i had to ask. I knew that you could use an array as a parameter in a function but you would need to include it in the said function's declaration. Here you are using it in a different manner. Can you actually use an array as a variable without accessing it's element? How exactly? Do you only access it's address similar to a pointer?