Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // fillout the map matrix with a '+' pattern
- for(int x=n/8;x<n*7/8;x++)
- {
- map[x][m/2]=1;
- }
- for(int y=m/8;y<m*7/8;y++)
- {
- map[n/2][y]=1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement