1.) I don't know a macro for this, but you can just use memcpy. Create a new struct at runtime and the copy the whole stuff over with memcpy.

2.) The % operator is the so called modulo operator. It returns the rest of a division by the second operand. " if((total_frames%80) == X)" will become true whenever the rest of the division of total_frames by 80 is exactly x. In other words, the condition becomes true every Xth frame.

3.) I guess it's the second one. But I am not sure how new works. Is this some new macro? However, if you allocate memory it is always allocated from RAM, not from Nexus. Exception: if you use sys_nxalloc.


Always learn from history, to be sure you make the same mistakes again...