KelvinX
Group: Members Joined: 19 Mar 2011 Posts: 16 Gold: 8.00
Status: Warn:  Reputation: 0
|
#4 Posted: 22 Mar 2011 05:07 pm Post subject: |
|
|
looks kinda random so I'm guessing it's some kind of initialization?
you can do this for better visualization I guess
int location[6][17] = {
0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,
0,1,0,1,1,1,1,1,1,0,1,0,1,1,1,1,0,
0,0,0,0,0,1,0,0,1,0,0,0,1,2,0,0,0,
1,0,1,1,0,0,0,1,0,0,1,0,1,1,1,1,1,
1,0,0,0,1,1,1,1,1,1,1,0,0,1,0,0,0,
0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,1,0
};
location[playerRow][playerCol] = 3;
Last edited by KelvinX on 22 Mar 2011 05:09 pm; edited 2 times in total |
|