Path: chuka.playstation.co.uk!news From: "Matt Verran" Newsgroups: scee.yaroze.freetalk.english Subject: Re: todays question "tpages" Date: Sat, 17 Mar 2001 11:09:40 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 40 Message-ID: <98vgk1$3ok1@www.netyaroze-europe.com> References: <98uj59$6f15@www.netyaroze-europe.com> NNTP-Posting-Host: host62-7-124-6.btinternet.com 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 I don't believe an individual 8bit sprite can be wider than 256 pixels, sorry. MattV Nigel Critten wrote in message news:98uj59$6f15@www.netyaroze-europe.com... > Got the map routines working last night, so I can now import a tUME map. > > So to the question, can the tile sheets be wider than 256. > > for (county =0; county < 13; county++) > { > for (countx = 0; countx < 19; countx++) > { > gscell[count].u = (countx * 16); > gscell[count].v = (county * 16); > gscell[count].cba = GetClut(tilestim.cx, tilestim.cy); > gscell[count].tpage = GetTPage(GsSprite4bit, 0, tilestim.px, > tilestim.py); > gscell[count].flag = 0; > count++; > } > } > > that how I grab the tiles at the moment and everything seems fine except > when the .u goes over 256, the tile sheet is 320 wide, when it reaches tile > 17 it wraps round to 0. 17*16 = 272 which is the first tile to go over the > 256 boundary, the next line down gets stranger... any ideas, i'll post the > source again if its going to help? > > Thanks > Nigel (the pain) > > > >