Path: chuka.playstation.co.uk!news From: "Derek da Silva" Newsgroups: scee.yaroze.beginners Subject: map-tastic tile question Date: Thu, 17 Jun 1999 12:19:42 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 42 Message-ID: <7kalnc$4fj2@chuka.playstation.co.uk> NNTP-Posting-Host: p8Fs10a01.client.global.net.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Hi I'm looking to make some optimizations to a simple tile based game I'm working on - specifically the method used to draw the visible part of the map. At the moment I just run through my array of tiles and check each one to see if it should be drawn to the screen... cell_struct cell[map.numcells]; // scroll map by changing map.scrollx and map.scrolly void Draw_Map_Graphics(void) { u_long register i; for(i=0; i