struct sBig /* This is my big 1000 x 1000 array.
{
int medium1 [10][10]; /* There are 100 of these middle arrays inside
int medium2 [10][10]; /* the one big one.
};
struct sMedium
{
int small1 [10][10]; /* There are 10 of these small arrays inside
int small2 [10][10]; /* each of the middle ones
}
int sBig [10][10]; /* trying to connect everything with values
for (x=0; x<10; x++)
for (y=0; y<10; y++)
{
do something /* don't know how to connect
};
int sMedium [100][100] /* trying to connect everything with values
for (x=0; x<100; x++)
for (y=0; y<100; y++)
{
do something /* don't know how to connect
};
It compiles.I want the small 10 x 10 arrays inside middle 100 x 100 arrays inside one big 10 x 10 array with a cart coord system, so if a player was in , for example, small2 > medium3 he would be located at ? < x < ?,
? < y < ?. Does this make any sense?
Thanks.

New Topic/Question
Reply



MultiQuote




|