0 Members and 1 Guest are viewing this topic.
Is there a limit to array size?When I try to store large map data in an array, it crashes the emulator when it is too big
Also it doesn't recognize bool as a type
int map[252][40] causes it to crash, but that just may be from something in my code.
int map[36][4][7][10]
I guess I'll see if int map[10080] works.
What are accessor macros?
#define WIDTH 100 #define GET(Tab, X, Y) ((Tab)[(X) * WIDTH + (Y))....int tile = GET(my_tab, 69, 42);