I really dunno how to implement it to AS.
void InitLookup() // generation
{
uint8 malloc = SIZE_LIN * SIZE_LIN * MAX_ARR * sizeof(char);
Lookup=malloc;
for (int y = 0; y < SIZE_LIN; y++) for (int x = 0; x < SIZE_LIN; x++)
Trace(MAX_TRACE, MAX_TRACE, x, y);
}
Anybody have any ideas?