Quote:


Dividing the array size in bytes by the element size in bytes should result the array's length in elements, if I'm not mistaken.





Good point, hadn't thought of that idea. But I think arrays are indeed handled as pointers. I don't see a good solution for this at the moment, you'll just have to add NULL in every array I guess, or somehow store the index of each array at game start.


Click and join the 3dgs irc community!
Room: #3dgs